Class FederatedDescribeIteration
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E>
-
- org.eclipse.rdf4j.common.iteration.LookAheadIteration<BindingSet>
-
- org.eclipse.rdf4j.query.algebra.evaluation.iterator.DescribeIteration
-
- org.eclipse.rdf4j.federated.evaluation.iterator.FederatedDescribeIteration
-
- All Implemented Interfaces:
AutoCloseable
,Iterator<BindingSet>
,CloseableIteration<BindingSet>
public class FederatedDescribeIteration extends DescribeIteration
SpecializedDescribeIteration
for evaluation of DESCRIBE queries in the federation. ‚- Author:
- Andreas Schwarte
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.query.algebra.evaluation.iterator.DescribeIteration
parentBindings, VARNAME_OBJECT, VARNAME_PREDICATE, VARNAME_SUBJECT
-
-
Constructor Summary
Constructors Constructor Description FederatedDescribeIteration(CloseableIteration<BindingSet> sourceIter, FederationEvalStrategy strategy, Set<String> describeExprNames, BindingSet parentBindings, QueryInfo queryInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CloseableIteration<BindingSet>
createNextIteration(Value subject, Value object)
protected void
handleClose()
Called byAbstractCloseableIteration.close()
when it is called for the first time.-
Methods inherited from class org.eclipse.rdf4j.query.algebra.evaluation.iterator.DescribeIteration
getNextElement
-
Methods inherited from class org.eclipse.rdf4j.common.iteration.LookAheadIteration
hasNext, next, remove
-
Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosed
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
stream
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
FederatedDescribeIteration
public FederatedDescribeIteration(CloseableIteration<BindingSet> sourceIter, FederationEvalStrategy strategy, Set<String> describeExprNames, BindingSet parentBindings, QueryInfo queryInfo)
-
-
Method Detail
-
createNextIteration
protected CloseableIteration<BindingSet> createNextIteration(Value subject, Value object) throws QueryEvaluationException
- Overrides:
createNextIteration
in classDescribeIteration
- Throws:
QueryEvaluationException
-
handleClose
protected void handleClose() throws QueryEvaluationException
Description copied from class:AbstractCloseableIteration
Called byAbstractCloseableIteration.close()
when it is called for the first time. This method is only called once on each iteration. By default, this method does nothing.- Overrides:
handleClose
in classDescribeIteration
- Throws:
QueryEvaluationException
-
-