Class ChainedReduceCombineDriver<T>
- java.lang.Object
-
- org.apache.flink.runtime.operators.chaining.ChainedDriver<T,T>
-
- org.apache.flink.runtime.operators.chaining.ChainedReduceCombineDriver<T>
-
- All Implemented Interfaces:
Collector<T>
public class ChainedReduceCombineDriver<T> extends ChainedDriver<T,T>
Chained version of ReduceCombineDriver.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.runtime.operators.chaining.ChainedDriver
config, executionConfig, metrics, numRecordsIn, numRecordsOut, objectReuseEnabled, outputCollector, taskName, userCodeClassLoader
-
-
Constructor Summary
Constructors Constructor Description ChainedReduceCombineDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelTask()
void
close()
Closes the collector.void
closeTask()
void
collect(T record)
Emits a record.Function
getStub()
String
getTaskName()
void
openTask()
void
setup(AbstractInvokable parent)
-
Methods inherited from class org.apache.flink.runtime.operators.chaining.ChainedDriver
getIOMetrics, getOutputCollector, getTaskConfig, getUdfRuntimeContext, setOutputCollector, setup
-
-
-
-
Method Detail
-
getStub
public Function getStub()
- Specified by:
getStub
in classChainedDriver<T,T>
-
getTaskName
public String getTaskName()
- Specified by:
getTaskName
in classChainedDriver<T,T>
-
setup
public void setup(AbstractInvokable parent)
- Specified by:
setup
in classChainedDriver<T,T>
-
openTask
public void openTask() throws Exception
- Specified by:
openTask
in classChainedDriver<T,T>
- Throws:
Exception
-
close
public void close()
Description copied from interface:Collector
Closes the collector. If any data was buffered, that data will be flushed.
-
closeTask
public void closeTask() throws Exception
- Specified by:
closeTask
in classChainedDriver<T,T>
- Throws:
Exception
-
cancelTask
public void cancelTask()
- Specified by:
cancelTask
in classChainedDriver<T,T>
-
-