public final class AddEdgeStep<S> extends MapStep<S,Edge> implements Mutating<Event.EdgeAddedEvent>, TraversalParent, Parameterizing
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description | 
|---|
| AddEdgeStep(Traversal.Admin traversal,
           String edgeLabel) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addFrom(Object fromObject) | 
| void | addPropertyMutations(Object... keyValues) | 
| void | addTo(Object toObject) | 
| AddEdgeStep<S> | 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() | 
| Set<TraverserRequirement> | getRequirements()Provide the necessary  TraverserRequirementthat must be met by the traverser in order for the step to function properly. | 
| int | hashCode() | 
| protected Edge | map(Traverser.Admin<S> traverser) | 
| String | toString() | 
processNextStartaddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, addLocalChild, asStep, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChildforEachRemaining, removepublic AddEdgeStep(Traversal.Admin traversal, String edgeLabel)
public <S,E> List<Traversal.Admin<S,E>> getLocalChildren()
getLocalChildren in interface TraversalParentpublic Parameters getParameters()
getParameters in interface Parameterizingpublic void addPropertyMutations(Object... keyValues)
addPropertyMutations in interface Mutating<Event.EdgeAddedEvent>public void addTo(Object toObject)
public void addFrom(Object fromObject)
public Set<TraverserRequirement> getRequirements()
StepTraverserRequirement 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<S,Edge>public CallbackRegistry<Event.EdgeAddedEvent> getMutatingCallbackRegistry()
MutatinggetMutatingCallbackRegistry in interface Mutating<Event.EdgeAddedEvent>public int hashCode()
hashCode in class AbstractStep<S,Edge>public String toString()
toString in class AbstractStep<S,Edge>public AddEdgeStep<S> clone()
StepEmptyStep.Copyright © 2013–2015 Apache Software Foundation. All rights reserved.