Package | Description |
---|---|
org.eclipse.rdf4j.http.client | |
org.eclipse.rdf4j.query |
Interfaces and classes for handling queries and query results.
|
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.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.sail |
Repository implementation for local RDF databases that
implement the SAIL API.
|
org.eclipse.rdf4j.repository.sparql |
A repository that serves as a client for a SPARQL endpoint.
|
org.eclipse.rdf4j.repository.sparql.query | |
org.eclipse.rdf4j.repository.util | |
org.eclipse.rdf4j.sail |
RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an API
for RDF repositories.
|
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. |
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.
|
Modifier and Type | Method and Description |
---|---|
static TupleQueryResult |
DAWGTestResultSetUtil.toTupleQueryResult(Iterable<? extends Statement> dawgGraph) |
Modifier and Type | Method and Description |
---|---|
static Graph |
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 |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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-2019 Eclipse Foundation. All Rights Reserved.