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:
-
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
Fields 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.AddElementStepContract
CONCRETE_STEPSFields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.AddVertexStepContract
CONCRETE_STEPS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAddVertexStepPlaceholder(Traversal.Admin traversal, String label) protectedAbstractAddVertexStepPlaceholder(Traversal.Admin traversal, Collection<Object> labels) protectedAbstractAddVertexStepPlaceholder(Traversal.Admin traversal, GValue<String> label) protectedAbstractAddVertexStepPlaceholder(Traversal.Admin traversal, Traversal.Admin<S, ?> vertexLabelTraversal) -
Method Summary
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, setTraversal, updateVariableMethods 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.AddElementStepContract
getElementId, getElementIdWithGValue, getLabel, getLabelWithGValue, getPopInstructions, removeElementId, setElementIdMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.Configuring
configureMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.GValueHolder
asConcreteStep, getGValues, isParameterized, reduce, updateVariableMethods 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, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild
-
Constructor Details
-
AbstractAddVertexStepPlaceholder
-
AbstractAddVertexStepPlaceholder
-
AbstractAddVertexStepPlaceholder
protected AbstractAddVertexStepPlaceholder(Traversal.Admin traversal, Traversal.Admin<S, ?> vertexLabelTraversal) -
AbstractAddVertexStepPlaceholder
-
-
Method Details
-
getDefaultLabel
- Specified by:
getDefaultLabelin classAbstractAddElementStepPlaceholder<S,Vertex, Event.VertexAddedEvent>
-
setLabel
Description copied from interface:AddElementStepContractSets the label(s) to assign to the element produced by this step. Accepts a singleString,GValue<String>, orTraversalresolving to aString, or aCollection<Object>of two or more such values. Should behave identically to specifying the same value at construction time. Implementations may restrict calling this method more than once at their own discretion.- Specified by:
setLabelin interfaceAddElementStepContract<S,Vertex> - Overrides:
setLabelin classAbstractAddElementStepPlaceholder<S,Vertex, Event.VertexAddedEvent> - Parameters:
label- aString,GValue<String>,Traversal, orCollection<Object>
-
hasUserProvidedLabel
public boolean hasUserProvidedLabel()- Specified by:
hasUserProvidedLabelin interfaceAddVertexStepContract<S>
-
equals
- Overrides:
equalsin classAbstractAddElementStepPlaceholder<S,Vertex, Event.VertexAddedEvent>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAddElementStepPlaceholder<S,Vertex, Event.VertexAddedEvent>
-
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>
-