public final class CountGlobalStep<S> extends ReducingBarrierStep<S,Long> implements MapReducer
ReducingBarrierStep.DefaultMapReduce, ReducingBarrierStep.FinalGet<A>
byPass, REDUCING, reducingBiFunction, seedSupplier
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdSetByChild
Constructor and Description |
---|
CountGlobalStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
MapReduce<MapReduce.NullObject,Long,MapReduce.NullObject,Long,Long> |
getMapReduce() |
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
clone, onEngine, processNextStart, reset, setBiFunction, setSeedSupplier
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
forEachRemaining, remove
public CountGlobalStep(Traversal.Admin traversal)
public Set<TraverserRequirement> getRequirements()
Step
TraverserRequirement
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,Long>
public MapReduce<MapReduce.NullObject,Long,MapReduce.NullObject,Long,Long> getMapReduce()
getMapReduce
in interface MapReducer
getMapReduce
in class ReducingBarrierStep<S,Long>
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.