Class TailLocalStepPlaceholder<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,S>
-
- org.apache.tinkerpop.gremlin.process.traversal.step.map.TailLocalStepPlaceholder<S>
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterator<Traverser.Admin<S>>,Step<S,S>,GValueHolder<S,S>,TailLocalStepContract<S>
public final class TailLocalStepPlaceholder<S> extends ScalarMapStep<S,S> implements TailLocalStepContract<S>, GValueHolder<S,S>
- See Also:
- Serialized Form
-
-
Field Summary
-
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.TailLocalStepContract
CONCRETE_STEPS
-
-
Constructor Summary
Constructors Constructor Description TailLocalStepPlaceholder(Traversal.Admin traversal, GValue<Long> limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TailLocalStep<S>asConcreteStep()TailLocalStepPlaceholder<S>clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.Collection<GValue<?>>getGValues()LonggetLimit()GValue<Long>getLimitAsGValue()inthashCode()booleanisParameterized()protected Smap(Traverser.Admin<S> traverser)voidupdateVariable(String name, Object value)-
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, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal, 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.GValueHolder
reduce
-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
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
-
-
-
-
Constructor Detail
-
TailLocalStepPlaceholder
public TailLocalStepPlaceholder(Traversal.Admin traversal, GValue<Long> limit)
-
-
Method Detail
-
map
protected S map(Traverser.Admin<S> traverser)
- Specified by:
mapin classScalarMapStep<S,S>
-
clone
public TailLocalStepPlaceholder<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.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractStep<S,S>
-
getLimit
public Long getLimit()
- Specified by:
getLimitin interfaceTailLocalStepContract<S>
-
getLimitAsGValue
public GValue<Long> getLimitAsGValue()
- Specified by:
getLimitAsGValuein interfaceTailLocalStepContract<S>
-
asConcreteStep
public TailLocalStep<S> asConcreteStep()
- Specified by:
asConcreteStepin interfaceGValueHolder<S,S>
-
isParameterized
public boolean isParameterized()
- Specified by:
isParameterizedin interfaceGValueHolder<S,S>
-
updateVariable
public void updateVariable(String name, Object value)
- Specified by:
updateVariablein interfaceGValueHolder<S,S>
-
getGValues
public Collection<GValue<?>> getGValues()
- Specified by:
getGValuesin interfaceGValueHolder<S,S>
-
-