Class FederatedDescribeIteration
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<BindingSet>
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
ConstructorDescriptionFederatedDescribeIteration
(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 void
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 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:
createNextIteration
in classDescribeIteration
- Throws:
QueryEvaluationException
-
handleClose
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
-