Class StartStep<S>
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,S>
org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.StartStep<S>
- All Implemented Interfaces:
Serializable,Cloneable,Iterator<Traverser.Admin<S>>,Step<S,S>
- Direct Known Subclasses:
InjectStep
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild -
Constructor Summary
ConstructorsConstructorDescriptionStartStep(Traversal.Admin traversal) StartStep(Traversal.Admin traversal, Object start) -
Method Summary
Modifier and TypeMethodDescriptionclone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.<T> TgetStart()inthashCode()static booleanisVariableStartStep(Step<?, ?> step) protected Traverser.Admin<S>toString()Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
addLabel, addStart, addStarts, clearLabels, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversalMethods 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, getRequirements
-
Field Details
-
start
-
first
protected boolean first
-
-
Constructor Details
-
StartStep
-
StartStep
-
-
Method Details
-
getStart
public <T> T getStart() -
toString
- Overrides:
toStringin classAbstractStep<S,S>
-
processNextStart
- Specified by:
processNextStartin classAbstractStep<S,S>
-
clone
Description copied from interface:StepCloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication. When cloning a step, it is important that the steps, the cloned step is equivalent to the state of the step whenStep.reset()is called. Moreover, the previous and next steps should be set toEmptyStep. -
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractStep<S,S>
-
isVariableStartStep
-