public class TezCoGroupGate extends TezGroupGate
GroupingSpliceGate.DelegatedTuple
Modifier and Type | Field and Description |
---|---|
protected TimedIterator<Tuple>[] |
timedIterators |
logicalInputs, logicalOutput
closure, collector
groupComparators, groupHasher, grouping, groupSortTuple, groupTuple, keyBuilder, keyEntry, keyFields, keyTuple, nullsAreNotEqual, sortBuilder, sortFields, tupleEntryIterator, valueComparators, valuesBuilder, valuesFields, valueTuple
flowProcess, incomingScopes, outgoingScopes, role, splice
Constructor and Description |
---|
TezCoGroupGate(FlowProcess flowProcess,
CoGroup coGroup,
IORole role,
org.apache.tez.runtime.api.LogicalOutput logicalOutput) |
TezCoGroupGate(FlowProcess flowProcess,
CoGroup coGroup,
IORole role,
SortedListMultiMap<java.lang.Integer,org.apache.tez.runtime.api.LogicalInput> logicalInputs) |
Modifier and Type | Method and Description |
---|---|
protected HadoopCoGroupClosure |
createClosure() |
protected java.lang.Throwable |
reduce() |
protected Tuple |
unwrapGrouping(Tuple key) |
createOutputCollector, initialize, prepare, run, wrapGroupingAndCollect
accept, bind, complete, receive, start
cleanup, createDefaultNarrowBuilder, createNarrowBuilder, createNulledBuilder, getDelegatedTuple, getKeyComparator, getNumDeclaredIncomingBranches, initComparators
equals, getBranchNames, getFlowElement, getIncomingScopes, getOutgoingScopes, getSplice, handleException, handleReThrowableException, hashCode, hasTrapHandler, setBranchNames, setTrapHandler, toString
getNext, getNextFor, receiveFirst
protected TimedIterator<Tuple>[] timedIterators
public TezCoGroupGate(FlowProcess flowProcess, CoGroup coGroup, IORole role, org.apache.tez.runtime.api.LogicalOutput logicalOutput)
public TezCoGroupGate(FlowProcess flowProcess, CoGroup coGroup, IORole role, SortedListMultiMap<java.lang.Integer,org.apache.tez.runtime.api.LogicalInput> logicalInputs)
protected java.lang.Throwable reduce() throws java.lang.Exception
reduce
in class TezGroupGate
java.lang.Exception
protected HadoopCoGroupClosure createClosure()
createClosure
in class HadoopGroupGate
protected Tuple unwrapGrouping(Tuple key)
unwrapGrouping
in class HadoopGroupGate
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.