public final class TraversalVertexProgramStep extends VertexProgramStep implements TraversalParent
| Modifier and Type | Field and Description |
|---|---|
PureTraversal<?,?> |
computerTraversal |
computer, firstid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description |
|---|
TraversalVertexProgramStep(Traversal.Admin traversal,
Traversal.Admin<?,?> computerTraversal) |
| Modifier and Type | Method and Description |
|---|---|
TraversalVertexProgramStep |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
GraphComputer |
generateComputer(Graph graph) |
TraversalVertexProgram |
generateProgram(Graph graph) |
List<Traversal.Admin<?,?>> |
getGlobalChildren() |
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
void |
setTraversal(Traversal.Admin<?,?> parentTraversal)
Set the
Traversal that this step is contained within. |
String |
toString() |
getComputer, isEndStep, previousTraversalVertexProgram, processNextStart, setComputeraddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStepfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, addLocalChild, asStep, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChildforEachRemaining, removepublic PureTraversal<?,?> computerTraversal
public TraversalVertexProgramStep(Traversal.Admin traversal, Traversal.Admin<?,?> computerTraversal)
public List<Traversal.Admin<?,?>> getGlobalChildren()
getGlobalChildren in interface TraversalParentpublic String toString()
toString in class AbstractStep<ComputerResult,ComputerResult>public Set<TraverserRequirement> getRequirements()
StepTraverserRequirement that must be met by the traverser in order for the step to function properly.
The provided default implements returns an empty set.getRequirements in interface Step<ComputerResult,ComputerResult>public TraversalVertexProgram generateProgram(Graph graph)
generateProgram in interface VertexComputingpublic GraphComputer generateComputer(Graph graph)
generateComputer in interface VertexComputingpublic TraversalVertexProgramStep clone()
StepEmptyStep.clone in interface Step<ComputerResult,ComputerResult>clone in class AbstractStep<ComputerResult,ComputerResult>public void setTraversal(Traversal.Admin<?,?> parentTraversal)
StepTraversal that this step is contained within.setTraversal in interface Step<ComputerResult,ComputerResult>setTraversal in class AbstractStep<ComputerResult,ComputerResult>parentTraversal - the new traversal for this stepCopyright © 2013–2016 Apache Software Foundation. All rights reserved.