public class PathIteration extends LookAheadIteration<BindingSet,QueryEvaluationException>
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | PathIteration.ValuePair | 
| Constructor and Description | 
|---|
| PathIteration(StrictEvaluationStrategy 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 void | handleClose()Called by  AbstractCloseableIteration.close()when it is called for the first time. | 
| protected boolean | isUnbound(Var var,
         BindingSet bindings) | 
| protected Queue<PathIteration.ValuePair> | makeQueue() | 
| protected Set<PathIteration.ValuePair> | makeSet() | 
hasNext, next, removeclose, isClosedpublic PathIteration(StrictEvaluationStrategy evaluationStrategyImpl, StatementPattern.Scope scope, Var startVar, TupleExpr pathExpression, Var endVar, Var contextVar, long minLength, BindingSet bindings) throws QueryEvaluationException
QueryEvaluationExceptionprotected BindingSet getNextElement() throws QueryEvaluationException
LookAheadIterationgetNextElement in class LookAheadIteration<BindingSet,QueryEvaluationException>QueryEvaluationExceptionprotected void handleClose()
                    throws QueryEvaluationException
AbstractCloseableIterationAbstractCloseableIteration.close() when it is called for the first time. This method is only called once on each iteration.
 By default, this method does nothing.handleClose in class LookAheadIteration<BindingSet,QueryEvaluationException>QueryEvaluationExceptionprotected boolean addToQueue(Queue<PathIteration.ValuePair> valueQueue2, PathIteration.ValuePair vp) throws QueryEvaluationException
valueQueue2 - vp - QueryEvaluationExceptionprotected boolean add(Set<PathIteration.ValuePair> valueSet, PathIteration.ValuePair vp) throws QueryEvaluationException
valueSet - vp - QueryEvaluationExceptionprotected boolean isUnbound(Var var, BindingSet bindings)
protected Set<PathIteration.ValuePair> makeSet()
protected Queue<PathIteration.ValuePair> makeQueue()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.