Class RangeLocalStep<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.RangeLocalStep<S>
- All Implemented Interfaces:
Serializable,Cloneable,Iterator<Traverser.Admin<S>>,Step<S,,S> RangeLocalStepContract<S>,Ranging
public final class RangeLocalStep<S>
extends ScalarMapStep<S,S>
implements RangeLocalStepContract<S>
- Author:
- Daniel Kuppitz (http://gremlin.guru)
- See Also:
-
Field Summary
Fields 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.RangeLocalStepContract
CONCRETE_STEPS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the higher bound of the range.Retrieves the lower bound of the range.Provide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly.inthashCode()protected Smap(Traverser.Admin<S> traverser) toString()Methods 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, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversalMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, removeMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.RangeLocalStepContract
getHighRangeAsGValue, getLowRangeAsGValueMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Step
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasStarts, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
-
Constructor Details
-
RangeLocalStep
-
-
Method Details
-
getLowRange
Description copied from interface:RangeLocalStepContractRetrieves the lower bound of the range.- Specified by:
getLowRangein interfaceRangeLocalStepContract<S>- Specified by:
getLowRangein interfaceRanging- Returns:
- the value representing the lower bound of the range
-
getHighRange
Description copied from interface:RangeLocalStepContractRetrieves the higher bound of the range.- Specified by:
getHighRangein interfaceRangeLocalStepContract<S>- Specified by:
getHighRangein interfaceRanging- Returns:
- the higher bound of the range as an object of type V
-
map
- Specified by:
mapin classScalarMapStep<S,S>
-
toString
- Overrides:
toStringin classAbstractStep<S,S>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractStep<S,S>
-
getRequirements
Description copied from interface:StepProvide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly. The provided default implements returns an empty set.- Specified by:
getRequirementsin interfaceStep<S,S> - Returns:
- the set of requirements
-