Class DescribeIteration
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
-
- org.eclipse.rdf4j.common.iteration.LookAheadIteration<BindingSet,QueryEvaluationException>
-
- org.eclipse.rdf4j.query.algebra.evaluation.iterator.DescribeIteration
-
- All Implemented Interfaces:
java.lang.AutoCloseable,CloseableIteration<BindingSet,QueryEvaluationException>,Iteration<BindingSet,QueryEvaluationException>
@Deprecated(since="4.1.0") public class DescribeIteration extends LookAheadIteration<BindingSet,QueryEvaluationException>
Deprecated.Iteration that implements a simplified version of Symmetric Concise Bounded Description (omitting reified statements).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classDescribeIteration.ModeDeprecated.
-
Field Summary
Fields Modifier and Type Field Description private BindingSetcurrentBindingsDeprecated.private CloseableIteration<BindingSet,QueryEvaluationException>currentDescribeExprIterDeprecated.private DescribeIteration.ModecurrentModeDeprecated.private java.util.List<java.lang.String>describeExprNamesDeprecated.private intdescribeExprsIndexDeprecated.private java.util.Queue<BNode>nodeQueueDeprecated.protected BindingSetparentBindingsDeprecated.private java.util.Set<BNode>processedNodesDeprecated.private Iteration<BindingSet,QueryEvaluationException>sourceIterDeprecated.private ValuestartValueDeprecated.private EvaluationStrategystrategyDeprecated.protected static java.lang.StringVARNAME_OBJECTDeprecated.protected static java.lang.StringVARNAME_PREDICATEDeprecated.protected static java.lang.StringVARNAME_SUBJECTDeprecated.
-
Constructor Summary
Constructors Constructor Description DescribeIteration(Iteration<BindingSet,QueryEvaluationException> sourceIter, EvaluationStrategy strategy, java.util.Set<java.lang.String> describeExprNames, BindingSet parentBindings)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected CloseableIteration<BindingSet,QueryEvaluationException>createNextIteration(Value subject, Value object)Deprecated.protected BindingSetgetNextElement()Deprecated.Gets the next element.protected voidhandleClose()Deprecated.Called byAbstractCloseableIteration.close()when it is called for the first time.private voidresetCurrentDescribeExprIter()Deprecated.-
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
-
-
-
-
Field Detail
-
VARNAME_SUBJECT
protected static final java.lang.String VARNAME_SUBJECT
Deprecated.- See Also:
- Constant Field Values
-
VARNAME_PREDICATE
protected static final java.lang.String VARNAME_PREDICATE
Deprecated.- See Also:
- Constant Field Values
-
VARNAME_OBJECT
protected static final java.lang.String VARNAME_OBJECT
Deprecated.- See Also:
- Constant Field Values
-
describeExprNames
private final java.util.List<java.lang.String> describeExprNames
Deprecated.
-
strategy
private final EvaluationStrategy strategy
Deprecated.
-
startValue
private Value startValue
Deprecated.
-
nodeQueue
private final java.util.Queue<BNode> nodeQueue
Deprecated.
-
processedNodes
private final java.util.Set<BNode> processedNodes
Deprecated.
-
currentDescribeExprIter
private CloseableIteration<BindingSet,QueryEvaluationException> currentDescribeExprIter
Deprecated.
-
currentMode
private DescribeIteration.Mode currentMode
Deprecated.
-
sourceIter
private final Iteration<BindingSet,QueryEvaluationException> sourceIter
Deprecated.
-
currentBindings
private BindingSet currentBindings
Deprecated.
-
describeExprsIndex
private int describeExprsIndex
Deprecated.
-
parentBindings
protected BindingSet parentBindings
Deprecated.
-
-
Constructor Detail
-
DescribeIteration
public DescribeIteration(Iteration<BindingSet,QueryEvaluationException> sourceIter, EvaluationStrategy strategy, java.util.Set<java.lang.String> describeExprNames, BindingSet parentBindings)
Deprecated.
-
-
Method Detail
-
resetCurrentDescribeExprIter
private void resetCurrentDescribeExprIter() throws QueryEvaluationExceptionDeprecated.- Throws:
QueryEvaluationException
-
getNextElement
protected BindingSet getNextElement() throws QueryEvaluationException
Deprecated.Description copied from class:LookAheadIterationGets the next element. Subclasses should implement this method so that it returns the next element.- Specified by:
getNextElementin classLookAheadIteration<BindingSet,QueryEvaluationException>- Returns:
- The next element, or null if no more elements are available.
- Throws:
QueryEvaluationException
-
createNextIteration
protected CloseableIteration<BindingSet,QueryEvaluationException> createNextIteration(Value subject, Value object) throws QueryEvaluationException
Deprecated.- Throws:
QueryEvaluationException
-
handleClose
protected void handleClose() throws QueryEvaluationExceptionDeprecated.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 classLookAheadIteration<BindingSet,QueryEvaluationException>- Throws:
QueryEvaluationException
-
-