Interface AddEdgeStepContract<S>
-
- All Superinterfaces:
AddElementStepContract<S,Edge>,AutoCloseable,Cloneable,Configuring,FromToModulating,Iterator<Traverser.Admin<Edge>>,Mutating<Event.EdgeAddedEvent>,Parameterizing,PopContaining,PropertiesHolder,Scoping,Serializable,Step<S,Edge>,TraversalParent,Writing<Event.EdgeAddedEvent>
- All Known Implementing Classes:
AbstractAddEdgeStepPlaceholder,AddEdgeStartStep,AddEdgeStartStepPlaceholder,AddEdgeStep,AddEdgeStepPlaceholder
public interface AddEdgeStepContract<S> extends AddElementStepContract<S,Edge>, FromToModulating, Writing<Event.EdgeAddedEvent>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PopContaining
PopContaining.PopInstruction
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Scoping
Scoping.KeyNotFoundException, Scoping.Variable
-
-
Field Summary
Fields Modifier and Type Field Description static List<Class<? extends Step>>CONCRETE_STEPSConcrete implementations of this contract that can be referenced as TinkerPop implementations.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ObjectgetAdjacentVertex(Parameters parameters, String key)default VertexgetAdjacentVertex(Parameters parameters, String key, Traverser.Admin<S> traverser, String edgeLabel)ObjectgetFrom()Gets the "from" vertex for the edge to be added.default ObjectgetFromWithGValue()Gets the "from" vertex for the edge to be added.ObjectgetTo()Gets the "to" vertex for the edge to be added.default ObjectgetToWithGValue()Gets the "from" vertex for the edge to be added.-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddElementStepContract
getElementId, getElementIdWithGValue, getLabel, getLabelWithGValue, getPopInstructions, removeElementId, setElementId, setLabel
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Configuring
configure
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.FromToModulating
addFrom, addFrom, addTo, addTo
-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Mutating
getMutatingCallbackRegistry
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Parameterizing
getParameters
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PropertiesHolder
addProperty, getProperties, getPropertiesWithGValues, removeProperty
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Scoping
getNullableScopeValue, getSafeScopeValue, getScopeKeys, getScopeValue
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Step
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getRequirements, getTraversal, hasStarts, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.TraversalParent
addGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild
-
-
-
-
Method Detail
-
getFrom
Object getFrom()
Gets the "from" vertex for the edge to be added. If the "from" vertex was added as aVertex, ID,GValue, orConstantTraversal, it is returned as aReferenceVertex. Otherwise, it is returned inTraversalform.
-
getTo
Object getTo()
Gets the "to" vertex for the edge to be added. If the "to" vertex was added as aVertex, ID,GValue, orConstantTraversal, it is returned as aReferenceVertex. Otherwise, it is returned inTraversalform.
-
getFromWithGValue
default Object getFromWithGValue()
Gets the "from" vertex for the edge to be added. If the "from" vertex was added as aVertex, ID, orConstantTraversal, it is returned as aReferenceVertex. If it was added as aGValuecontaining aVertexor ID, theGValueis returned. Otherwise, it is returned inTraversalform.
-
getToWithGValue
default Object getToWithGValue()
Gets the "from" vertex for the edge to be added. If the "from" vertex was added as aVertex, ID, orConstantTraversal, it is returned as aReferenceVertex. If it was added as aGValuecontaining aVertexor ID, theGValueis returned. Otherwise, it is returned inTraversalform.
-
getAdjacentVertex
default Object getAdjacentVertex(Parameters parameters, String key)
-
getAdjacentVertex
default Vertex getAdjacentVertex(Parameters parameters, String key, Traverser.Admin<S> traverser, String edgeLabel)
-
-