public class StartStep<S> extends AbstractStep<S,S>
Modifier and Type | Field and Description |
---|---|
protected boolean |
first |
protected Object |
start |
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
StartStep(Traversal.Admin traversal) |
StartStep(Traversal.Admin traversal,
Object start) |
Modifier and Type | Method and Description |
---|---|
StartStep<S> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
<T> T |
getStart() |
int |
hashCode() |
static boolean |
isVariableStartStep(Step<?,?> step) |
protected Traverser.Admin<S> |
processNextStart() |
String |
toString() |
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getRequirements
forEachRemaining, remove
protected Object start
protected boolean first
public StartStep(Traversal.Admin traversal, Object start)
public StartStep(Traversal.Admin traversal)
public <T> T getStart()
public String toString()
toString
in class AbstractStep<S,S>
protected Traverser.Admin<S> processNextStart()
processNextStart
in class AbstractStep<S,S>
public StartStep<S> clone()
Step
Step.reset()
is called. Moreover, the previous and next steps should be set to EmptyStep
.public int hashCode()
hashCode
in class AbstractStep<S,S>
public static boolean isVariableStartStep(Step<?,?> step)
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.