public class PathIteration extends LookAheadIteration<BindingSet,QueryEvaluationException>
Modifier and Type | Class and Description |
---|---|
protected static class |
PathIteration.ValuePair |
Constructor and Description |
---|
PathIteration(EvaluationStrategyImpl evaluationStrategyImpl,
StatementPattern.Scope scope,
Var startVar,
TupleExpr pathExpression,
Var endVar,
Var contextVar,
long minLength,
BindingSet bindings) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
add(Set<PathIteration.ValuePair> valueSet,
PathIteration.ValuePair vp) |
protected boolean |
addToQueue(Queue<PathIteration.ValuePair> valueQueue2,
PathIteration.ValuePair vp) |
Var |
createAnonVar(String varName) |
protected BindingSet |
getNextElement()
Gets the next element.
|
protected Queue<PathIteration.ValuePair> |
makeQueue() |
protected Set<PathIteration.ValuePair> |
makeSet() |
handleClose, hasNext, next, remove
close, isClosed
public PathIteration(EvaluationStrategyImpl evaluationStrategyImpl, StatementPattern.Scope scope, Var startVar, TupleExpr pathExpression, Var endVar, Var contextVar, long minLength, BindingSet bindings) throws QueryEvaluationException
QueryEvaluationException
protected BindingSet getNextElement() throws QueryEvaluationException
LookAheadIteration
getNextElement
in class LookAheadIteration<BindingSet,QueryEvaluationException>
QueryEvaluationException
protected boolean addToQueue(Queue<PathIteration.ValuePair> valueQueue2, PathIteration.ValuePair vp) throws QueryEvaluationException
valueQueue2
- vp
- QueryEvaluationException
protected boolean add(Set<PathIteration.ValuePair> valueSet, PathIteration.ValuePair vp) throws QueryEvaluationException
valueSet
- vp
- QueryEvaluationException
protected Set<PathIteration.ValuePair> makeSet()
protected Queue<PathIteration.ValuePair> makeQueue()
Copyright © 2001-2016 Aduna. All Rights Reserved.