public final class InjectStep<S> extends StartStep<S>
first, start
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
InjectStep(Traversal.Admin traversal,
S... injections) |
Modifier and Type | Method and Description |
---|---|
InjectStep<S> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
S[] |
getInjections() |
void |
reset()
Reset the state of the step such that it has no incoming starts.
|
getStart, hashCode, isVariableStartStep, processNextStart, toString
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getRequirements
forEachRemaining, remove
@SafeVarargs public InjectStep(Traversal.Admin traversal, S... injections)
public InjectStep<S> clone()
Step
Step.reset()
is called. Moreover, the previous and next steps should be set to EmptyStep
.public void reset()
Step
public S[] getInjections()
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.