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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgenerateComputer, generateProgramequals, getRequirementsforEachRemaining, removepublic 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>NoSuchElementExceptionpublic Computer getComputer()
VertexComputingComputer for generating the GraphComputer.
Inferences on the state of the Step
within the Traversal can be use applied here.getComputer in interface VertexComputingpublic void setComputer(Computer computer)
VertexComputingComputer to be used to generate the GraphComputer.setComputer in interface VertexComputingcomputer - the computer specification.protected boolean previousTraversalVertexProgram()
protected boolean isEndStep()
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.