public final class AddPropertyStep<S extends Element> extends SideEffectStep<S> implements Mutating<Event.ElementPropertyChangedEvent>, TraversalParent, Parameterizing
id, 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() |
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 void |
sideEffect(Traverser.Admin<S> traverser) |
String |
toString() |
processNextStart
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
addGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild
forEachRemaining, remove
public AddPropertyStep(Traversal.Admin traversal, VertexProperty.Cardinality cardinality, Object keyObject, Object valueObject)
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.ElementPropertyChangedEvent>
protected void sideEffect(Traverser.Admin<S> traverser)
sideEffect
in class SideEffectStep<S extends Element>
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.public CallbackRegistry<Event.ElementPropertyChangedEvent> getMutatingCallbackRegistry()
Mutating
getMutatingCallbackRegistry
in interface Mutating<Event.ElementPropertyChangedEvent>
public int hashCode()
public String toString()
public AddPropertyStep<S> clone()
Step
EmptyStep
.Copyright © 2013–2017 Apache Software Foundation. All rights reserved.