public final class GroupCountStep<S,E> extends ReducingBarrierStep<S,Map<E,Long>> implements MapReducer, TraversalParent
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupCountStep.GroupCountMapReduce<E> |
ReducingBarrierStep.DefaultMapReducebyPass, REDUCING, reducingBiFunction, seedSupplierid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description |
|---|
GroupCountStep(Traversal.Admin traversal) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocalChild(Traversal.Admin<?,?> groupTraversal) |
GroupCountStep<S,E> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
List<Traversal.Admin<S,E>> |
getLocalChildren() |
MapReduce<E,Long,E,Long,Map<E,Long>> |
getMapReduce() |
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
int |
hashCode() |
Traverser<Map<E,Long>> |
processNextStart() |
String |
toString() |
onEngine, processAllStarts, reset, setBiFunction, setSeedSupplieraddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, asStep, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChildforEachRemaining, removepublic GroupCountStep(Traversal.Admin traversal)
public void addLocalChild(Traversal.Admin<?,?> groupTraversal)
addLocalChild in interface TraversalParentpublic List<Traversal.Admin<S,E>> getLocalChildren()
getLocalChildren in interface TraversalParentpublic 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.public MapReduce<E,Long,E,Long,Map<E,Long>> getMapReduce()
getMapReduce in interface MapReducergetMapReduce in class ReducingBarrierStep<S,Map<E,Long>>public GroupCountStep<S,E> clone()
StepEmptyStep.public Traverser<Map<E,Long>> processNextStart()
processNextStart in class ReducingBarrierStep<S,Map<E,Long>>Copyright © 2013–2015 Apache Software Foundation. All rights reserved.