Class SynchronousChainedCombineDriver<IN,OUT>
java.lang.Object
org.apache.flink.runtime.operators.chaining.ChainedDriver<IN,OUT>
org.apache.flink.runtime.operators.chaining.SynchronousChainedCombineDriver<IN,OUT>
- Type Parameters:
IN- The data type consumed by the combiner.OUT- The data type produced by the combiner.
- All Implemented Interfaces:
org.apache.flink.util.Collector<IN>
The chained variant of the combine driver which is also implemented in GroupReduceCombineDriver.
In contrast to the GroupReduceCombineDriver, this driver's purpose is only to combine the values
received in the chain. It is used by the GroupReduce and the CombineGroup transformation.
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()voidvoidorg.apache.flink.api.common.functions.FunctiongetStub()voidopenTask()voidsetup(AbstractInvokable parent) Methods inherited from class org.apache.flink.runtime.operators.chaining.ChainedDriver
getIOMetrics, getOutputCollector, getTaskConfig, getUdfRuntimeContext, setOutputCollector, setup
-
Constructor Details
-
SynchronousChainedCombineDriver
public SynchronousChainedCombineDriver()
-
-
Method Details
-
setup
- Specified by:
setupin classChainedDriver<IN,OUT>
-
openTask
- Specified by:
openTaskin classChainedDriver<IN,OUT> - Throws:
Exception
-
closeTask
- Specified by:
closeTaskin classChainedDriver<IN,OUT> - Throws:
Exception
-
cancelTask
public void cancelTask()- Specified by:
cancelTaskin classChainedDriver<IN,OUT>
-
getStub
public org.apache.flink.api.common.functions.Function getStub()- Specified by:
getStubin classChainedDriver<IN,OUT>
-
getTaskName
- Specified by:
getTaskNamein classChainedDriver<IN,OUT>
-
collect
- Specified by:
collectin interfaceorg.apache.flink.util.Collector<IN>- Specified by:
collectin classChainedDriver<IN,OUT>
-
close
public void close()
-