public class HadoopCoGroupGate extends HadoopGroupGate
GroupingSpliceGate.DelegatedTuple
closure, collector
groupComparators, groupHasher, grouping, groupSortTuple, groupTuple, keyBuilder, keyEntry, keyFields, nullsAreNotEqual, sortBuilder, sortFields, tupleEntryIterator, valueComparators, valuesBuilder, valuesFields
flowProcess, incomingScopes, outgoingScopes, role, splice
Constructor and Description |
---|
HadoopCoGroupGate(FlowProcess flowProcess,
CoGroup coGroup,
IORole role) |
Modifier and Type | Method and Description |
---|---|
void |
bind(StreamGraph streamGraph) |
protected HadoopCoGroupClosure |
createClosure() |
protected OutputCollector |
createOutputCollector() |
protected Tuple |
unwrapGrouping(Tuple key) |
protected void |
wrapGroupingAndCollect(Duct previous,
int ordinal,
Tuple valuesTuple,
Tuple groupKey) |
accept, complete, prepare, receive, start
cleanup, createDefaultNarrowBuilder, createNarrowBuilder, createNulledBuilder, getDelegatedTuple, getKeyComparator, getNumDeclaredIncomingBranches, initComparators, initialize
equals, getBranchNames, getFlowElement, getIncomingScopes, getOutgoingScopes, getSplice, handleException, handleReThrowableException, hashCode, hasTrapHandler, setBranchNames, setTrapHandler, toString
getNext, getNextFor, receiveFirst
public HadoopCoGroupGate(FlowProcess flowProcess, CoGroup coGroup, IORole role)
public void bind(StreamGraph streamGraph)
bind
in class HadoopGroupGate
protected HadoopCoGroupClosure createClosure()
createClosure
in class HadoopGroupGate
protected void wrapGroupingAndCollect(Duct previous, int ordinal, Tuple valuesTuple, Tuple groupKey) throws java.io.IOException
wrapGroupingAndCollect
in class HadoopGroupGate
java.io.IOException
protected Tuple unwrapGrouping(Tuple key)
unwrapGrouping
in class HadoopGroupGate
protected OutputCollector createOutputCollector()
createOutputCollector
in class HadoopGroupGate
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.