public interface GraphQuery extends ReadQuery<GraphQueryResult>
A SPARQL graph (describe or construct) query.
NO_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
GraphQuery |
dataset(Dataset theDataset)
Specify the dataset this query will be executed against.
|
GraphQuery |
limit(long theLimit)
Set the maximum number of results that can be returned by this query.
|
GraphQuery |
offset(long theOffset)
Set the offset of the query results.
|
GraphQuery |
parameter(String theName,
boolean theValue)
Set the parameter to the xsd:boolean value
|
GraphQuery |
parameter(String theName,
byte theValue)
Set the parameter to the xsd:byte value
|
GraphQuery |
parameter(String theName,
Date theValue)
Set the parameter to the xsd:date value
|
GraphQuery |
parameter(String theName,
double theValue)
Set the parameter to the xsd:double value
|
GraphQuery |
parameter(String theName,
float theValue)
Set the parameter to the xsd:float value
|
GraphQuery |
parameter(String theName,
GregorianCalendar theValue)
Set the parameter to the xsd:dateTime value
|
GraphQuery |
parameter(String theName,
int theValue)
Set the parameter to the xsd:int value
|
GraphQuery |
parameter(String theName,
long theValue)
Set the parameter to the xsd:long value
|
GraphQuery |
parameter(String theName,
Object theObj)
Set the parameter to the specified value.
|
GraphQuery |
parameter(String theName,
short theValue)
Set the parameter to the xsd:short value
|
GraphQuery |
parameter(String theName,
String theValue)
Set the parameter to the xsd:string value
|
GraphQuery |
parameter(String theName,
URI theURI)
Set the parameter to the xsd:URI value
|
GraphQuery |
parameter(String theName,
Value theValue)
Set the value of the parameter
|
GraphQuery |
reasoning(boolean theReasoningType)
{Specify whether you would like the query to be executed with reasoning.}
|
GraphQuery |
timeout(long theTimeout)
Set the timeout for query execution.
|
baseURI, dataset, execute, explain, isReasoningEnabled, parameters, queryString, timeout, toStringGraphQuery dataset(Dataset theDataset)
Datasets.NO_DATASET remove the dataset.dataset in interface Query<GraphQueryResult>dataset in interface ReadQuery<GraphQueryResult>theDataset - the active graph datasetDatasetsGraphQuery limit(long theLimit)
ReadQuery.NO_LIMIT
will not remove the limit if it is specified in the query, but you
can use it to remove a limit that has already been set if there was not a
limit specified in the query originally.limit in interface ReadQuery<GraphQueryResult>theLimit - the new limitGraphQuery offset(long theOffset)
ReadQuery.limit() this will override
an offset in the query, and you can use ReadQuery.NO_OFFSET to remove an offset
specified on the query, but not in the query string.offset in interface ReadQuery<GraphQueryResult>theOffset - the offsetGraphQuery timeout(long theTimeout)
timeout in interface Query<GraphQueryResult>theTimeout - the timeout in ms. A zero or negative value will be
interpreted as no timeoutGraphQuery reasoning(boolean theReasoningType)
reasoning flag associated with the connection.}reasoning in interface Query<GraphQueryResult>theReasoningType - the reasoning flagGraphQuery parameter(String theName, Value theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, int theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, long theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, float theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, double theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, short theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, boolean theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, byte theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, String theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, Date theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, GregorianCalendar theValue)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheValue - the value of the parameterGraphQuery parameter(String theName, URI theURI)
parameter in interface Query<GraphQueryResult>theName - the parameter to settheURI - the value of the parameterGraphQuery parameter(String theName, Object theObj)
parameter in interface Query<GraphQueryResult>theName - the parameter nametheObj - the param valueCopyright © 2010-2016 Stardog Union. All Rights Reserved.