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
 
 public class StartStep<S> extends AbstractStep<S,S> - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleanfirstprotected Objectstart- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
 
- 
 - 
Constructor SummaryConstructors Constructor Description StartStep(Traversal.Admin traversal)StartStep(Traversal.Admin traversal, Object start)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StartStep<S>clone()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>processNextStart()StringtoString()- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepaddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, remove
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Stepequals, getRequirements
 
- 
 
- 
- 
- 
Field Detail- 
startprotected Object start 
 - 
firstprotected boolean first 
 
- 
 - 
Constructor Detail- 
StartSteppublic StartStep(Traversal.Admin traversal, Object start) 
 - 
StartSteppublic StartStep(Traversal.Admin traversal) 
 
- 
 - 
Method Detail- 
getStartpublic <T> T getStart() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- AbstractStep<S,S>
 
 - 
processNextStartprotected Traverser.Admin<S> processNextStart() - Specified by:
- processNextStartin class- AbstractStep<S,S>
 
 - 
clonepublic StartStep<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.
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AbstractStep<S,S>
 
 - 
isVariableStartSteppublic static boolean isVariableStartStep(Step<?,?> step) 
 
- 
 
-