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:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PopContainingPopContaining.PopInstruction
 - 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.ScopingScoping.KeyNotFoundException, Scoping.Variable
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected Traversal.Admin<?,?>fromprotected Traversal.Admin<?,?>to- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.AbstractAddElementStepPlaceholderelementId, label, properties, scopeKeys, withConfiguration
 - 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddEdgeStepContractCONCRETE_STEPS
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddElementStepContractCONCRETE_STEPS
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, String label)AbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, GValue<String> label)AbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, Traversal.Admin<S,String> labelTraversal)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFrom(Traversal.Admin<?,?> fromObject)voidaddTo(Traversal.Admin<?,?> toObject)AbstractAddEdgeStepPlaceholder<S>clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.protected StringgetDefaultLabel()ObjectgetFrom()Gets the "from" vertex for the edge to be added.ObjectgetFromWithGValue()Gets the "from" vertex for the edge to be added.Collection<GValue<?>>getGValues()List<Traversal.Admin<?,?>>getLocalChildren()Gets a list of all "local" child traversals for this step.ObjectgetTo()Gets the "to" vertex for the edge to be added.ObjectgetToWithGValue()Gets the "from" vertex for the edge to be added.inthashCode()booleanisParameterized()protected booleansupportsMultiProperties()voidupdateVariable(String name, Object value)- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.AbstractAddElementStepPlaceholderaddProperty, addTraversal, configure, configureConcreteStep, getElementId, getElementIdWithGValue, getLabel, getLabelWithGValue, getMutatingCallbackRegistry, getParameters, getProperties, getPropertiesWithGValues, getRequirements, getScopeKeys, map, removeElementId, removeProperty, setElementId, setLabel, setTraversal
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.ScalarMapStepprocessNextStart
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepaddLabel, addStart, addStarts, clearLabels, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, toString
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddEdgeStepContractgetAdjacentVertex, getAdjacentVertex
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddElementStepContractgetElementId, getElementIdWithGValue, getLabel, getLabelWithGValue, getPopInstructions, removeElementId, setElementId, setLabel
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Configuringconfigure
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.FromToModulatingaddFrom, addTo
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.GValueHolderasConcreteStep, reduce
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, hasNext, next, remove
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.MutatinggetMutatingCallbackRegistry
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.ParameterizinggetParameters
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.PropertiesHolderaddProperty, getProperties, getPropertiesWithGValues, removeProperty
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.ScopinggetNullableScopeValue, getSafeScopeValue, getScopeKeys, getScopeValue
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.StepaddLabel, addStart, addStarts, clearLabels, 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.TraversalParentaddGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild
 
- 
 
- 
- 
- 
Field Detail- 
fromprotected Traversal.Admin<?,?> from 
 - 
toprotected Traversal.Admin<?,?> to 
 
- 
 - 
Constructor Detail- 
AbstractAddEdgeStepPlaceholderpublic AbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, String label) 
 - 
AbstractAddEdgeStepPlaceholderpublic AbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, GValue<String> label) 
 - 
AbstractAddEdgeStepPlaceholderpublic AbstractAddEdgeStepPlaceholder(Traversal.Admin traversal, Traversal.Admin<S,String> labelTraversal) 
 
- 
 - 
Method Detail- 
getDefaultLabelprotected String getDefaultLabel() - Specified by:
- getDefaultLabelin class- AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
 
 - 
addTopublic void addTo(Traversal.Admin<?,?> toObject) - Specified by:
- addToin interface- FromToModulating
 
 - 
addFrompublic void addFrom(Traversal.Admin<?,?> fromObject) - Specified by:
- addFromin interface- FromToModulating
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
 
 - 
isParameterizedpublic boolean isParameterized() - Specified by:
- isParameterizedin interface- GValueHolder<S,Edge>
- Overrides:
- isParameterizedin class- AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
 
 - 
getLocalChildrenpublic List<Traversal.Admin<?,?>> 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 interface- TraversalParent
- Overrides:
- getLocalChildrenin class- AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
 
 - 
supportsMultiPropertiesprotected boolean supportsMultiProperties() - Specified by:
- supportsMultiPropertiesin class- AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
 
 - 
getFrompublic Object 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 interface- AddEdgeStepContract<S>
 
 - 
getFromWithGValuepublic Object 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 interface- AddEdgeStepContract<S>
 
 - 
getTopublic Object 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 interface- AddEdgeStepContract<S>
 
 - 
getToWithGValuepublic Object 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 interface- AddEdgeStepContract<S>
 
 - 
updateVariablepublic void updateVariable(String name, Object value) - Specified by:
- updateVariablein interface- GValueHolder<S,Edge>
- Overrides:
- updateVariablein class- AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
 
 - 
getGValuespublic Collection<GValue<?>> getGValues() - Specified by:
- getGValuesin interface- GValueHolder<S,Edge>
- Overrides:
- getGValuesin class- AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
 
 - 
clonepublic AbstractAddEdgeStepPlaceholder<S> 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 interface- Step<S,Edge>
- Overrides:
- clonein class- AbstractAddElementStepPlaceholder<S,Edge,Event.EdgeAddedEvent>
- Returns:
- The cloned step
 
 
- 
 
-