public final class AddPropertyStep<S extends Element> extends SideEffectStep<S> implements Mutating<Event.ElementPropertyChangedEvent>, TraversalParent, Parameterizing, Scoping
Scoping.Variableid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description | 
|---|
| AddPropertyStep(Traversal.Admin traversal,
               VertexProperty.Cardinality cardinality,
               Object keyObject,
               Object valueObject) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPropertyMutations(Object... keyValues) | 
| AddPropertyStep<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.ElementPropertyChangedEvent> | getMutatingCallbackRegistry()Gets the callback registry for events that the step raises. | 
| Parameters | getParameters()Gets the parameters on the step. | 
| Set<TraverserRequirement> | getRequirements()Provide the necessary  TraverserRequirementthat must be met by the traverser in order for the step to function properly. | 
| Set<String> | getScopeKeys()Get the labels that this scoping step will access during the traversal | 
| int | hashCode() | 
| void | setTraversal(Traversal.Admin<?,?> parentTraversal)Set the  Traversalthat this step is contained within. | 
| protected void | sideEffect(Traverser.Admin<S> traverser) | 
| String | toString() | 
processNextStartaddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStepfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChildgetNullableScopeValue, getScopeValueforEachRemaining, removepublic AddPropertyStep(Traversal.Admin traversal, VertexProperty.Cardinality cardinality, Object keyObject, Object valueObject)
public Parameters getParameters()
ParameterizinggetParameters in interface Parameterizingpublic Set<String> getScopeKeys()
ScopinggetScopeKeys in interface Scopingpublic <S,E> List<Traversal.Admin<S,E>> getLocalChildren()
getLocalChildren in interface TraversalParentpublic void addPropertyMutations(Object... keyValues)
addPropertyMutations in interface Mutating<Event.ElementPropertyChangedEvent>protected void sideEffect(Traverser.Admin<S> traverser)
sideEffect in class SideEffectStep<S extends Element>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.public CallbackRegistry<Event.ElementPropertyChangedEvent> getMutatingCallbackRegistry()
MutatinggetMutatingCallbackRegistry in interface Mutating<Event.ElementPropertyChangedEvent>public int hashCode()
public void setTraversal(Traversal.Admin<?,?> parentTraversal)
StepTraversal that this step is contained within.setTraversal in interface Step<S extends Element,S extends Element>setTraversal in class AbstractStep<S extends Element,S extends Element>parentTraversal - the new traversal for this steppublic String toString()
public AddPropertyStep<S> clone()
StepEmptyStep.Copyright © 2013–2018 Apache Software Foundation. All rights reserved.