public abstract class CrossFunction extends AbstractArrayModelFunction implements GenericCrosser<Value[],Value[],Value[]>
| Constructor and Description |
|---|
CrossFunction() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cross(Value[] record1,
Value[] record2,
Collector<Value[]> out)
This method must be implemented to provide a user implementation of a cross.
|
Method |
getUDFMethod() |
getDataTypesclose, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getRuntimeContext, open, setRuntimeContextpublic abstract void cross(Value[] record1, Value[] record2, Collector<Value[]> out)
cross in interface GenericCrosser<Value[],Value[],Value[]>record1 - The record from the second input.record2 - The record from the second input.out - A collector that collects all output records.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.