static <T> List<T> |
QueryResults.asList(QueryResult<T> queryResult) |
Get a List containing all elements obtained from the specified QueryResult.
|
static org.eclipse.rdf4j.model.Model |
QueryResults.asModel(org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement> iteration) |
Get a Model containing all elements obtained from the specified query result.
|
static org.eclipse.rdf4j.model.Model |
QueryResults.asModel(org.eclipse.rdf4j.common.iteration.CloseableIteration<? extends org.eclipse.rdf4j.model.Statement> iteration,
org.eclipse.rdf4j.model.ModelFactory modelFactory) |
Get a Model containing all elements obtained from the specified query result.
|
static <T> Set<T> |
QueryResults.asSet(QueryResult<T> queryResult) |
Get a Set containing all elements obtained from the specified QueryResult.
|
static boolean |
QueryResults.equals(GraphQueryResult result1,
GraphQueryResult result2) |
Compares two graph query results and returns true if they are equal.
|
static boolean |
QueryResults.equals(TupleQueryResult tqr1,
TupleQueryResult tqr2) |
Compares two tuple query results and returns true if they are equal.Tuple query results are equal if they
contain the same set of BindingSets and have the same headers.
|
boolean |
BooleanQuery.evaluate() |
|
GraphQueryResult |
GraphQuery.evaluate() |
|
void |
GraphQuery.evaluate(RDFHandler handler) |
|
TupleQueryResult |
TupleQuery.evaluate() |
|
void |
TupleQuery.evaluate(TupleQueryResultHandler handler) |
|
static List<org.eclipse.rdf4j.model.Value> |
QueryResults.getAllValues(TupleQueryResult result,
String var) |
Returns a list of values of a particular variable out of the QueryResult.
|
List<String> |
TupleQueryResult.getBindingNames() |
Gets the names of the bindings, in order of projection.
|
Map<String,String> |
GraphQueryResult.getNamespaces() |
Retrieves relevant namespaces from the query result.
|
boolean |
QueryResult.hasNext() |
Returns true if the query result has more elements.
|
static boolean |
QueryResults.isSubset(TupleQueryResult tqr1,
TupleQueryResult tqr2) |
|
T |
QueryResult.next() |
Returns the next element in the query result.
|
static void |
QueryResults.report(GraphQueryResult graphQueryResult,
RDFHandler rdfHandler) |
|
static void |
QueryResults.report(TupleQueryResult tqr,
QueryResultHandler handler) |
|
static org.eclipse.rdf4j.model.Statement |
QueryResults.singleResult(GraphQueryResult result) |
Returns a single element from the query result.The QueryResult is automatically closed by this method.
|
static BindingSet |
QueryResults.singleResult(TupleQueryResult result) |
Returns a single element from the query result.The QueryResult is automatically closed by this method.
|