public final class AddVertexStartStep extends AbstractStep<Vertex,Vertex> implements Mutating<Event.VertexAddedEvent>, TraversalParent, Parameterizing
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
AddVertexStartStep(Traversal.Admin traversal,
String label) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyMutations(Object... keyValues) |
AddVertexStartStep |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
<S,E> List<Traversal.Admin<S,E>> |
getLocalChildren() |
CallbackRegistry<Event.VertexAddedEvent> |
getMutatingCallbackRegistry()
Gets the callback registry for events that the step raises.
|
Parameters |
getParameters() |
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
int |
hashCode() |
protected Traverser.Admin<Vertex> |
processNextStart() |
void |
reset()
Reset the state of the step such that it has no incoming starts.
|
String |
toString() |
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
addGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild
forEachRemaining, remove
public AddVertexStartStep(Traversal.Admin traversal, String label)
public Parameters getParameters()
getParameters
in interface Parameterizing
public <S,E> List<Traversal.Admin<S,E>> getLocalChildren()
getLocalChildren
in interface TraversalParent
public void addPropertyMutations(Object... keyValues)
addPropertyMutations
in interface Mutating<Event.VertexAddedEvent>
protected Traverser.Admin<Vertex> processNextStart()
processNextStart
in class AbstractStep<Vertex,Vertex>
public CallbackRegistry<Event.VertexAddedEvent> getMutatingCallbackRegistry()
Mutating
getMutatingCallbackRegistry
in interface Mutating<Event.VertexAddedEvent>
public Set<TraverserRequirement> getRequirements()
Step
TraverserRequirement
that must be met by the traverser in order for the step to function properly.
The provided default implements returns an empty set.getRequirements
in interface Step<Vertex,Vertex>
public int hashCode()
hashCode
in class AbstractStep<Vertex,Vertex>
public void reset()
Step
public String toString()
toString
in class AbstractStep<Vertex,Vertex>
public AddVertexStartStep clone()
Step
EmptyStep
.Copyright © 2013–2017 Apache Software Foundation. All rights reserved.