| Modifier and Type | Method and Description |
|---|---|
TupleQueryResult |
FedXApi.evaluate(String query) |
TupleQueryResult |
FedXApi.evaluate(String query,
List<Endpoint> endpoints) |
TupleQueryResult |
FedXApi.evaluateAt(String query,
List<String> endpointIds) |
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResult |
FedXTupleQuery.evaluate() |
| Modifier and Type | Method and Description |
|---|---|
protected TupleQueryResult |
SPARQLProtocolSession.getBackgroundTupleQueryResult(org.apache.http.client.methods.HttpUriRequest method)
Parse the response in a background thread.
|
TupleQueryResult |
RDF4JProtocolSession.getContextIDs() |
TupleQueryResult |
RDF4JProtocolSession.getNamespaces() |
TupleQueryResult |
RDF4JProtocolSession.getRepositoryList() |
TupleQueryResult |
BackgroundResultExecutor.parse(TupleQueryResultParser parser,
InputStream in) |
TupleQueryResult |
SPARQLProtocolSession.sendTupleQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
TupleQueryResult |
SPARQLProtocolSession.sendTupleQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
Binding... bindings) |
| 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<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 Statement> dawgGraph) |
| Modifier and Type | Method and Description |
|---|---|
static 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) |
| Modifier and Type | Method and Description |
|---|---|
protected TupleQueryResult |
SPARQLQueryTest.readExpectedTupleQueryResult()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SPARQLQueryTest.compareTupleQueryResults(TupleQueryResult queryResult,
TupleQueryResult expectedResult)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected TupleQueryResult |
AbstractQueryResultIOTest.createTupleMultipleBindingSets() |
protected TupleQueryResult |
AbstractQueryResultIOTest.createTupleNoBindingSets() |
protected TupleQueryResult |
AbstractQueryResultIOTest.createTupleSingleVarMultipleBindingSets() |
static TupleQueryResult |
QueryResultIO.parseTuple(InputStream in,
QueryResultFormat format)
Parses a query result document and returns it as a TupleQueryResult object.
|
static TupleQueryResult |
QueryResultIO.parseTupleBackground(InputStream in,
QueryResultFormat format)
Parses a query result document and returns it as a TupleQueryResult object, with parsing done on a separate
thread in the background.
IMPORTANT: As this method may spawn a new thread in the background, it is vitally important that the TupleQueryResult be closed consistently when it is no longer required, to prevent resource leaks. |
protected TupleQueryResult |
AbstractQueryResultIOTest.parseTupleInternal(TupleQueryResultFormat format,
InputStream in)
Override this to customise how the tuple parsing is performed, particularly to test background and other parsing
strategies.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractQueryResultIOTest.assertQueryResultsEqual(TupleQueryResult expected,
TupleQueryResult output) |
protected void |
AbstractQueryResultIOTest.doBooleanParseNoHandlerOnTupleResults(BooleanQueryResultFormat format,
TupleQueryResult tqr,
TupleQueryResultFormat matchingTupleFormat)
Tests that the parser returned for a BooleanQueryResultFormat is not able to parse a TupleQueryResultFormat using
the deprecated
BooleanQueryResultParser.parse(java.io.InputStream) method, and that it does indeed
through an exception of type QueryResultParseException. |
protected void |
AbstractQueryResultIOTest.doTupleJSONPCallback(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected)
Test specifically for JSONP callback support.
|
protected void |
AbstractQueryResultIOTest.doTupleLinks(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links) |
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheet(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheetAndNamespaces(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl,
Map<String,String> namespaces) |
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheetAndNamespacesQName(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl,
Map<String,String> namespaces)
Test specifically for QName support.
|
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheetMultipleEndHeaders(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheetNoStarts(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doTupleMissingStartQueryResult(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doTupleNoHandler(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected)
Tests that parsing a tuple results set without specifying a
TupleQueryResultHandler does not throw any
exceptions. |
protected void |
AbstractQueryResultIOTest.doTupleNoLinks(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected) |
protected void |
AbstractQueryResultIOTest.doTupleStylesheet(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
String stylesheetUrl) |
static void |
QueryResultIO.writeTuple(TupleQueryResult tqr,
QueryResultFormat format,
OutputStream out)
Writes a query result document in a specific query result format to an output stream.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BackgroundTupleResult
Provides concurrent access to tuple results as they are being parsed.
|
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResult |
HTTPTupleQuery.evaluate() |
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResult |
SailTupleQuery.evaluate() |
| Modifier and Type | Method and Description |
|---|---|
protected Iteration<Statement,QueryEvaluationException> |
SPARQLConnection.toStatementIteration(TupleQueryResult iter,
Resource subj,
IRI pred,
Value obj)
Converts a
TupleQueryResult resulting from the SPARQLConnection.EVERYTHING_WITH_GRAPH to a statement by using the
respective values from the BindingSet or (if provided) the ones from the arguments. |
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResult |
SPARQLTupleQuery.evaluate() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
Repositories.tupleQuery(Repository repository,
String query,
java.util.function.Function<TupleQueryResult,T> processFunction)
Performs a SPARQL Select query on the given Repository within a transaction and passes the results to the given
Function with the result from the function returned by the method. |
static <T> T |
Repositories.tupleQueryNoTransaction(Repository repository,
String query,
java.util.function.Function<TupleQueryResult,T> processFunction)
Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to
the given
Function with the result from the function returned by the method. |
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResult |
SailConnectionTupleQuery.evaluate() |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.