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 class
DescribeIteration.Mode
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description private BindingSet
currentBindings
Deprecated.private CloseableIteration<BindingSet,QueryEvaluationException>
currentDescribeExprIter
Deprecated.private DescribeIteration.Mode
currentMode
Deprecated.private java.util.List<java.lang.String>
describeExprNames
Deprecated.private int
describeExprsIndex
Deprecated.private java.util.Queue<BNode>
nodeQueue
Deprecated.protected BindingSet
parentBindings
Deprecated.private java.util.Set<BNode>
processedNodes
Deprecated.private Iteration<BindingSet,QueryEvaluationException>
sourceIter
Deprecated.private Value
startValue
Deprecated.private EvaluationStrategy
strategy
Deprecated.protected static java.lang.String
VARNAME_OBJECT
Deprecated.protected static java.lang.String
VARNAME_PREDICATE
Deprecated.protected static java.lang.String
VARNAME_SUBJECT
Deprecated.
-
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 BindingSet
getNextElement()
Deprecated.Gets the next element.protected void
handleClose()
Deprecated.Called byAbstractCloseableIteration.close()
when it is called for the first time.private void
resetCurrentDescribeExprIter()
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 QueryEvaluationException
Deprecated.- Throws:
QueryEvaluationException
-
getNextElement
protected BindingSet getNextElement() throws QueryEvaluationException
Deprecated.Description copied from class:LookAheadIteration
Gets the next element. Subclasses should implement this method so that it returns the next element.- Specified by:
getNextElement
in 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 QueryEvaluationException
Deprecated.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 classLookAheadIteration<BindingSet,QueryEvaluationException>
- Throws:
QueryEvaluationException
-
-