Class AbstractAddVertexStepPlaceholder<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,Vertex,Event.VertexAddedEvent>
-
- org.apache.tinkerpop.gremlin.process.traversal.step.map.AbstractAddVertexStepPlaceholder<S>
-
- All Implemented Interfaces:
Serializable,AutoCloseable,Cloneable,Iterator<Traverser.Admin<Vertex>>,Step<S,Vertex>,Configuring,GValueHolder<S,Vertex>,AddElementStepContract<S,Vertex>,AddVertexStepContract<S>,Mutating<Event.VertexAddedEvent>,Parameterizing,PopContaining,PropertiesHolder,Scoping,TraversalParent,Writing<Event.VertexAddedEvent>
- Direct Known Subclasses:
AddVertexStartStepPlaceholder,AddVertexStepPlaceholder
public abstract class AbstractAddVertexStepPlaceholder<S> extends AbstractAddElementStepPlaceholder<S,Vertex,Event.VertexAddedEvent> implements AddVertexStepContract<S>, GValueHolder<S,Vertex>
- See Also:
- Serialized Form
-
-
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 inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.AbstractAddElementStepPlaceholder
elementId, label, properties, scopeKeys, withConfiguration
-
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
-
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddElementStepContract
CONCRETE_STEPS
-
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddVertexStepContract
CONCRETE_STEPS
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAddVertexStepPlaceholder(Traversal.Admin traversal, String label)protectedAbstractAddVertexStepPlaceholder(Traversal.Admin traversal, GValue<String> label)protectedAbstractAddVertexStepPlaceholder(Traversal.Admin traversal, Traversal.Admin<S,String> vertexLabelTraversal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractAddVertexStepPlaceholder<S>clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.booleanequals(Object o)protected StringgetDefaultLabel()inthashCode()booleanhasUserProvidedLabel()protected booleansupportsMultiProperties()-
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.AbstractAddElementStepPlaceholder
addProperty, addTraversal, configure, configureConcreteStep, getElementId, getElementIdWithGValue, getGValues, getLabel, getLabelWithGValue, getLocalChildren, getMutatingCallbackRegistry, getParameters, getProperties, getPropertiesWithGValues, getRequirements, getScopeKeys, isParameterized, map, removeElementId, removeProperty, setElementId, setLabel, setTraversal, updateVariable
-
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.ScalarMapStep
processNextStart
-
Methods 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, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
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.GValueHolder
asConcreteStep, getGValues, isParameterized, reduce, updateVariable
-
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, 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
-
-
-
-
Constructor Detail
-
AbstractAddVertexStepPlaceholder
protected AbstractAddVertexStepPlaceholder(Traversal.Admin traversal, String label)
-
AbstractAddVertexStepPlaceholder
protected AbstractAddVertexStepPlaceholder(Traversal.Admin traversal, GValue<String> label)
-
AbstractAddVertexStepPlaceholder
protected AbstractAddVertexStepPlaceholder(Traversal.Admin traversal, Traversal.Admin<S,String> vertexLabelTraversal)
-
-
Method Detail
-
getDefaultLabel
protected String getDefaultLabel()
- Specified by:
getDefaultLabelin classAbstractAddElementStepPlaceholder<S,Vertex,Event.VertexAddedEvent>
-
hasUserProvidedLabel
public boolean hasUserProvidedLabel()
- Specified by:
hasUserProvidedLabelin interfaceAddVertexStepContract<S>
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractAddElementStepPlaceholder<S,Vertex,Event.VertexAddedEvent>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractAddElementStepPlaceholder<S,Vertex,Event.VertexAddedEvent>
-
clone
public AbstractAddVertexStepPlaceholder<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 interfaceStep<S,Vertex>- Overrides:
clonein classAbstractAddElementStepPlaceholder<S,Vertex,Event.VertexAddedEvent>- Returns:
- The cloned step
-
supportsMultiProperties
protected boolean supportsMultiProperties()
- Specified by:
supportsMultiPropertiesin classAbstractAddElementStepPlaceholder<S,Vertex,Event.VertexAddedEvent>
-
-