Interface RangeLocalStepContract<S>
- All Superinterfaces:
Cloneable,Iterator<Traverser.Admin<S>>,Ranging,Serializable,Step<S,S>
- All Known Implementing Classes:
RangeLocalStep,RangeLocalStepPlaceholder
Defines the contract for
range related steps.-
Field Summary
FieldsModifier and TypeFieldDescriptionConcrete implementations of this contract that can be referenced as TinkerPop implementations. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the higher bound of the range.getHighRange, retaining the GValue container and without pinning the variable.Retrieves the lower bound of the range.getLowRange, retaining the GValue container and without pinning the variable.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, removeMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Step
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getRequirements, getTraversal, hasStarts, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
-
Field Details
-
CONCRETE_STEPS
Concrete implementations of this contract that can be referenced as TinkerPop implementations.
-
-
Method Details
-
getLowRange
Long getLowRange()Retrieves the lower bound of the range.- Specified by:
getLowRangein interfaceRanging- Returns:
- the value representing the lower bound of the range
-
getHighRange
Long getHighRange()Retrieves the higher bound of the range.- Specified by:
getHighRangein interfaceRanging- Returns:
- the higher bound of the range as an object of type V
-
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.- Returns:
- the lower bound for range().
-
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.- Returns:
- the upper bound for range().
-