public abstract class JoinFunction extends AbstractArrayModelFunction implements GenericJoiner<Value[],Value[],Value[]>
| Constructor and Description |
|---|
JoinFunction() |
| Modifier and Type | Method and Description |
|---|---|
Method |
getUDFMethod() |
abstract void |
join(Value[] value1,
Value[] value2,
Collector<Value[]> out)
This method must be implemented to provide a user implementation of a matcher.
|
getDataTypesclose, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getRuntimeContext, open, setRuntimeContextpublic abstract void join(Value[] value1, Value[] value2, Collector<Value[]> out) throws Exception
join in interface GenericJoiner<Value[],Value[],Value[]>value1 - The record that comes from the first input.value2 - The record that comes from the second input.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 combine task and lets the fail-over logic
decide whether to retry the combiner execution.public Method getUDFMethod()
getUDFMethod in class AbstractArrayModelFunctionCopyright © 2013–2014. All rights reserved.