public final class RangeGlobalStep<S> extends FilterStep<S> implements Ranging, Bypassing
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description |
|---|
RangeGlobalStep(Traversal.Admin traversal,
long low,
long high) |
| Modifier and Type | Method and Description |
|---|---|
RangeGlobalStep<S> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
protected boolean |
filter(Traverser.Admin<S> traverser) |
long |
getHighRange() |
long |
getLowRange() |
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
int |
hashCode() |
void |
reset()
Reset the state of the step such that it has no incoming starts.
|
void |
setBypass(boolean bypass) |
String |
toString() |
processNextStartaddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitforEachRemaining, removepublic RangeGlobalStep(Traversal.Admin traversal, long low, long high)
protected boolean filter(Traverser.Admin<S> traverser)
filter in class FilterStep<S>public void reset()
Steppublic String toString()
toString in class AbstractStep<S,S>public long getLowRange()
getLowRange in interface Rangingpublic long getHighRange()
getHighRange in interface Rangingpublic RangeGlobalStep<S> clone()
StepEmptyStep.public int hashCode()
hashCode in class AbstractStep<S,S>public Set<TraverserRequirement> getRequirements()
StepTraverserRequirement that must be met by the traverser in order for the step to function properly.
The provided default implements returns an empty set.getRequirements in interface Step<S,S>Copyright © 2013–2015 Apache Software Foundation. All rights reserved.