public final class GroupStep<S,K,V> extends ReducingBarrierStep<S,Map<K,V>> implements MapReducer, TraversalParent
| Modifier and Type | Class and Description | 
|---|---|
| static class  | GroupStep.GroupMapReduce<S,K,V> | 
ReducingBarrierStep.DefaultMapReducebyPass, REDUCING, reducingBiFunction, seedSupplierid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description | 
|---|
| GroupStep(Traversal.Admin traversal) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addLocalChild(Traversal.Admin<?,?> kvTraversal) | 
| GroupStep<S,K,V> | clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication. | 
| List<Traversal.Admin<?,?>> | getLocalChildren() | 
| MapReduce<K,Collection<?>,K,V,Map<K,V>> | getMapReduce() | 
| Set<TraverserRequirement> | getRequirements()Provide the necessary  TraverserRequirementthat must be met by the traverser in order for the step to function properly. | 
| int | hashCode() | 
| Traverser<Map<K,V>> | 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 GroupStep(Traversal.Admin traversal)
public List<Traversal.Admin<?,?>> getLocalChildren()
getLocalChildren in interface TraversalParentpublic void addLocalChild(Traversal.Admin<?,?> kvTraversal)
addLocalChild 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 GroupStep<S,K,V> clone()
StepEmptyStep.public MapReduce<K,Collection<?>,K,V,Map<K,V>> getMapReduce()
getMapReduce in interface MapReducergetMapReduce in class ReducingBarrierStep<S,Map<K,V>>public Traverser<Map<K,V>> processNextStart()
processNextStart in class ReducingBarrierStep<S,Map<K,V>>Copyright © 2013–2015 Apache Software Foundation. All rights reserved.