Uses of Interface
org.eclipse.rdf4j.query.GraphQueryResult
Package
Description
Interfaces and classes for handling queries and query results.
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 GraphQueryResult in org.eclipse.rdf4j.federated.evaluation.iterator
Modifier and TypeFieldDescriptionprotected final GraphQueryResult
GraphToBindingSetConversionIteration.graph
-
Uses of GraphQueryResult in org.eclipse.rdf4j.federated.structures
-
Uses of GraphQueryResult in org.eclipse.rdf4j.http.client
Modifier and TypeMethodDescriptionprotected GraphQueryResult
SPARQLProtocolSession.getRDFBackground
(org.apache.http.client.methods.HttpUriRequest method, boolean requireContext, WeakReference<?> callerRef) Parse the response in a background thread.BackgroundResultExecutor.parse
(RDFParser parser, InputStream in, Charset charset, String baseURI, WeakReference<?> callerReference) SPARQLProtocolSession.sendGraphQuery
(QueryLanguage ql, String query, String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, WeakReference<?> callerRef, Binding... bindings) SPARQLProtocolSession.sendGraphQuery
(QueryLanguage ql, String query, Dataset dataset, boolean includeInferred, WeakReference<?> callerRef, Binding... bindings) -
Uses of GraphQueryResult in org.eclipse.rdf4j.http.server.repository.handler
Modifier and TypeMethodDescriptionprotected GraphQueryResult
DefaultQueryRequestHandler.evaluateQuery
(GraphQuery query, long limit, long offset, boolean distinct) -
Uses of GraphQueryResult in org.eclipse.rdf4j.query
Modifier and TypeMethodDescriptionstatic GraphQueryResult
QueryResults.distinctResults
(GraphQueryResult queryResult) Returns aGraphQueryResult
that filters out any duplicate solutions from the supplied queryResult.GraphQuery.evaluate()
static GraphQueryResult
QueryResults.limitResults
(GraphQueryResult queryResult, long limit, long offset) Returns aGraphQueryResult
that returns at most the specified maximum number of solutions, starting at the supplied offset.static GraphQueryResult
QueryResults.parseGraphBackground
(InputStream in, String baseURI, RDFFormat format, WeakReference<?> callerReference) Parses an RDF document and returns it as a GraphQueryResult object, with parsing done on a separate thread in the background.
IMPORTANT: As this method will spawn a new thread in the background, it is vitally important that the resulting GraphQueryResult be closed consistently when it is no longer required, to prevent resource leaks.static GraphQueryResult
QueryResults.parseGraphBackground
(InputStream in, String baseURI, RDFParser parser, WeakReference<?> callerReference) Parses an RDF document and returns it as a GraphQueryResult object, with parsing done on a separate thread in the background.
IMPORTANT: As this method will spawn a new thread in the background, it is vitally important that the resulting GraphQueryResult be closed consistently when it is no longer required, to prevent resource leaks.Modifier and TypeMethodDescriptionstatic GraphQueryResult
QueryResults.distinctResults
(GraphQueryResult queryResult) Returns aGraphQueryResult
that filters out any duplicate solutions from the supplied queryResult.static boolean
QueryResults.equals
(GraphQueryResult result1, GraphQueryResult result2) Compares two graph query results and returnstrue
if they are equal.static GraphQueryResult
QueryResults.limitResults
(GraphQueryResult queryResult, long limit, long offset) Returns aGraphQueryResult
that returns at most the specified maximum number of solutions, starting at the supplied offset.static void
QueryResults.report
(GraphQueryResult gqr, RDFHandler rdfHandler) Reports a graph query result to anRDFHandler
.static Statement
QueryResults.singleResult
(GraphQueryResult result) Returns a single element from the query result.The QueryResult is automatically closed by this method. -
Uses of GraphQueryResult in org.eclipse.rdf4j.query.impl
Modifier and TypeClassDescriptionclass
Provides concurrent access to statements as they are being parsed when instances of this class are run as Threads.class
Deprecated.since 2.0.class
An iterating implementation of theGraphQueryResult
interface. -
Uses of GraphQueryResult in org.eclipse.rdf4j.query.resultio
Modifier and TypeMethodDescriptionstatic void
QueryResultIO.writeGraph
(GraphQueryResult gqr, RDFFormat format, OutputStream out) Writes a graph query result document in a specific RDF format to an output stream. -
Uses of GraphQueryResult in org.eclipse.rdf4j.repository.http
-
Uses of GraphQueryResult in org.eclipse.rdf4j.repository.sail
-
Uses of GraphQueryResult in org.eclipse.rdf4j.repository.sparql.query
-
Uses of GraphQueryResult in org.eclipse.rdf4j.repository.util
Modifier and TypeMethodDescriptionstatic <T> T
Repositories.graphQuery
(Repository repository, String query, Function<GraphQueryResult, T> processFunction) Performs a SPARQL Construct or Describe 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.graphQueryNoTransaction
(Repository repository, String query, Function<GraphQueryResult, T> processFunction) Performs a SPARQL Construct or Describe 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 GraphQueryResult in org.eclipse.rdf4j.spring.dao.support.operation
-
Uses of GraphQueryResult in org.eclipse.rdf4j.spring.operationlog
-
Uses of GraphQueryResult in org.eclipse.rdf4j.spring.resultcache
Modifier and TypeClassDescriptionclass
class
Wrapper for a TupleQueryResult, allowing the result to be replayed.ModifierConstructorDescriptionReusableGraphQueryResult
(GraphQueryResult result, BindingSet queryBindings) -
Uses of GraphQueryResult in org.eclipse.rdf4j.spring.support.query