public abstract class CoGroupFunction extends AbstractArrayModelFunction implements GenericCoGrouper<Value[],Value[],Value[]>
| Constructor and Description |
|---|
CoGroupFunction() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
coGroup(Iterator<Value[]> records1,
Iterator<Value[]> records2,
Collector<Value[]> out)
This method must be implemented to provide a user implementation of a
matcher.
|
Method |
getUDFMethod() |
getDataTypesclose, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcombineFirst, combineSecondclose, getRuntimeContext, open, setRuntimeContextpublic abstract void coGroup(Iterator<Value[]> records1, Iterator<Value[]> records2, Collector<Value[]> out)
coGroup in interface GenericCoGrouper<Value[],Value[],Value[]>records1 - The records from the first input which were paired with the key.records2 - The records from the second input which were paired with the key.out - A collector that collects all output pairs.Exception - Implementations may forward exceptions, which are caught by the runtime. When the
runtime catches an exception, it aborts the task and lets the fail-over logic
decide whether to retry the task execution.public Method getUDFMethod()
getUDFMethod in class AbstractArrayModelFunctionCopyright © 2013–2014. All rights reserved.