public final class AddEdgeStep<S> extends FlatMapStep<S,Edge> implements Scoping, Mutating<Event.EdgeAddedEvent>
Scoping.Variableid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdSetByChildTYPICAL_GLOBAL_REQUIREMENTS, TYPICAL_GLOBAL_REQUIREMENTS_ARRAY, TYPICAL_LOCAL_REQUIREMENTS, TYPICAL_LOCAL_REQUIREMENTS_ARRAY| Constructor and Description |
|---|
AddEdgeStep(Traversal.Admin traversal,
Direction direction,
String firstVertexKey,
String edgeLabel,
String secondVertexKey,
Object... propertyKeyValues) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<Edge> |
flatMap(Traverser.Admin<S> traverser) |
Direction |
getDirection() |
String |
getEdgeLabel() |
String |
getFirstVertexKey() |
CallbackRegistry<Event.EdgeAddedEvent> |
getMutatingCallbackRegistry()
Gets the callback registry for events that the step raises.
|
Object[] |
getPropertyKeyValues() |
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
Set<String> |
getScopeKeys() |
String |
getSecondVertexKey() |
int |
hashCode() |
processNextStart, resetaddLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetNullableScopeValue, getScopeValueforEachRemaining, removepublic Direction getDirection()
public String getFirstVertexKey()
public String getEdgeLabel()
public String getSecondVertexKey()
public Object[] getPropertyKeyValues()
protected Iterator<Edge> flatMap(Traverser.Admin<S> traverser)
flatMap in class FlatMapStep<S,Edge>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 Set<String> getScopeKeys()
getScopeKeys in interface ScopingCopyright © 2013–2015 Apache Software Foundation. All rights reserved.