| Package | Description |
|---|---|
| org.eclipse.rdf4j.query |
Interfaces and classes for handling queries and query results.
|
| org.eclipse.rdf4j.query.dawg |
Functionality to convert tuple query results to and from the
Data Access Working Group Test Result Set RDF Vocabulary
|
| org.eclipse.rdf4j.query.impl |
| Modifier and Type | Method and Description |
|---|---|
static TupleQueryResult |
QueryResults.distinctResults(TupleQueryResult queryResult)
Returns a
TupleQueryResult that filters out any duplicate solutions from the supplied queryResult. |
TupleQueryResult |
TupleQuery.evaluate() |
static TupleQueryResult |
QueryResults.limitResults(TupleQueryResult queryResult,
long limit,
long offset)
Returns a
TupleQueryResult that returns at most the specified maximum number of solutions, starting at
the supplied offset. |
| Modifier and Type | Method and Description |
|---|---|
static TupleQueryResult |
QueryResults.distinctResults(TupleQueryResult queryResult)
Returns a
TupleQueryResult that filters out any duplicate solutions from the supplied queryResult. |
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. |
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.
|
static boolean |
QueryResults.isSubset(TupleQueryResult tqr1,
TupleQueryResult tqr2) |
static TupleQueryResult |
QueryResults.limitResults(TupleQueryResult queryResult,
long limit,
long offset)
Returns a
TupleQueryResult that returns at most the specified maximum number of solutions, starting at
the supplied offset. |
static void |
QueryResults.report(TupleQueryResult tqr,
QueryResultHandler handler)
Reports a tuple query result to a
TupleQueryResultHandler. |
static BindingSet |
QueryResults.singleResult(TupleQueryResult result)
Returns a single element from the query result.The QueryResult is automatically closed by this method.
|
| Modifier and Type | Method and Description |
|---|---|
static TupleQueryResult |
DAWGTestResultSetUtil.toTupleQueryResult(Iterable<? extends org.eclipse.rdf4j.model.Statement> dawgGraph) |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.rdf4j.model.Model |
DAWGTestResultSetUtil.toGraph(TupleQueryResult tqr) |
| Modifier and Type | Class and Description |
|---|---|
class |
IteratingTupleQueryResult
An iterating implementation of the
TupleQueryResult interface. |
class |
MutableTupleQueryResult
An implementation of the
TupleQueryResult interface that stores the complete query result in memory. |
class |
TupleQueryResultImpl
Deprecated.
since 2.0. Use
IteratingTupleQueryResult instead. |
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResult |
TupleQueryResultBuilder.getQueryResult() |
| Constructor and Description |
|---|
MutableTupleQueryResult(TupleQueryResult tqr) |
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.