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.PopInstructionNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Scoping
Scoping.KeyNotFoundException, Scoping.Variable -
Field Summary
FieldsModifier and TypeFieldDescriptionConcrete implementations of this contract that can be referenced as TinkerPop implementations. -
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectgetAdjacentVertex(Parameters parameters, String key) default VertexgetAdjacentVertex(Parameters parameters, String key, Traverser.Admin<S> traverser, String edgeLabel) getFrom()Gets the "from" vertex for the edge to be added.default ObjectGets the "from" vertex for the edge to be added.getTo()Gets the "to" vertex for the edge to be added.default ObjectGets 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, setLabelMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Configuring
configureMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.FromToModulating
addFrom, addFrom, addTo, addToMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, removeMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Mutating
getMutatingCallbackRegistryMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Parameterizing
getParametersMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PropertiesHolder
addProperty, getProperties, getPropertiesWithGValues, removePropertyMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Scoping
getNullableScopeValue, getSafeScopeValue, getScopeKeys, getScopeValueMethods 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, setTraversalMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.TraversalParent
addGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild
-
Field Details
-
CONCRETE_STEPS
Concrete implementations of this contract that can be referenced as TinkerPop implementations.
-
-
Method Details
-
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
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
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
-
getAdjacentVertex
default Vertex getAdjacentVertex(Parameters parameters, String key, Traverser.Admin<S> traverser, String edgeLabel)
-