Uses of Interface
org.eclipse.rdf4j.query.TupleQueryResult
Package
Description
Interfaces and classes for handling queries and query results.
Functionality to convert tuple query results to and from the
Data Access Working Group Test Result Set RDF Vocabulary
A repository that serves as a proxy client for a remote repository on an RDF4J Server.
Repository implementation for local RDF databases that implement the SAIL SPI.
A
Repository
that serves as a SPARQL endpoint client.Helper classes for working with Repositories.
Rdf4j-Spring OperationLog
Rdf4j-Spring ResultCache
-
Uses of TupleQueryResult in org.eclipse.rdf4j.common.concurrent.locks.diagnostics
ModifierConstructorDescriptionCleanerTupleQueryResult
(TupleQueryResult delegate, ConcurrentCleaner cleaner) -
Uses of TupleQueryResult in org.eclipse.rdf4j.federated.api
-
Uses of TupleQueryResult in org.eclipse.rdf4j.federated.structures
-
Uses of TupleQueryResult in org.eclipse.rdf4j.http.client
Modifier and TypeMethodDescriptionprotected TupleQueryResult
SPARQLProtocolSession.getBackgroundTupleQueryResult
(org.apache.http.client.methods.HttpUriRequest method, WeakReference<?> callerRef) Deprecated.WeakReferenceinvalid input: '<'?> callerRef argument will be removedRDF4JProtocolSession.getContextIDs()
RDF4JProtocolSession.getNamespaces()
RDF4JProtocolSession.getRepositoryList()
BackgroundResultExecutor.parse
(TupleQueryResultParser parser, InputStream in, WeakReference<?> callerReference) SPARQLProtocolSession.sendTupleQuery
(QueryLanguage ql, String query, String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, WeakReference<?> callerRef, Binding... bindings) Deprecated.WeakReferenceinvalid input: '<'?> callerRef argument will be removedSPARQLProtocolSession.sendTupleQuery
(QueryLanguage ql, String query, Dataset dataset, boolean includeInferred, WeakReference<?> callerRef, Binding... bindings) Deprecated.WeakReferenceinvalid input: '<'?> callerRef argument will be removed -
Uses of TupleQueryResult in org.eclipse.rdf4j.http.server.repository.handler
Modifier and TypeMethodDescriptionprotected TupleQueryResult
DefaultQueryRequestHandler.evaluateQuery
(TupleQuery query, long limit, long offset, boolean distinct) -
Uses of TupleQueryResult in org.eclipse.rdf4j.query
Modifier and TypeMethodDescriptionstatic TupleQueryResult
QueryResults.distinctResults
(TupleQueryResult queryResult) Returns aTupleQueryResult
that filters out any duplicate solutions from the supplied queryResult.TupleQuery.evaluate()
static TupleQueryResult
QueryResults.limitResults
(TupleQueryResult queryResult, long limit, long offset) Returns aTupleQueryResult
that returns at most the specified maximum number of solutions, starting at the supplied offset.Modifier and TypeMethodDescriptionstatic TupleQueryResult
QueryResults.distinctResults
(TupleQueryResult queryResult) Returns aTupleQueryResult
that filters out any duplicate solutions from the supplied queryResult.static boolean
QueryResults.equals
(TupleQueryResult tqr1, TupleQueryResult tqr2) Compares two tuple query results and returnstrue
if they are equal.Tuple query results are equal if they contain the same set ofBindingSet
s and have the same headers.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 aTupleQueryResult
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 aTupleQueryResultHandler
.static BindingSet
QueryResults.singleResult
(TupleQueryResult result) Returns a single element from the query result.The QueryResult is automatically closed by this method. -
Uses of TupleQueryResult in org.eclipse.rdf4j.query.dawg
Modifier and TypeMethodDescriptionstatic TupleQueryResult
DAWGTestResultSetUtil.toTupleQueryResult
(Iterable<? extends Statement> dawgGraph) Modifier and TypeMethodDescriptionstatic Model
DAWGTestResultSetUtil.toGraph
(TupleQueryResult tqr) -
Uses of TupleQueryResult in org.eclipse.rdf4j.query.impl
Modifier and TypeClassDescriptionclass
Deprecated.class
An implementation of theTupleQueryResult
interface that stores the complete query result in memory.class
Deprecated.since 2.0. -
Uses of TupleQueryResult in org.eclipse.rdf4j.query.resultio
Modifier and TypeMethodDescriptionstatic TupleQueryResult
QueryResultIO.parseTuple
(InputStream in, QueryResultFormat format, WeakReference<?> callerReference) Deprecated.WeakReferenceinvalid input: '<'?> callerReference argument will be removedstatic TupleQueryResult
QueryResultIO.parseTupleBackground
(InputStream in, QueryResultFormat format, WeakReference<?> callerReference) Deprecated.WeakReferenceinvalid input: '<'?> callerReference argument will be removedModifier and TypeMethodDescriptionstatic void
QueryResultIO.writeTuple
(TupleQueryResult tqr, QueryResultFormat format, OutputStream out) Writes a query result document in a specific query result format to an output stream. -
Uses of TupleQueryResult in org.eclipse.rdf4j.query.resultio.helpers
-
Uses of TupleQueryResult in org.eclipse.rdf4j.repository.http
-
Uses of TupleQueryResult in org.eclipse.rdf4j.repository.sail
-
Uses of TupleQueryResult in org.eclipse.rdf4j.repository.sparql
Modifier and TypeMethodDescriptionprotected Iteration<Statement,
QueryEvaluationException> SPARQLConnection.toStatementIteration
(TupleQueryResult iter, Resource subj, IRI pred, Value obj) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of TupleQueryResult in org.eclipse.rdf4j.repository.sparql.query
-
Uses of TupleQueryResult in org.eclipse.rdf4j.repository.util
Modifier and TypeMethodDescriptionstatic <T> T
Repositories.tupleQuery
(Repository repository, String query, Function<TupleQueryResult, T> processFunction) Performs a SPARQL Select query on the given Repository within a transaction and passes the results to the givenFunction
with the result from the function returned by the method.static <T> T
Repositories.tupleQueryNoTransaction
(Repository repository, String query, Function<TupleQueryResult, T> processFunction) Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to the givenFunction
with the result from the function returned by the method. -
Uses of TupleQueryResult in org.eclipse.rdf4j.spring.dao.support.operation
Modifier and TypeMethodDescriptionTupleQueryResultConverter.getBindingStream
(TupleQueryResult result) If the result has only one empty binding set, this method returns an empty stream, otherwise the stream of BindingSetsModifier and TypeMethodDescription<T> T
TupleQueryResultConverter.applyToResult
(Function<TupleQueryResult, T> function) Applies the function to theTupleQueryResult
and closes the result afterwards.void
TupleQueryResultConverter.consumeResult
(Consumer<TupleQueryResult> consumer) Passes theTupleQueryResult
to the consumer and closes the result afterwards. -
Uses of TupleQueryResult in org.eclipse.rdf4j.spring.operationlog
-
Uses of TupleQueryResult in org.eclipse.rdf4j.spring.resultcache
Modifier and TypeClassDescriptionclass
class
Wrapper for a TupleQueryResult, allowing the result to be replayed.ModifierConstructorDescriptionReusableTupleQueryResult
(TupleQueryResult result, BindingSet queryBindings) -
Uses of TupleQueryResult in org.eclipse.rdf4j.spring.support.query
-
Uses of TupleQueryResult in org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest
Modifier and TypeMethodDescriptionprotected final TupleQueryResult
SPARQLQueryTest.readExpectedTupleQueryResult()
Deprecated.Modifier and TypeMethodDescriptionprotected final void
SPARQLQueryTest.compareTupleQueryResults
(TupleQueryResult queryResult, TupleQueryResult expectedResult) Deprecated. -
Uses of TupleQueryResult in org.eclipse.rdf4j.testsuite.query.resultio
Modifier and TypeMethodDescriptionprotected TupleQueryResult
AbstractQueryResultIOTest.createTupleMultipleBindingSets()
protected TupleQueryResult
AbstractQueryResultIOTest.createTupleNoBindingSets()
protected TupleQueryResult
AbstractQueryResultIOTest.createTupleSingleVarMultipleBindingSets()
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 TypeMethodDescriptionprotected 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 deprecatedBooleanQueryResultParser.parse(java.io.InputStream)
method, and that it does indeed through an exception of typeQueryResultParseException
.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 aTupleQueryResultHandler
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)