Package | Description |
---|---|
org.eclipse.rdf4j.federated.evaluation.iterator | |
org.eclipse.rdf4j.federated.structures | |
org.eclipse.rdf4j.http.client | |
org.eclipse.rdf4j.query |
Interfaces and classes for handling queries and query results.
|
org.eclipse.rdf4j.query.impl | |
org.eclipse.rdf4j.query.resultio | |
org.eclipse.rdf4j.repository.http |
A repository that serves as a proxy client for a remote repository on an RDF4J Server.
|
org.eclipse.rdf4j.repository.sail |
Repository implementation for local RDF databases that implement the SAIL SPI.
|
org.eclipse.rdf4j.repository.sparql.query | |
org.eclipse.rdf4j.repository.util |
Helper classes for working with Repositories.
|
org.eclipse.rdf4j.sail |
RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.
|
Modifier and Type | Field and Description |
---|---|
protected GraphQueryResult |
GraphToBindingSetConversionIteration.graph |
Constructor and Description |
---|
GraphToBindingSetConversionIteration(GraphQueryResult graph) |
Modifier and Type | Method and Description |
---|---|
GraphQueryResult |
FedXGraphQuery.evaluate() |
Modifier and Type | Method and Description |
---|---|
protected GraphQueryResult |
SPARQLProtocolSession.getRDFBackground(org.apache.http.client.methods.HttpUriRequest method,
boolean requireContext)
Parse the response in a background thread.
|
GraphQueryResult |
BackgroundResultExecutor.parse(RDFParser parser,
InputStream in,
Charset charset,
String baseURI) |
GraphQueryResult |
SPARQLProtocolSession.sendGraphQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
GraphQueryResult |
SPARQLProtocolSession.sendGraphQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
Binding... bindings) |
Modifier and Type | Method and Description |
---|---|
static GraphQueryResult |
QueryResults.distinctResults(GraphQueryResult queryResult)
Returns a
GraphQueryResult that filters out any duplicate solutions from the supplied queryResult. |
GraphQueryResult |
GraphQuery.evaluate() |
static GraphQueryResult |
QueryResults.limitResults(GraphQueryResult queryResult,
long limit,
long offset)
Returns a
GraphQueryResult 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)
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)
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 Type | Method and Description |
---|---|
static GraphQueryResult |
QueryResults.distinctResults(GraphQueryResult queryResult)
Returns a
GraphQueryResult that filters out any duplicate solutions from the supplied queryResult. |
static boolean |
QueryResults.equals(GraphQueryResult result1,
GraphQueryResult result2)
Compares two graph query results and returns
true if they are equal. |
static GraphQueryResult |
QueryResults.limitResults(GraphQueryResult queryResult,
long limit,
long offset)
Returns a
GraphQueryResult 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 an
RDFHandler . |
static Statement |
QueryResults.singleResult(GraphQueryResult result)
Returns a single element from the query result.The QueryResult is automatically closed by this method.
|
Modifier and Type | Class and Description |
---|---|
class |
BackgroundGraphResult
Provides concurrent access to statements as they are being parsed when instances of this class are run as Threads.
|
class |
GraphQueryResultImpl
Deprecated.
since 2.0. Use
IteratingGraphQueryResult instead. |
class |
IteratingGraphQueryResult
An iterating implementation of the
GraphQueryResult interface. |
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.
|
Modifier and Type | Method and Description |
---|---|
GraphQueryResult |
HTTPGraphQuery.evaluate() |
Modifier and Type | Method and Description |
---|---|
GraphQueryResult |
SailGraphQuery.evaluate() |
Modifier and Type | Method and Description |
---|---|
GraphQueryResult |
SPARQLGraphQuery.evaluate() |
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 <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. |
Modifier and Type | Method and Description |
---|---|
GraphQueryResult |
SailConnectionGraphQuery.evaluate() |
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.