Uses of Interface
org.eclipse.rdf4j.common.iteration.Iteration
Package
Description
Package offering various locking scheme implementations.
Interfaces and classes for handling queries and query results.
Abstract Query Algebra model.
The Repository API: the main API for accessing rdf databases and SPARQL endpoints.
Abstract base classes and wrappers for the main Repository API interfaces.
A repository wrapper with convenience functions for handling contexts.
A
Repository
that serves as a SPARQL endpoint client.Base functionality for Sail implementations that require multi-versioned concurrency control (MVCC).
Elasticsearch store for string triples
Rdf4j-Spring OperationLog
Rdf4j-Spring ResultCache
Rdf4J-Spring Tx
-
Uses of Iteration in org.eclipse.rdf4j.common.concurrent.locks
Modifier and TypeClassDescriptionclass
LockingIteration<E,
X extends Exception> An Iteration that holds on to a lock until the Iteration is closed.ModifierConstructorDescriptionLockingIteration
(Lock lock, Iteration<? extends E, X> iter) Creates a new LockingIteration. -
Uses of Iteration in org.eclipse.rdf4j.common.iteration
Modifier and TypeInterfaceDescriptioninterface
CloseableIteration<E,
X extends Exception> AnIteration
that can be closed to free resources that it is holding.Modifier and TypeClassDescriptionclass
AbstractCloseableIteration<E,
X extends Exception> Base class forCloseableIteration
s offering common functionality.class
CloseableIteratorIteration<E,
X extends Exception> An Iteration that can convert anIterator
to aCloseableIteration
.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.final 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 toLookAheadIteration.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 methodsQueueIteration.done()
andQueueIteration.toss(Exception)
and after converting the Exception to the required type usingQueueIteration.convert(Exception)
.class
ReducedIteration<E,
X extends Exception> Removes consecutive duplicates from the object stream.class
SilentIteration<T,
E extends Exception> AnIterationWrapper
that silently ignores any errors that occur during processing.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 TypeFieldDescriptionIntersectIteration.arg2
IterationWrapper.wrappedIter
Deprecated.This will be changed to private, possibly with an accessor in future.Modifier and TypeMethodDescriptionDelayedIteration.createIteration()
Creates the iteration that should be iterated over.Modifier and TypeMethodDescriptionstatic <E,
X extends Exception, C extends Collection<E>>
CAdds all elements from the supplied Iteration to the specified collection.Get a List containing all elements obtained from the specified Iteration.Get a Set containing all elements obtained from the specified Iteration.Get a Set containing all elements obtained from the specified Iteration.static <X extends Exception>
voidIterations.closeCloseable
(Iteration<?, X> iter) Closes the supplied Iteration if it is an instance ofCloseableIteration
, otherwise the request is ignored.static <T> Stream<T>
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>
voidIterations.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.ModifierConstructorDescriptionprotected
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.protected
ExceptionConvertingIteration
(Iteration<? extends E, ? extends Exception> iter) Creates a new ExceptionConvertingIteration that operates on the supplied iteration.protected
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, 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, Supplier<Set<E>> setMaker) 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, Supplier<Set<E>> setMaker) IterationSpliterator
(Iteration<T, ? extends Exception> iteration) Creates aSpliterator
implementation that wraps the suppliedIteration
.protected
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.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, Supplier<Set<E>> setMaker) 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) protected
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.ModifierConstructorDescriptionUnionIteration
(Iterable<? extends Iteration<? extends E, X>> args) Creates a new UnionIteration that returns the bag union of the results of a number of Iterations. -
Uses of Iteration in org.eclipse.rdf4j.common.iterator
ModifierConstructorDescriptionCloseableIterationIterator
(Iteration<? extends E, ? extends RuntimeException> iteration) -
Uses of Iteration in org.eclipse.rdf4j.federated.evaluation.concurrent
Modifier and TypeClassDescriptionclass
Specialized variants ofQueueCursor
which avoids converting any exception if it is already of typeQueryEvaluationException
.class
Base class for common parallel executors such asJoinExecutorBase
andUnionExecutorBase
.class
Parallel executor forFedXService
nodes, which wrap SERVICE expressions. -
Uses of Iteration in org.eclipse.rdf4j.federated.evaluation.iterator
Modifier and TypeClassDescriptionclass
Inserts original bindings into the result.class
Inserts original bindings into the result.class
A wrapping iteration that attempts to close the dependentRepositoryConnection
after consumption.class
A specializedCloseableIteration
that consumes part (or the entire input iteration if it fits into the buffer) and keeps data for further processing in memory.class
SpecializedDescribeIteration
for evaluation of DESCRIBE queries in the federation.class
Filters iteration according to specified filterExpr and inserts original bindings into filtered results.class
Filters iteration according to specified filterExpr.class
Converts graph results into a binding set iterationclass
Retrieves the original bindings for the particular resultclass
Inserts original bindings into the result.class
Inserts original bindings into the result.class
Inserts original bindings into the result.class
Inserts original bindings into the result.class
A specializedCloseableIteration
that allows repetitive iterations after resetting the cursor usingLazyMutableClosableIteration.resetCursor()
.class
Print the bindings of the inner iteration to stdout, however maintain a copy, which is accessible through this iteration.class
An iteration which wraps the final result and in case of exceptions aborts query evaluation for the corresponding query in fedx (potentially subqueries are still running, and jobs are scheduled).class
Convenience iteration to convertRepositoryResult
exceptions toQueryEvaluationException
.class
Represents an iteration that contains only a single binding set.class
Converts Statement iteration (i.e.class
A wrapping iteration that attempts to close all running scheduledFuture
s for the given query evaluation.ModifierConstructorDescriptionFederatedDescribeIteration
(Iteration<BindingSet, QueryEvaluationException> sourceIter, FederationEvalStrategy strategy, Set<String> describeExprNames, BindingSet parentBindings, QueryInfo queryInfo) RepositoryExceptionConvertingIteration
(Iteration<? extends T, ? extends Exception> iter) -
Uses of Iteration in org.eclipse.rdf4j.federated.evaluation.join
Modifier and TypeClassDescriptionclass
Execute the nested loop join in an asynchronous fashion, using grouped requests, i.e.class
Execute the nested loop join in an asynchronous fashion, i.e.class
Execute the nested loop join in an asynchronous fashion, i.e.class
Operator for a hash join of tuple expressions.class
Base class for any join parallel join executor.class
Execute the nested loop join in a synchronous fashion, using grouped requests, i.e.class
Execute the nested loop join in a synchronous fashion, i.e. -
Uses of Iteration in org.eclipse.rdf4j.federated.evaluation.union
Modifier and TypeClassDescriptionclass
Execution of union tasks withControlledWorkerScheduler
.class
Synchronous execution of union tasks, i.e.class
Base class for any parallel union executor.class
Base class for worker unions providing convenience functions to add tasks. -
Uses of Iteration in org.eclipse.rdf4j.query
Modifier and TypeInterfaceDescriptioninterface
A representation of a query result as a sequence ofStatement
objects.interface
QueryResult<T>
Super type of all query result types (TupleQueryResult, GraphQueryResult, etc.).interface
A representation of a variable-binding query result as a sequence ofBindingSet
objects. -
Uses of Iteration in org.eclipse.rdf4j.query.algebra
Modifier and TypeMethodDescriptionvoid
BinaryTupleOperator.setAlgorithm
(Iteration<BindingSet, QueryEvaluationException> iteration) -
Uses of Iteration in org.eclipse.rdf4j.query.algebra.evaluation
Modifier and TypeClassDescriptionstatic class
Utility class that removes code duplication and makes a precompiled QueryEvaluationStep available as an iteration that may be created and used later.Modifier and TypeMethodDescriptionprotected Iteration<? extends BindingSet,
? extends QueryEvaluationException> QueryEvaluationStep.DelayedEvaluationIteration.createIteration()
-
Uses of Iteration in org.eclipse.rdf4j.query.algebra.evaluation.federation
Modifier and TypeClassDescriptionclass
Deprecated.since 2.3 useJoinExecutorBase
class
Deprecated.class
Deprecated.since 2.3 useServiceJoinConversionIteration
class
Iterator for efficient SERVICE evaluation (vectored). -
Uses of Iteration in org.eclipse.rdf4j.query.algebra.evaluation.iterator
Modifier and TypeClassDescriptionclass
class
Deprecated.replaced by HashJoinIterationclass
CollectionIteration<E,
X extends Exception> Deprecated.since 2.3 useCollectionIteration
class
Deprecated.class
Iteration which forms the cross product of a list of materialized input bindings with each result obtained from the inner iteration.class
Iteration that implements a simplified version of Symmetric Concise Bounded Description (omitting reified statements).class
class
class
class
Generic hash join implementation suitable for use by Sail implementations.class
Interleaved join iterator.class
class
class
Sorts the input and optionally applies limit and distinct.class
class
class
Makes aQueryContext
available during iteration.class
Deprecated.since 3.1.2.class
SPARQLMinusIteration<X extends Exception>
An Iteration that returns the results of an Iteration (the left argument) MINUS any results that are compatible with results of another Iteration (the right argument) or that have no shared variables.class
Modifier and TypeMethodDescriptionprotected Iteration<BindingSet,
QueryEvaluationException> OrderIterator.createIteration()
protected Iteration<BindingSet,
X> SPARQLMinusIteration.getRightArg()
Modifier and TypeMethodDescriptionprotected Set<BindingSet>
SPARQLMinusIteration.makeSet
(Iteration<BindingSet, X> rightArg2) ModifierConstructorDescriptionDescribeIteration
(Iteration<BindingSet, QueryEvaluationException> sourceIter, EvaluationStrategy strategy, Set<String> describeExprNames, BindingSet parentBindings) SPARQLMinusIteration
(Iteration<BindingSet, X> leftArg, Iteration<BindingSet, X> rightArg) Creates a new MinusIteration that returns the results of the left argument minus the results of the right argument.SPARQLMinusIteration
(Iteration<BindingSet, X> leftArg, Iteration<BindingSet, X> rightArg, boolean distinct) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Iteration in org.eclipse.rdf4j.query.algebra.evaluation.limited.iterator
Modifier and TypeMethodDescriptionstatic Set<BindingSet>
LimitedSizeIteratorUtil.addAll
(Iteration<? extends BindingSet, ? extends QueryEvaluationException> arg2, Set<BindingSet> includeSet, AtomicLong used, long maxSize) ModifierConstructorDescriptionLimitedSizeDistinctIteration
(Iteration<? extends BindingSet, ? extends QueryEvaluationException> iter, AtomicLong used, long maxSize) -
Uses of Iteration in org.eclipse.rdf4j.query.algebra.evaluation.util
Modifier and TypeMethodDescriptionstatic Iteration<Value,
QueryEvaluationException> TripleSources.list
(Resource subj, TripleSource store) TripleSources.listResources
(Resource subj, TripleSource store) -
Uses of Iteration in org.eclipse.rdf4j.query.impl
Modifier and TypeClassDescriptionprotected class
class
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.class
An iterating implementation of theTupleQueryResult
interface.class
An implementation of theTupleQueryResult
interface that stores the complete query result in memory.class
QueueCursor<E>
Makes working with a queue easier by adding the methodsQueueIteration.done()
andQueueIteration.toss(Exception)
and automatically converting the exception into a QueryEvaluationException with an appropriate stack trace.class
Deprecated.since 2.0.ModifierConstructorDescriptionMutableTupleQueryResult
(Collection<String> bindingNames, Iteration<? extends BindingSet, E> bindingSetIter) QueryInterruptIteration
(Iteration<? extends BindingSet, ? extends QueryEvaluationException> iter, long timeLimit) -
Uses of Iteration in org.eclipse.rdf4j.query.parser.impl
ModifierConstructorDescriptionQueryInterruptIteration
(Iteration<? extends BindingSet, ? extends QueryEvaluationException> iter, long timeLimit) -
Uses of Iteration in org.eclipse.rdf4j.query.resultio.helpers
Modifier and TypeClassDescriptionclass
Provides concurrent access to tuple results as they are being parsed. -
Uses of Iteration in org.eclipse.rdf4j.repository
Modifier and TypeClassDescriptionclass
Modifier and TypeMethodDescription<E extends Exception>
voidAdds the supplied statements to this repository, optionally to one or more named contexts.<E extends Exception>
voidRemoves the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves. -
Uses of Iteration in org.eclipse.rdf4j.repository.base
Modifier and TypeMethodDescription<E extends Exception>
void<E extends Exception>
voidRepositoryConnectionWrapper.add
(Iteration<? extends Statement, E> statementIter, Resource... contexts) <E extends Exception>
voidAbstractRepositoryConnection.remove
(Iteration<? extends Statement, E> statements, Resource... contexts) <E extends Exception>
voidRepositoryConnectionWrapper.remove
(Iteration<? extends Statement, E> statementIter, Resource... contexts) -
Uses of Iteration in org.eclipse.rdf4j.repository.contextaware
-
Uses of Iteration in org.eclipse.rdf4j.repository.sparql
Modifier and TypeMethodDescriptionprotected Iteration<Statement,
QueryEvaluationException> SPARQLConnection.toStatementIteration
(TupleQueryResult iter, Resource subj, IRI pred, Value obj) Converts aTupleQueryResult
resulting from theSPARQLConnection.EVERYTHING_WITH_GRAPH
to a statement by using the respective values from theBindingSet
or (if provided) the ones from the arguments. -
Uses of Iteration in org.eclipse.rdf4j.repository.sparql.federation
Modifier and TypeClassDescriptionclass
CollectionIteration<E,
X extends Exception> An iteration to access a materializedCollection
of BindingSets.class
Base class for any join parallel join executor.class
Inserts original bindings into the result, uses ?__rowIdx to resolve original bindings.class
Iteration which forms the cross product of a list of materialized input bindings with each result obtained from the inner iteration. -
Uses of Iteration in org.eclipse.rdf4j.repository.sparql.query
Modifier and TypeClassDescriptionclass
Adds more bindings to each of the results. -
Uses of Iteration in org.eclipse.rdf4j.sail.base
Modifier and TypeClassDescriptionclass
An Iteration that takes two source. -
Uses of Iteration in org.eclipse.rdf4j.sail.extensiblestore
Modifier and TypeClassDescriptionclass
FilteringIteration<E extends ExtensibleStatement,
X extends Exception> A wrapper for an Iteration that filters the statements against a pattern similar to getStatements(Resource subject, IRI predicate, Value object, Resource... -
Uses of Iteration in org.eclipse.rdf4j.sail.memory.model
Modifier and TypeClassDescriptionclass
MemStatementIterator<X extends Exception>
A StatementIterator that can iterate over a list of Statement objects. -
Uses of Iteration in org.eclipse.rdf4j.sail.shacl.ast.planNodes
-
Uses of Iteration in org.eclipse.rdf4j.sail.shacl.wrapper.data
-
Uses of Iteration in org.eclipse.rdf4j.spring.operationlog
-
Uses of Iteration in org.eclipse.rdf4j.spring.resultcache
Modifier and TypeClassDescriptionclass
class
class
Wrapper for a TupleQueryResult, allowing the result to be replayed.class
Wrapper for a TupleQueryResult, allowing the result to be replayed. -
Uses of Iteration in org.eclipse.rdf4j.spring.tx
Modifier and TypeMethodDescription<E extends Exception>
voidTransactionalRepositoryConnection.add
(Iteration<? extends Statement, E> statementIter, Resource... contexts) <E extends Exception>
voidTransactionalRepositoryConnection.remove
(Iteration<? extends Statement, E> statementIter, Resource... contexts)