public class GraphStep<S extends Element> extends StartStep<S> implements EngineDependent
Modifier and Type | Field and Description |
---|---|
protected Object[] |
ids |
protected Supplier<Iterator<S>> |
iteratorSupplier |
protected Class<S> |
returnClass |
first, start
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdSetByChild
Constructor and Description |
---|
GraphStep(Traversal.Admin traversal,
Class<S> returnClass,
Object... ids) |
Modifier and Type | Method and Description |
---|---|
void |
clearIds() |
Object[] |
getIds() |
Class<S> |
getReturnClass() |
void |
onEngine(TraversalEngine traversalEngine) |
protected Traverser<S> |
processNextStart() |
boolean |
returnsEdge() |
boolean |
returnsVertex() |
void |
setIteratorSupplier(Supplier<Iterator<S>> iteratorSupplier) |
String |
toString() |
clone, getStart, hashCode, isVariableStartStep
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getRequirements
forEachRemaining, remove
protected Object[] ids
public GraphStep(Traversal.Admin traversal, Class<S> returnClass, Object... ids)
public boolean returnsVertex()
public boolean returnsEdge()
public Object[] getIds()
public void clearIds()
public void onEngine(TraversalEngine traversalEngine)
onEngine
in interface EngineDependent
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.