public final class CountGlobalStep<S> extends ReducingBarrierStep<S,Long>
reducingBiOperator, seedSupplier
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
CountGlobalStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to
function properly. |
Long |
projectTraverser(Traverser.Admin<S> traverser) |
addBarrier, clone, done, getBiOperator, getMemoryComputeKey, getSeedSupplier, hasNextBarrier, nextBarrier, processAllStarts, processNextStart, reset, setReducingBiOperator, setSeedSupplier
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hashCode, hasNext, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
generateFinalResult
forEachRemaining, remove
public CountGlobalStep(Traversal.Admin traversal)
public Long projectTraverser(Traverser.Admin<S> traverser)
projectTraverser
in class ReducingBarrierStep<S,Long>
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.Copyright © 2013–2020 Apache Software Foundation. All rights reserved.