Class RangeLocalStepPlaceholder<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.RangeLocalStepPlaceholder<S>
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterator<Traverser.Admin<S>>,- Step<S,S>,- GValueHolder<S,S>,- RangeLocalStepContract<S>,- Ranging
 
 public class RangeLocalStepPlaceholder<S> extends ScalarMapStep<S,S> implements RangeLocalStepContract<S>, GValueHolder<S,S> - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected GValue<Long>highprotected GValue<Long>low- 
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.RangeLocalStepContractCONCRETE_STEPS
 
- 
 - 
Constructor SummaryConstructors Constructor Description RangeLocalStepPlaceholder(Traversal.Admin traversal, GValue<Long> low, GValue<Long> high)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RangeLocalStep<S>asConcreteStep()RangeLocalStepPlaceholder<S>clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.booleanequals(Object o)Collection<GValue<?>>getGValues()LonggetHighRange()Retrieves the higher bound of the range.GValue<Long>getHighRangeAsGValue()getHighRange, retaining the GValue container and without pinning the variable.LonggetLowRange()Retrieves the lower bound of the range.GValue<Long>getLowRangeAsGValue()getLowRange, retaining the GValue container and without pinning the variable.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.ScalarMapStepprocessNextStart
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepaddLabel, addStart, addStarts, clearLabels, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal, 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.GValueHolderreduce
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, hasNext, next, remove
 - 
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
 
- 
 
- 
- 
- 
Constructor Detail- 
RangeLocalStepPlaceholderpublic RangeLocalStepPlaceholder(Traversal.Admin traversal, GValue<Long> low, GValue<Long> high) 
 
- 
 - 
Method Detail- 
isParameterizedpublic boolean isParameterized() - Specified by:
- isParameterizedin interface- GValueHolder<S,S>
 
 - 
updateVariablepublic void updateVariable(String name, Object value) - Specified by:
- updateVariablein interface- GValueHolder<S,S>
 
 - 
getLowRangepublic Long getLowRange() Description copied from interface:RangeLocalStepContractRetrieves the lower bound of the range.- Specified by:
- getLowRangein interface- RangeLocalStepContract<S>
- Specified by:
- getLowRangein interface- Ranging
- Returns:
- the value representing the lower bound of the range
 
 - 
getHighRangepublic Long getHighRange() Description copied from interface:RangeLocalStepContractRetrieves the higher bound of the range.- Specified by:
- getHighRangein interface- RangeLocalStepContract<S>
- Specified by:
- getHighRangein interface- Ranging
- Returns:
- the higher bound of the range as an object of type V
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- AbstractStep<S,S>
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AbstractStep<S,S>
 
 - 
getLowRangeAsGValuepublic GValue<Long> getLowRangeAsGValue() getLowRange, retaining the GValue container and without pinning the variable. It is the caller's responsibility to ensure that this value is not used to alter the traversal in any way which is not generalizable to any parameter value.- Specified by:
- getLowRangeAsGValuein interface- RangeLocalStepContract<S>
- Returns:
- the lower bound for range().
 
 - 
getHighRangeAsGValuepublic GValue<Long> getHighRangeAsGValue() getHighRange, retaining the GValue container and without pinning the variable. It is the caller's responsibility to ensure that this value is not used to alter the traversal in any way which is not generalizable to any parameter value.- Specified by:
- getHighRangeAsGValuein interface- RangeLocalStepContract<S>
- Returns:
- the upper bound for range().
 
 - 
mapprotected S map(Traverser.Admin<S> traverser) - Specified by:
- mapin class- ScalarMapStep<S,S>
 
 - 
getGValuespublic Collection<GValue<?>> getGValues() - Specified by:
- getGValuesin interface- GValueHolder<S,S>
 
 - 
asConcreteSteppublic RangeLocalStep<S> asConcreteStep() - Specified by:
- asConcreteStepin interface- GValueHolder<S,S>
 
 - 
clonepublic RangeLocalStepPlaceholder<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.
 
- 
 
-