Class AbstractAddEdgeStepPlaceholder<S>
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E>
org.apache.tinkerpop.gremlin.process.traversal.step.map.MapStep<S,E>
org.apache.tinkerpop.gremlin.process.traversal.step.map.ScalarMapStep<S,E>
org.apache.tinkerpop.gremlin.process.traversal.step.map.AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
org.apache.tinkerpop.gremlin.process.traversal.step.map.AbstractAddEdgeStepPlaceholder<S>
- All Implemented Interfaces:
Serializable,AutoCloseable,Cloneable,Iterator<Traverser.Admin<Edge>>,Step<S,,Edge> Configuring,FromToModulating,GValueHolder<S,,Edge> AddEdgeStepContract<S>,AddElementStepContract<S,,Edge> Mutating<Event.EdgeAddedEvent>,Parameterizing,PopContaining,PropertiesHolder,Scoping,TraversalParent,Writing<Event.EdgeAddedEvent>
- Direct Known Subclasses:
AddEdgeStartStepPlaceholder,AddEdgeStepPlaceholder
public abstract class AbstractAddEdgeStepPlaceholder<S>
extends AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
implements AddEdgeStepContract<S>
- See Also:
-
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
FieldsFields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.AbstractAddElementStepPlaceholder
elementId, label, properties, scopeKeys, withConfigurationFields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChildFields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddEdgeStepContract
CONCRETE_STEPSFields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddElementStepContract
CONCRETE_STEPS -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, String label) AbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, GValue<String> label) AbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, Traversal.Admin<S, String> labelTraversal) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFrom(Traversal.Admin<?, ?> fromObject) voidaddTo(Traversal.Admin<?, ?> toObject) clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.booleanprotected StringgetFrom()Gets the "from" vertex for the edge to be added.Gets the "from" vertex for the edge to be added.Collection<GValue<?>>List<Traversal.Admin<?,?>> Gets a list of all "local" child traversals for this step.getTo()Gets the "to" vertex for the edge to be added.Gets the "from" vertex for the edge to be added.inthashCode()booleanprotected booleanvoidupdateVariable(String name, Object value) Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.AbstractAddElementStepPlaceholder
addProperty, addTraversal, configure, configureConcreteStep, getElementId, getElementIdWithGValue, getLabel, getLabelWithGValue, getMutatingCallbackRegistry, getParameters, getProperties, getPropertiesWithGValues, getRequirements, getScopeKeys, map, removeElementId, removeProperty, setElementId, setLabel, setTraversalMethods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.ScalarMapStep
processNextStartMethods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
addLabel, addStart, addStarts, clearLabels, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddEdgeStepContract
getAdjacentVertex, getAdjacentVertexMethods 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, addToMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.GValueHolder
asConcreteStep, reduceMethods 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, 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, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild
-
Field Details
-
from
-
to
-
-
Constructor Details
-
AbstractAddEdgeStepPlaceholder
-
AbstractAddEdgeStepPlaceholder
-
AbstractAddEdgeStepPlaceholder
public AbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, Traversal.Admin<S, String> labelTraversal)
-
-
Method Details
-
getDefaultLabel
- Specified by:
getDefaultLabelin classAbstractAddElementStepPlaceholder<S,Edge, Event.EdgeAddedEvent>
-
addTo
- Specified by:
addToin interfaceFromToModulating
-
addFrom
- Specified by:
addFromin interfaceFromToModulating
-
equals
- Overrides:
equalsin classAbstractAddElementStepPlaceholder<S,Edge, Event.EdgeAddedEvent>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAddElementStepPlaceholder<S,Edge, Event.EdgeAddedEvent>
-
isParameterized
public boolean isParameterized()- Specified by:
isParameterizedin interfaceGValueHolder<S,Edge> - Overrides:
isParameterizedin classAbstractAddElementStepPlaceholder<S,Edge, Event.EdgeAddedEvent>
-
getLocalChildren
Description copied from interface:TraversalParentGets a list of all "local" child traversals for this step. A "local" traversal is one which is evaluated independently for each incoming traverser to the parent step. This is typically used in cases where the child is used to process or augment each traverser individually. SeeLocalSteporByModulatingas examples.- Specified by:
getLocalChildrenin interfaceTraversalParent- Overrides:
getLocalChildrenin classAbstractAddElementStepPlaceholder<S,Edge, Event.EdgeAddedEvent>
-
supportsMultiProperties
protected boolean supportsMultiProperties()- Specified by:
supportsMultiPropertiesin classAbstractAddElementStepPlaceholder<S,Edge, Event.EdgeAddedEvent>
-
getFrom
Description copied from interface:AddEdgeStepContractGets 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.- Specified by:
getFromin interfaceAddEdgeStepContract<S>
-
getFromWithGValue
Description copied from interface:AddEdgeStepContractGets 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.- Specified by:
getFromWithGValuein interfaceAddEdgeStepContract<S>
-
getTo
Description copied from interface:AddEdgeStepContractGets 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.- Specified by:
getToin interfaceAddEdgeStepContract<S>
-
getToWithGValue
Description copied from interface:AddEdgeStepContractGets 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.- Specified by:
getToWithGValuein interfaceAddEdgeStepContract<S>
-
updateVariable
- Specified by:
updateVariablein interfaceGValueHolder<S,Edge> - Overrides:
updateVariablein classAbstractAddElementStepPlaceholder<S,Edge, Event.EdgeAddedEvent>
-
getGValues
- Specified by:
getGValuesin interfaceGValueHolder<S,Edge> - Overrides:
getGValuesin classAbstractAddElementStepPlaceholder<S,Edge, Event.EdgeAddedEvent>
-
clone
Description copied from interface:StepCloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication. When cloning a step, it is important that the steps, the cloned step is equivalent to the state of the step whenStep.reset()is called. Moreover, the previous and next steps should be set toEmptyStep.- Specified by:
clonein interfaceStep<S,Edge> - Overrides:
clonein classAbstractAddElementStepPlaceholder<S,Edge, Event.EdgeAddedEvent> - Returns:
- The cloned step
-