Class VertexProgramStep
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<ComputerResult,ComputerResult>
org.apache.tinkerpop.gremlin.process.computer.traversal.step.map.VertexProgramStep
- All Implemented Interfaces:
Serializable,Cloneable,Iterator<Traverser.Admin<ComputerResult>>,VertexComputing,Step<ComputerResult,ComputerResult>
- Direct Known Subclasses:
ConnectedComponentVertexProgramStep,PageRankVertexProgramStep,PeerPressureVertexProgramStep,ProgramVertexProgramStep,ShortestPathVertexProgramStep,TraversalVertexProgramStep
public abstract class VertexProgramStep
extends AbstractStep<ComputerResult,ComputerResult>
implements VertexComputing
- Author:
- Marko A. Rodriguez (http://markorodriguez.com), Stephen Mallette (http://stephen.genoprime.com)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Computerprotected booleanstatic final Stringstatic final StringFields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet theComputerfor generating theGraphComputer.protected booleanprotected booleanprotected Traverser.Admin<ComputerResult>voidsetComputer(Computer computer) Set theComputerto be used to generate theGraphComputer.Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hashCode, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, removeMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Step
equals, getRequirementsMethods inherited from interface org.apache.tinkerpop.gremlin.process.computer.traversal.step.VertexComputing
generateProgram
-
Field Details
-
ROOT_TRAVERSAL
- See Also:
-
STEP_ID
- See Also:
-
computer
-
first
protected boolean first
-
-
Constructor Details
-
VertexProgramStep
-
-
Method Details
-
processNextStart
- Specified by:
processNextStartin classAbstractStep<ComputerResult,ComputerResult> - Throws:
NoSuchElementException
-
getComputer
Description copied from interface:VertexComputingGet theComputerfor generating theGraphComputer. Inferences on the state of theStepwithin theTraversalcan be use applied here.- Specified by:
getComputerin interfaceVertexComputing- Returns:
- the computer specification for generating the graph computer.
-
setComputer
Description copied from interface:VertexComputingSet theComputerto be used to generate theGraphComputer.- Specified by:
setComputerin interfaceVertexComputing- Parameters:
computer- the computer specification.
-
previousTraversalVertexProgram
protected boolean previousTraversalVertexProgram() -
isEndStep
protected boolean isEndStep()
-