public final class AddEdgeStartStep extends AbstractStep<Edge,Edge> implements Mutating<Event.EdgeAddedEvent>, TraversalParent, Parameterizing, Scoping, FromToModulating
Scoping.Variable
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
AddEdgeStartStep(Traversal.Admin traversal,
String edgeLabel) |
AddEdgeStartStep(Traversal.Admin traversal,
Traversal<?,String> edgeLabelTraversal) |
Modifier and Type | Method and Description |
---|---|
void |
addFrom(Traversal.Admin<?,?> fromObject) |
void |
addPropertyMutations(Object... keyValues) |
void |
addTo(Traversal.Admin<?,?> toObject) |
AddEdgeStartStep |
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.EdgeAddedEvent> |
getMutatingCallbackRegistry()
Gets the callback registry for events that the step raises.
|
Parameters |
getParameters()
Gets the parameters on the step.
|
Set<String> |
getScopeKeys()
Get the labels that this scoping step will access during the traversal
|
int |
hashCode() |
protected Traverser.Admin<Edge> |
processNextStart() |
void |
setTraversal(Traversal.Admin<?,?> parentTraversal)
Set the
Traversal that this step is contained within. |
String |
toString() |
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep
finalize, getClass, notify, notifyAll, wait, wait, wait
addGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild
getNullableScopeValue, getScopeValue
addFrom, addTo
equals, getRequirements
forEachRemaining, remove
public AddEdgeStartStep(Traversal.Admin traversal, String edgeLabel)
public AddEdgeStartStep(Traversal.Admin traversal, Traversal<?,String> edgeLabelTraversal)
public <S,E> List<Traversal.Admin<S,E>> getLocalChildren()
getLocalChildren
in interface TraversalParent
public Parameters getParameters()
Parameterizing
getParameters
in interface Parameterizing
public Set<String> getScopeKeys()
Scoping
getScopeKeys
in interface Scoping
public void addPropertyMutations(Object... keyValues)
addPropertyMutations
in interface Mutating<Event.EdgeAddedEvent>
public void addTo(Traversal.Admin<?,?> toObject)
addTo
in interface FromToModulating
public void addFrom(Traversal.Admin<?,?> fromObject)
addFrom
in interface FromToModulating
protected Traverser.Admin<Edge> processNextStart()
processNextStart
in class AbstractStep<Edge,Edge>
public CallbackRegistry<Event.EdgeAddedEvent> getMutatingCallbackRegistry()
Mutating
getMutatingCallbackRegistry
in interface Mutating<Event.EdgeAddedEvent>
public int hashCode()
hashCode
in class AbstractStep<Edge,Edge>
public String toString()
toString
in class AbstractStep<Edge,Edge>
public void setTraversal(Traversal.Admin<?,?> parentTraversal)
Step
Traversal
that this step is contained within.setTraversal
in interface Step<Edge,Edge>
setTraversal
in class AbstractStep<Edge,Edge>
parentTraversal
- the new traversal for this steppublic AddEdgeStartStep clone()
Step
EmptyStep
.Copyright © 2013–2019 Apache Software Foundation. All rights reserved.