Class ChainedAllReduceDriver<IT>
- java.lang.Object
-
- org.apache.flink.runtime.operators.chaining.ChainedDriver<IT,IT>
-
- org.apache.flink.runtime.operators.chaining.ChainedAllReduceDriver<IT>
-
- All Implemented Interfaces:
org.apache.flink.util.Collector<IT>
public class ChainedAllReduceDriver<IT> extends ChainedDriver<IT,IT>
-
-
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 ChainedAllReduceDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelTask()voidclose()voidcloseTask()voidcollect(IT record)org.apache.flink.api.common.functions.FunctiongetStub()StringgetTaskName()voidopenTask()voidsetup(AbstractInvokable parent)-
Methods inherited from class org.apache.flink.runtime.operators.chaining.ChainedDriver
getIOMetrics, getOutputCollector, getTaskConfig, getUdfRuntimeContext, setOutputCollector, setup
-
-
-
-
Method Detail
-
setup
public void setup(AbstractInvokable parent)
- Specified by:
setupin classChainedDriver<IT,IT>
-
openTask
public void openTask() throws Exception- Specified by:
openTaskin classChainedDriver<IT,IT>- Throws:
Exception
-
closeTask
public void closeTask() throws Exception- Specified by:
closeTaskin classChainedDriver<IT,IT>- Throws:
Exception
-
cancelTask
public void cancelTask()
- Specified by:
cancelTaskin classChainedDriver<IT,IT>
-
getStub
public org.apache.flink.api.common.functions.Function getStub()
- Specified by:
getStubin classChainedDriver<IT,IT>
-
getTaskName
public String getTaskName()
- Specified by:
getTaskNamein classChainedDriver<IT,IT>
-
collect
public void collect(IT record)
- Specified by:
collectin interfaceorg.apache.flink.util.Collector<IT>- Specified by:
collectin classChainedDriver<IT,IT>
-
close
public void close()
-
-