| Package | Description |
|---|---|
| org.eclipse.rdf4j.http.client | |
| org.eclipse.rdf4j.query |
Interfaces and classes for handling queries and query results.
|
| org.eclipse.rdf4j.query.algebra.evaluation.federation | |
| 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 | |
| org.eclipse.rdf4j.query.parser.impl | |
| org.eclipse.rdf4j.query.resultio | |
| org.eclipse.rdf4j.query.resultio.helpers | |
| org.eclipse.rdf4j.repository.http |
A repository that serves as a proxy client for a remote
repository on a Sesame Server.
|
| org.eclipse.rdf4j.repository.sparql |
A repository that serves as a client for a SPARQL endpoint.
|
| org.eclipse.rdf4j.repository.sparql.federation | |
| org.eclipse.rdf4j.repository.sparql.query | |
| org.eclipse.rdf4j.repository.util |
| Modifier and Type | Method and Description |
|---|---|
protected QueryEvaluationException |
QueueCursor.convert(Exception e)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
QueryInterruptedException
An exception indicating that the evaluation of a query has been interrupted, for example because it took
too long to complete.
|
| Modifier and Type | Method and Description |
|---|---|
static Model |
QueryResults.asModel(CloseableIteration<? extends Statement,? extends RDF4JException> iteration)
Get a
Model containing all elements obtained from the specified query result. |
static boolean |
QueryResults.equals(GraphQueryResult result1,
GraphQueryResult result2)
Compares two graph query results and returns
true if they are equal. |
static boolean |
QueryResults.equals(TupleQueryResult tqr1,
TupleQueryResult tqr2)
Compares two tuple query results and returns
true if they are equal. |
TupleQueryResult |
TupleQuery.evaluate() |
GraphQueryResult |
GraphQuery.evaluate() |
boolean |
BooleanQuery.evaluate() |
void |
GraphQuery.evaluate(RDFHandler handler) |
void |
TupleQuery.evaluate(TupleQueryResultHandler handler) |
List<String> |
TupleQueryResult.getBindingNames()
Gets the names of the bindings, in order of projection.
|
Map<String,String> |
GraphQueryResult.getNamespaces()
Retrieves relevant namespaces from the query result.
|
static boolean |
QueryResults.isSubset(TupleQueryResult tqr1,
TupleQueryResult tqr2) |
static void |
QueryResults.report(GraphQueryResult gqr,
RDFHandler rdfHandler)
Reports a graph query result to an
RDFHandler. |
static void |
QueryResults.report(TupleQueryResult tqr,
QueryResultHandler handler)
Reports a tuple query result to a
TupleQueryResultHandler. |
static Statement |
QueryResults.singleResult(GraphQueryResult result)
Returns a single element from the query result.
|
static BindingSet |
QueryResults.singleResult(TupleQueryResult result)
Returns a single element from the query result.
|
| Modifier and Type | Method and Description |
|---|---|
CloseableIteration<BindingSet,QueryEvaluationException> |
FederatedService.evaluate(Service service,
CloseableIteration<BindingSet,QueryEvaluationException> bindings,
String baseUri)
Evaluate the provided SPARQL query at this federated service, possibilities for vectored evaluation.
|
CloseableIteration<BindingSet,QueryEvaluationException> |
FederatedService.select(Service service,
Set<String> projectionVars,
BindingSet bindings,
String baseUri)
Evaluate the provided SPARQL query at this federated service.
|
| Modifier and Type | Method and Description |
|---|---|
CloseableIteration<BindingSet,QueryEvaluationException> |
FederatedService.evaluate(Service service,
CloseableIteration<BindingSet,QueryEvaluationException> bindings,
String baseUri)
Evaluate the provided SPARQL query at this federated service, possibilities for vectored evaluation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FederatedService.ask(Service service,
BindingSet bindings,
String baseUri)
Evaluate the provided SPARQL ASK query at this federated service.
|
protected abstract FederatedService |
AbstractFederatedServiceResolver.createService(String serviceUrl)
Create a new
FederatedService for the given serviceUrl. |
CloseableIteration<BindingSet,QueryEvaluationException> |
FederatedService.evaluate(Service service,
CloseableIteration<BindingSet,QueryEvaluationException> bindings,
String baseUri)
Evaluate the provided SPARQL query at this federated service, possibilities for vectored evaluation.
|
FederatedService |
FederatedServiceResolver.getService(String serviceUrl)
Retrieve the
FederatedService registered for serviceUrl. |
FederatedService |
AbstractFederatedServiceResolver.getService(String serviceUrl)
Retrieve the
FederatedService registered for serviceUrl. |
void |
FederatedService.initialize()
Method to perform any initializations, invoked after construction.
|
CloseableIteration<BindingSet,QueryEvaluationException> |
FederatedService.select(Service service,
Set<String> projectionVars,
BindingSet bindings,
String baseUri)
Evaluate the provided SPARQL query at this federated service.
|
void |
FederatedService.shutdown()
Method to perform any shutDown code, invoked at unregistering.
|
| Modifier and Type | Method and Description |
|---|---|
static Graph |
DAWGTestResultSetUtil.toGraph(TupleQueryResult tqr) |
| Modifier and Type | Method and Description |
|---|---|
protected QueryEvaluationException |
QueueCursor.convert(Exception e) |
| Modifier and Type | Method and Description |
|---|---|
protected CloseableIteration<? extends BindingSet,QueryEvaluationException> |
AbstractParserQuery.enforceMaxQueryTime(CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingsIter) |
| Modifier and Type | Method and Description |
|---|---|
protected CloseableIteration<? extends BindingSet,QueryEvaluationException> |
AbstractParserQuery.enforceMaxQueryTime(CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingsIter) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
IteratingTupleQueryResult.getBindingNames() |
protected void |
BackgroundGraphResult.handleClose() |
protected void |
AbstractParserQuery.QueryInterruptIteration.throwInterruptedException() |
| Constructor and Description |
|---|
GraphQueryResultImpl(Map<String,String> namespaces,
CloseableIteration<? extends Statement,? extends QueryEvaluationException> statementIter)
Deprecated.
|
IteratingGraphQueryResult(Map<String,String> namespaces,
CloseableIteration<? extends Statement,? extends QueryEvaluationException> statementIter) |
IteratingTupleQueryResult(List<String> bindingNames,
CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingSetIter)
Creates a query result object with the supplied binding names.
|
QueryInterruptIteration(Iteration<? extends BindingSet,? extends QueryEvaluationException> iter,
long timeLimit) |
TupleQueryResultImpl(List<String> bindingNames,
CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingSetIter)
Deprecated.
|
| Constructor and Description |
|---|
MutableTupleQueryResult(TupleQueryResult tqr) |
| Modifier and Type | Method and Description |
|---|---|
protected CloseableIteration<? extends BindingSet,QueryEvaluationException> |
AbstractParserQuery.enforceMaxQueryTime(CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingsIter) |
| Modifier and Type | Method and Description |
|---|---|
protected CloseableIteration<? extends BindingSet,QueryEvaluationException> |
AbstractParserQuery.enforceMaxQueryTime(CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingsIter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractParserQuery.QueryInterruptIteration.throwInterruptedException() |
| Constructor and Description |
|---|
QueryInterruptIteration(Iteration<? extends BindingSet,? extends QueryEvaluationException> iter,
long timeLimit) |
| Modifier and Type | Method and Description |
|---|---|
static void |
QueryResultIO.writeGraph(GraphQueryResult gqr,
RDFFormat format,
OutputStream out)
Writes a graph query result document in a specific RDF format to an output stream.
|
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 | Method and Description |
|---|---|
protected void |
BackgroundTupleResult.handleClose() |
| Modifier and Type | Class and Description |
|---|---|
class |
HTTPQueryEvaluationException |
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResult |
HTTPTupleQuery.evaluate() |
GraphQueryResult |
HTTPGraphQuery.evaluate() |
boolean |
HTTPBooleanQuery.evaluate() |
void |
HTTPGraphQuery.evaluate(RDFHandler handler) |
void |
HTTPTupleQuery.evaluate(TupleQueryResultHandler handler) |
| 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 | Field and Description |
|---|---|
protected CloseableIteration<BindingSet,QueryEvaluationException> |
SilentIteration.iter |
protected CloseableIteration<T,QueryEvaluationException> |
JoinExecutorBase.leftIter |
protected CloseableIteration<BindingSet,QueryEvaluationException> |
SPARQLCrossProductIteration.resultIteration |
protected CloseableIteration<T,QueryEvaluationException> |
JoinExecutorBase.rightIter |
protected QueueCursor<CloseableIteration<T,QueryEvaluationException>> |
JoinExecutorBase.rightQueue |
| Modifier and Type | Method and Description |
|---|---|
CloseableIteration<BindingSet,QueryEvaluationException> |
RepositoryFederatedService.evaluate(Service service,
CloseableIteration<BindingSet,QueryEvaluationException> bindings,
String baseUri) |
protected CloseableIteration<BindingSet,QueryEvaluationException> |
RepositoryFederatedService.evaluateInternal(Service service,
CloseableIteration<BindingSet,QueryEvaluationException> bindings,
String baseUri)
Evaluate the SPARQL query that can be constructed from the SERVICE node at the initialized
Repository of this FederatedService. |
CloseableIteration<BindingSet,QueryEvaluationException> |
RepositoryFederatedService.select(Service service,
Set<String> projectionVars,
BindingSet bindings,
String baseUri)
Evaluate the provided sparqlQueryString at the initialized
Repository of this
FederatedService. |
| Modifier and Type | Method and Description |
|---|---|
void |
JoinExecutorBase.addResult(CloseableIteration<T,QueryEvaluationException> res) |
CloseableIteration<BindingSet,QueryEvaluationException> |
RepositoryFederatedService.evaluate(Service service,
CloseableIteration<BindingSet,QueryEvaluationException> bindings,
String baseUri) |
protected CloseableIteration<BindingSet,QueryEvaluationException> |
RepositoryFederatedService.evaluateInternal(Service service,
CloseableIteration<BindingSet,QueryEvaluationException> bindings,
String baseUri)
Evaluate the SPARQL query that can be constructed from the SERVICE node at the initialized
Repository of this FederatedService. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RepositoryFederatedService.ask(Service service,
BindingSet bindings,
String baseUri)
Evaluate the provided sparqlQueryString at the initialized
Repository of this
FederatedService. |
protected BindingSet |
ServiceJoinConversionIteration.convert(BindingSet bIn) |
protected FederatedService |
SPARQLServiceResolver.createService(String serviceUrl) |
CloseableIteration<BindingSet,QueryEvaluationException> |
RepositoryFederatedService.evaluate(Service service,
CloseableIteration<BindingSet,QueryEvaluationException> bindings,
String baseUri) |
protected CloseableIteration<BindingSet,QueryEvaluationException> |
RepositoryFederatedService.evaluateInternal(Service service,
CloseableIteration<BindingSet,QueryEvaluationException> bindings,
String baseUri)
Evaluate the SPARQL query that can be constructed from the SERVICE node at the initialized
Repository of this FederatedService. |
protected BindingSet |
SilentIteration.getNextElement() |
protected BindingSet |
SPARQLCrossProductIteration.getNextElement() |
T |
JoinExecutorBase.getNextElement() |
protected void |
SPARQLCrossProductIteration.handleClose() |
void |
JoinExecutorBase.handleClose() |
void |
RepositoryFederatedService.initialize() |
CloseableIteration<BindingSet,QueryEvaluationException> |
RepositoryFederatedService.select(Service service,
Set<String> projectionVars,
BindingSet bindings,
String baseUri)
Evaluate the provided sparqlQueryString at the initialized
Repository of this
FederatedService. |
void |
RepositoryFederatedService.shutdown() |
| Constructor and Description |
|---|
JoinExecutorBase(CloseableIteration<T,QueryEvaluationException> leftIter,
TupleExpr rightArg,
BindingSet bindings) |
ServiceJoinConversionIteration(CloseableIteration<BindingSet,QueryEvaluationException> iter,
List<BindingSet> bindings) |
SilentIteration(CloseableIteration<BindingSet,QueryEvaluationException> iter) |
SPARQLCrossProductIteration(CloseableIteration<BindingSet,QueryEvaluationException> resultIteration,
List<BindingSet> inputBindings) |
| Constructor and Description |
|---|
JoinExecutorBase(CloseableIteration<T,QueryEvaluationException> leftIter,
TupleExpr rightArg,
BindingSet bindings) |
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResult |
SPARQLTupleQuery.evaluate() |
GraphQueryResult |
SPARQLGraphQuery.evaluate() |
boolean |
SPARQLBooleanQuery.evaluate() |
void |
SPARQLGraphQuery.evaluate(RDFHandler handler) |
void |
SPARQLTupleQuery.evaluate(TupleQueryResultHandler handler) |
BindingSet |
InsertBindingSetCursor.next() |
| Constructor and Description |
|---|
InsertBindingSetCursor(CloseableIteration<BindingSet,QueryEvaluationException> delegate,
BindingSet bindings) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
Repositories.graphQuery(Repository repository,
String query,
java.util.function.Function<GraphQueryResult,T> processFunction)
Performs a SPARQL Construct or Describe 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 void |
Repositories.graphQuery(Repository repository,
String query,
RDFHandler handler)
Performs a SPARQL Construct or Describe query on the given Repository within a transaction and passes
the results to the given
RDFHandler. |
static <T> T |
Repositories.graphQueryNoTransaction(Repository repository,
String query,
java.util.function.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 given
Function with the result from the function returned by the
method. |
static void |
Repositories.graphQueryNoTransaction(Repository repository,
String query,
RDFHandler handler)
Performs a SPARQL Construct or Describe query on the given Repository without opening a transaction and
passes the results to the given
RDFHandler. |
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 void |
Repositories.tupleQuery(Repository repository,
String query,
TupleQueryResultHandler handler)
Performs a SPARQL Select query on the given Repository within a transaction and passes the results to
the given
TupleQueryResultHandler. |
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. |
static void |
Repositories.tupleQueryNoTransaction(Repository repository,
String query,
TupleQueryResultHandler handler)
Performs a SPARQL Select query on the given Repository without opening a transaction and passes the
results to the given
TupleQueryResultHandler. |
Copyright © 2015-2018 Eclipse Foundation. All Rights Reserved.