case class SparqlResponse(request: SparqlRequest, success: Boolean = true, status: StatusCode = StatusCodes.OK, result: List[SparqlResult] = Nil, error: Option[SparqlClientError] = None) extends ClientHttpResponse with SparqlClientProtocol with Product with Serializable
Represents a response from the triple store for a Sparql request.
- request
the underlying request object is returned with the response
- success
true if the sparql statement execution succeeded
- status
the HTTP status of the result
- result
results
- error
optional error message, if available
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SparqlResponse
- Serializable
- Serializable
- Product
- Equals
- SparqlClientProtocol
- ClientHttpResponse
- Response
- ClientAPIProtocol
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
SparqlResponse(request: SparqlRequest, success: Boolean = true, status: StatusCode = StatusCodes.OK, result: List[SparqlResult] = Nil, error: Option[SparqlClientError] = None)
- request
the underlying request object is returned with the response
- success
true if the sparql statement execution succeeded
- status
the HTTP status of the result
- result
results
- error
optional error message, if available
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val error: Option[SparqlClientError]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val request: SparqlRequest
- val result: List[SparqlResult]
- val status: StatusCode
-
val
success: Boolean
Indicates if the request has been successful
Indicates if the request has been successful
- Definition Classes
- SparqlResponse → ClientHttpResponse
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )