| Package | Description |
|---|---|
| org.eclipse.rdf4j.common.iteration | |
| org.eclipse.rdf4j.common.iterator | |
| org.eclipse.rdf4j.query |
Interfaces and classes for handling queries and query results.
|
| org.eclipse.rdf4j.query.impl | |
| org.eclipse.rdf4j.query.parser.impl | |
| org.eclipse.rdf4j.query.resultio.helpers | |
| org.eclipse.rdf4j.repository |
The Repository API: the main API for handling RDF4J repositories.
|
| org.eclipse.rdf4j.repository.base | |
| org.eclipse.rdf4j.repository.contextaware |
A repository wrapper with convenience functions for handling contexts.
|
| 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 |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CloseableIteration<E,X extends Exception>
An
Iteration that can be closed to free resources that it is holding. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCloseableIteration<E,X extends Exception>
Base class for
CloseableIterations offering common functionality. |
class |
CloseableIterationBase<E,X extends Exception>
Deprecated.
since 4.0. Use
AbstractCloseableIteration instead. |
class |
CloseableIteratorIteration<E,X extends Exception>
An Iteration that can convert an
Iterator to a CloseableIteration. |
class |
ConvertingIteration<S,T,X extends Exception>
A CloseableIteration that converts an iteration over objects of type S (the source type) to an
iteration over objects of type T (the target type).
|
class |
DelayedIteration<E,X extends Exception>
An iteration that delays the creation of the underlying iteration until it is being accessed.
|
class |
DistinctIteration<E,X extends Exception>
An Iteration that filters any duplicate elements from an underlying iterator.
|
class |
EmptyIteration<E,X extends Exception>
An iterator that does not contain any elements.
|
class |
ExceptionConvertingIteration<E,X extends Exception>
A CloseableIteration that converts an arbitrary iteration to an iteration with exceptions of type
X.
|
class |
FilterIteration<E,X extends Exception>
A CloseableIteration that wraps another Iteration, applying a filter on the objects that are returned.
|
class |
IntersectIteration<E,X extends Exception>
An Iteration that returns the intersection of the results of two Iterations.
|
class |
IterationWrapper<E,X extends Exception>
Abstract superclass for Iterations that wrap other Iterations.
|
class |
IteratorIteration<E,X extends Exception>
|
class |
LimitIteration<E,X extends Exception>
An Iteration that limits the amount of elements that it returns from an underlying Iteration to a fixed
amount.
|
class |
LookAheadIteration<E,X extends Exception>
An Iteration that looks one element ahead, if necessary, to handle calls to
LookAheadIteration.hasNext(). |
class |
MinusIteration<E,X extends Exception>
An Iteration that returns the results of an Iteration (the left argument) minus the results of another
Iteration (the right argument).
|
class |
OffsetIteration<E,X extends Exception>
An Iteration that skips the first offset elements from an underlying Iteration.
|
class |
QueueIteration<E,T extends Exception>
Makes working with a queue easier by adding the methods
QueueIteration.done() and QueueIteration.toss(Exception) and
after converting the Exception to the required type using QueueIteration.convert(Exception). |
class |
ReducedIteration<E,X extends Exception>
Removes consecutive duplicates from the object stream.
|
class |
SingletonIteration<E,X extends Exception>
An Iteration that contains exactly one element.
|
class |
TimeLimitIteration<E,X extends Exception> |
class |
UnionIteration<E,X extends Exception>
An Iteration that returns the bag union of the results of a number of Iterations.
|
| Modifier and Type | Field and Description |
|---|---|
protected Iteration<? extends E,? extends X> |
IntersectIteration.arg2 |
protected Iteration<? extends E,? extends X> |
IterationWrapper.wrappedIter
Deprecated.
This will be changed to private, possibly with an accessor in future. Do not rely on it.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Iteration<? extends E,? extends X> |
DelayedIteration.createIteration()
Creates the iteration that should be iterated over.
|
| Modifier and Type | Method and Description |
|---|---|
static <E,X extends Exception,C extends Collection<E>> |
Iterations.addAll(Iteration<? extends E,X> iter,
C collection)
Adds all elements from the supplied Iteration to the specified collection.
|
Set<E> |
IntersectIteration.addSecondSet(Iteration<? extends E,? extends X> arg2,
Set<E> set) |
static <E,X extends Exception> |
Iterations.asList(Iteration<? extends E,X> iter)
Get a List containing all elements obtained from the specified Iteration.
|
static <E,X extends Exception> |
Iterations.asSet(Iteration<? extends E,X> iter)
Get a Set containing all elements obtained from the specified Iteration.
|
static <X extends Exception> |
Iterations.closeCloseable(Iteration<?,X> iter)
Closes the supplied Iteration if it is an instance of
CloseableIteration, otherwise the request
is ignored. |
static <T> java.util.stream.Stream<T> |
Iterations.stream(Iteration<T,? extends Exception> iteration)
|
static <X extends Exception> |
Iterations.toString(Iteration<?,X> iter,
String separator)
Converts an Iteration to a string by concatenating all of the string representations of objects in the
Iteration, divided by a separator.
|
static <X extends Exception> |
Iterations.toString(Iteration<?,X> iter,
String separator,
StringBuilder sb)
Converts an Iteration to a string by concatenating all of the string representations of objects in the
Iteration, divided by a separator.
|
| Constructor and Description |
|---|
ConvertingIteration(Iteration<? extends S,? extends X> iter)
Creates a new ConvertingIteration that operates on the supplied source type iteration.
|
DistinctIteration(Iteration<? extends E,? extends X> iter)
Creates a new DistinctIterator.
|
ExceptionConvertingIteration(Iteration<? extends E,? extends Exception> iter)
Creates a new ExceptionConvertingIteration that operates on the supplied iteration.
|
FilterIteration(Iteration<? extends E,? extends X> iter) |
IntersectIteration(Iteration<? extends E,? extends X> arg1,
Iteration<? extends E,? extends X> arg2)
Creates a new IntersectIteration that returns the intersection of the results of two Iterations.
|
IntersectIteration(Iteration<? extends E,? extends X> arg1,
Iteration<? extends E,? extends X> arg2)
Creates a new IntersectIteration that returns the intersection of the results of two Iterations.
|
IntersectIteration(Iteration<? extends E,? extends X> arg1,
Iteration<? extends E,? extends X> arg2,
boolean distinct)
Creates a new IntersectIteration that returns the intersection of the results of two Iterations.
|
IntersectIteration(Iteration<? extends E,? extends X> arg1,
Iteration<? extends E,? extends X> arg2,
boolean distinct)
Creates a new IntersectIteration that returns the intersection of the results of two Iterations.
|
IterationSpliterator(Iteration<T,? extends Exception> iteration)
Creates a
Spliterator implementation that wraps the supplied Iteration. |
IterationWrapper(Iteration<? extends E,? extends X> iter)
Creates a new IterationWrapper that operates on the supplied Iteration.
|
LimitIteration(Iteration<? extends E,X> iter,
long limit)
Creates a new LimitIteration.
|
MinusIteration(Iteration<? extends E,X> leftArg,
Iteration<? extends E,X> rightArg)
Creates a new MinusIteration that returns the results of the left argument minus the results of the
right argument.
|
MinusIteration(Iteration<? extends E,X> leftArg,
Iteration<? extends E,X> rightArg)
Creates a new MinusIteration that returns the results of the left argument minus the results of the
right argument.
|
MinusIteration(Iteration<? extends E,X> leftArg,
Iteration<? extends E,X> rightArg,
boolean distinct)
Creates a new MinusIteration that returns the results of the left argument minus the results of the
right argument.
|
MinusIteration(Iteration<? extends E,X> leftArg,
Iteration<? extends E,X> rightArg,
boolean distinct)
Creates a new MinusIteration that returns the results of the left argument minus the results of the
right argument.
|
OffsetIteration(Iteration<? extends E,X> iter,
long offset)
Creates a new OffsetIteration.
|
ReducedIteration(Iteration<? extends E,? extends X> delegate) |
TimeLimitIteration(Iteration<? extends E,? extends X> iter,
long timeLimit) |
UnionIteration(Iteration<? extends E,X>... args)
Creates a new UnionIteration that returns the bag union of the results of a number of Iterations.
|
| Constructor and Description |
|---|
UnionIteration(Iterable<? extends Iteration<? extends E,X>> args)
Creates a new UnionIteration that returns the bag union of the results of a number of Iterations.
|
| Constructor and Description |
|---|
CloseableIterationIterator(Iteration<? extends E,? extends RuntimeException> iteration) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
GraphQueryResult
A representation of a query result as a sequence of
Statement objects. |
interface |
QueryResult<T>
Super type of all query result types (TupleQueryResult, GraphQueryResult, etc.).
|
interface |
TupleQueryResult
A representation of a variable-binding query result as a sequence of
BindingSet objects. |
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractParserQuery.QueryInterruptIteration |
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 4.0. Use
IteratingGraphQueryResult instead. |
class |
IteratingGraphQueryResult
An iterating implementation of the
GraphQueryResult interface. |
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 |
QueueCursor<E>
Makes working with a queue easier by adding the methods
QueueIteration.done() and QueueIteration.toss(Exception) and
automatically converting the exception into a QueryEvaluationException with an appropriate stack trace. |
class |
TupleQueryResultImpl
Deprecated.
since 4.0. Use
IteratingTupleQueryResult instead. |
| Constructor and Description |
|---|
MutableTupleQueryResult(Collection<String> bindingNames,
Iteration<? extends BindingSet,E> bindingSetIter) |
QueryInterruptIteration(Iteration<? extends BindingSet,? extends QueryEvaluationException> iter,
long timeLimit) |
| Constructor and Description |
|---|
QueryInterruptIteration(Iteration<? extends BindingSet,? extends QueryEvaluationException> iter,
long timeLimit) |
| Modifier and Type | Class and Description |
|---|---|
class |
BackgroundTupleResult
Provides concurrent access to tuple results as they are being parsed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RepositoryResult<T>
|
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
RepositoryConnection.add(Iteration<? extends Statement,E> statements,
Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more named contexts.
|
<E extends Exception> |
RepositoryConnection.remove(Iteration<? extends Statement,E> statements,
Resource... contexts)
Removes the supplied statements from a specific context in this repository, ignoring any context
information carried by the statements themselves.
|
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
RepositoryConnectionWrapper.add(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
<E extends Exception> |
AbstractRepositoryConnection.add(Iteration<? extends Statement,E> statements,
Resource... contexts) |
<E extends Exception> |
RepositoryConnectionWrapper.remove(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
<E extends Exception> |
AbstractRepositoryConnection.remove(Iteration<? extends Statement,E> statements,
Resource... contexts) |
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
ContextAwareConnection.add(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
<E extends Exception> |
ContextAwareConnection.remove(Iteration<? extends Statement,E> statementIter,
Resource... contexts)
Removes the supplied statements from a specific context in this repository, ignoring any context
information carried by the statements themselves.
|
| 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 | Class and Description |
|---|---|
class |
CollectionIteration<E,X extends Exception>
An iteration to access a materialized
Collection of BindingSets. |
class |
JoinExecutorBase<T>
Base class for any join parallel join executor.
|
class |
ServiceJoinConversionIteration
Inserts original bindings into the result, uses ?__rowIdx to resolve original bindings.
|
class |
SilentIteration
Wrap an inner iteration and suppress exceptions silently
|
class |
SPARQLCrossProductIteration
Iteration which forms the cross product of a list of materialized input bindings with each result obtained
from the inner iteration.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InsertBindingSetCursor
Adds more bindings to each of the results.
|
Copyright © 2015-2018 Eclipse Foundation. All Rights Reserved.