public class GraphStep<S,E extends Element> extends AbstractStep<S,E> implements EngineDependent
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | done | 
| protected Object[] | ids | 
| protected boolean | isStart | 
| protected Supplier<Iterator<E>> | iteratorSupplier | 
| protected Class<E> | returnClass | 
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description | 
|---|
| GraphStep(Traversal.Admin traversal,
         Class<E> returnClass,
         boolean isStart,
         Object... ids) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clearIds() | 
| Object[] | getIds() | 
| Class<E> | getReturnClass() | 
| int | hashCode() | 
| boolean | isStartStep() | 
| static boolean | isStartStep(Step<?,?> step) | 
| void | onEngine(TraversalEngine traversalEngine) | 
| protected Traverser<E> | processNextStart() | 
| void | reset()Reset the state of the step such that it has no incoming starts. | 
| boolean | returnsEdge() | 
| boolean | returnsVertex() | 
| void | setIteratorSupplier(Supplier<Iterator<E>> iteratorSupplier) | 
| String | toString() | 
addLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitequals, getRequirementsforEachRemaining, removeprotected Object[] ids
protected boolean isStart
protected boolean done
public GraphStep(Traversal.Admin traversal, Class<E> returnClass, boolean isStart, Object... ids)
public boolean isStartStep()
public static boolean isStartStep(Step<?,?> step)
public boolean returnsVertex()
public boolean returnsEdge()
public Object[] getIds()
public void clearIds()
public void onEngine(TraversalEngine traversalEngine)
onEngine in interface EngineDependentprotected Traverser<E> processNextStart()
processNextStart in class AbstractStep<S,E extends Element>public void reset()
Steppublic int hashCode()
hashCode in class AbstractStep<S,E extends Element>Copyright © 2013–2015 Apache Software Foundation. All rights reserved.