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>
Specialized
DescribeIteration 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
ConstructorsConstructorDescriptionFederatedDescribeIteration(CloseableIteration<BindingSet> sourceIter, FederationEvalStrategy strategy, Set<String> describeExprNames, BindingSet parentBindings, QueryInfo queryInfo) -
Method Summary
Modifier and TypeMethodDescriptionprotected CloseableIteration<BindingSet>createNextIteration(Value subject, Value object) protected voidCalled byAbstractCloseableIteration.close()when it is called for the first time.Methods inherited from class org.eclipse.rdf4j.query.algebra.evaluation.iterator.DescribeIteration
getNextElementMethods inherited from class org.eclipse.rdf4j.common.iteration.LookAheadIteration
hasNext, next, removeMethods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
streamMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
FederatedDescribeIteration
public FederatedDescribeIteration(CloseableIteration<BindingSet> sourceIter, FederationEvalStrategy strategy, Set<String> describeExprNames, BindingSet parentBindings, QueryInfo queryInfo)
-
-
Method Details
-
createNextIteration
protected CloseableIteration<BindingSet> createNextIteration(Value subject, Value object) throws QueryEvaluationException - Overrides:
createNextIterationin classDescribeIteration- Throws:
QueryEvaluationException
-
handleClose
Description copied from class:AbstractCloseableIterationCalled 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:
handleClosein classDescribeIteration- Throws:
QueryEvaluationException
-