Uses of Interface
org.eclipse.rdf4j.query.TupleQueryResult
Packages that use 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.
Helper classes for working with Repositories.
Rdf4j-Spring OperationLog
Rdf4j-Spring ResultCache
-
Uses of TupleQueryResult in org.eclipse.rdf4j.common.concurrent.locks.diagnostics
Classes in org.eclipse.rdf4j.common.concurrent.locks.diagnostics that implement TupleQueryResultConstructors in org.eclipse.rdf4j.common.concurrent.locks.diagnostics with parameters of type TupleQueryResultModifierConstructorDescriptionCleanerTupleQueryResult
(TupleQueryResult delegate, ConcurrentCleaner cleaner) -
Uses of TupleQueryResult in org.eclipse.rdf4j.federated.api
Methods in org.eclipse.rdf4j.federated.api that return TupleQueryResult -
Uses of TupleQueryResult in org.eclipse.rdf4j.federated.structures
Methods in org.eclipse.rdf4j.federated.structures that return TupleQueryResult -
Uses of TupleQueryResult in org.eclipse.rdf4j.http.client
Methods in org.eclipse.rdf4j.http.client that return TupleQueryResultModifier 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
Methods in org.eclipse.rdf4j.http.server.repository.handler that return TupleQueryResultModifier and TypeMethodDescriptionprotected TupleQueryResult
DefaultQueryRequestHandler.evaluateQuery
(TupleQuery query, long limit, long offset, boolean distinct) -
Uses of TupleQueryResult in org.eclipse.rdf4j.query
Methods in org.eclipse.rdf4j.query that return TupleQueryResultModifier 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.Methods in org.eclipse.rdf4j.query with parameters of type TupleQueryResultModifier 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
Methods in org.eclipse.rdf4j.query.dawg that return TupleQueryResultModifier and TypeMethodDescriptionstatic TupleQueryResult
DAWGTestResultSetUtil.toTupleQueryResult
(Iterable<? extends Statement> dawgGraph) Methods in org.eclipse.rdf4j.query.dawg with parameters of type TupleQueryResultModifier and TypeMethodDescriptionstatic Model
DAWGTestResultSetUtil.toGraph
(TupleQueryResult tqr) -
Uses of TupleQueryResult in org.eclipse.rdf4j.query.impl
Classes in org.eclipse.rdf4j.query.impl that implement TupleQueryResultModifier and TypeClassDescriptionclass
An iterating implementation of theTupleQueryResult
interface.class
An implementation of theTupleQueryResult
interface that stores the complete query result in memory.Methods in org.eclipse.rdf4j.query.impl that return TupleQueryResultConstructors in org.eclipse.rdf4j.query.impl with parameters of type TupleQueryResult -
Uses of TupleQueryResult in org.eclipse.rdf4j.query.resultio
Methods in org.eclipse.rdf4j.query.resultio that return TupleQueryResultModifier 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 removedMethods in org.eclipse.rdf4j.query.resultio with parameters of type TupleQueryResultModifier 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
Classes in org.eclipse.rdf4j.query.resultio.helpers that implement TupleQueryResultModifier and TypeClassDescriptionclass
Provides concurrent access to tuple results as they are being parsed. -
Uses of TupleQueryResult in org.eclipse.rdf4j.repository.http
Methods in org.eclipse.rdf4j.repository.http that return TupleQueryResult -
Uses of TupleQueryResult in org.eclipse.rdf4j.repository.sail
Methods in org.eclipse.rdf4j.repository.sail that return TupleQueryResult -
Uses of TupleQueryResult in org.eclipse.rdf4j.repository.sparql.query
Methods in org.eclipse.rdf4j.repository.sparql.query that return TupleQueryResult -
Uses of TupleQueryResult in org.eclipse.rdf4j.repository.util
Method parameters in org.eclipse.rdf4j.repository.util with type arguments of type TupleQueryResultModifier 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
Methods in org.eclipse.rdf4j.spring.dao.support.operation with parameters of type TupleQueryResultModifier and TypeMethodDescriptionTupleQueryResultConverter.getBindingStream
(TupleQueryResult result) If the result has only one empty binding set, this method returns an empty stream, otherwise the stream of BindingSetsMethod parameters in org.eclipse.rdf4j.spring.dao.support.operation with type arguments of type TupleQueryResultModifier 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.Constructors in org.eclipse.rdf4j.spring.dao.support.operation with parameters of type TupleQueryResult -
Uses of TupleQueryResult in org.eclipse.rdf4j.spring.operationlog
Methods in org.eclipse.rdf4j.spring.operationlog that return TupleQueryResult -
Uses of TupleQueryResult in org.eclipse.rdf4j.spring.resultcache
Classes in org.eclipse.rdf4j.spring.resultcache that implement TupleQueryResultModifier and TypeClassDescriptionclass
class
Wrapper for a TupleQueryResult, allowing the result to be replayed.Methods in org.eclipse.rdf4j.spring.resultcache that return TupleQueryResultConstructors in org.eclipse.rdf4j.spring.resultcache with parameters of type TupleQueryResultModifierConstructorDescriptionReusableTupleQueryResult
(TupleQueryResult result, BindingSet queryBindings) -
Uses of TupleQueryResult in org.eclipse.rdf4j.spring.support.query
Methods in org.eclipse.rdf4j.spring.support.query that return TupleQueryResult -
Uses of TupleQueryResult in org.eclipse.rdf4j.testsuite.query.resultio
Methods in org.eclipse.rdf4j.testsuite.query.resultio that return TupleQueryResultModifier 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.Methods in org.eclipse.rdf4j.testsuite.query.resultio with parameters of type TupleQueryResultModifier 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)