public abstract class VertexProgramStep extends AbstractStep<ComputerResult,ComputerResult> implements VertexComputing
Modifier and Type | Field and Description |
---|---|
protected Computer |
computer |
protected boolean |
first |
static String |
ROOT_TRAVERSAL |
static String |
STEP_ID |
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
VertexProgramStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
Computer |
getComputer()
Get the
Computer for generating the GraphComputer . |
protected boolean |
isEndStep() |
protected boolean |
previousTraversalVertexProgram() |
protected Traverser.Admin<ComputerResult> |
processNextStart() |
void |
setComputer(Computer computer)
Set the
Computer to be used to generate the GraphComputer . |
addLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
generateComputer, generateProgram
equals, getRequirements
forEachRemaining, remove
public static final String ROOT_TRAVERSAL
public static final String STEP_ID
protected Computer computer
protected boolean first
public VertexProgramStep(Traversal.Admin traversal)
protected Traverser.Admin<ComputerResult> processNextStart() throws NoSuchElementException
processNextStart
in class AbstractStep<ComputerResult,ComputerResult>
NoSuchElementException
public Computer getComputer()
VertexComputing
Computer
for generating the GraphComputer
.
Inferences on the state of the Step
within the Traversal
can be use applied here.getComputer
in interface VertexComputing
public void setComputer(Computer computer)
VertexComputing
Computer
to be used to generate the GraphComputer
.setComputer
in interface VertexComputing
computer
- the computer specification.protected boolean previousTraversalVertexProgram()
protected boolean isEndStep()
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.