Class ChainedMapDriver<IT,OT>
- java.lang.Object
-
- org.apache.flink.runtime.operators.chaining.ChainedDriver<IT,OT>
-
- org.apache.flink.runtime.operators.chaining.ChainedMapDriver<IT,OT>
-
- All Implemented Interfaces:
Collector<IT>
public class ChainedMapDriver<IT,OT> extends ChainedDriver<IT,OT>
-
-
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 ChainedMapDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelTask()
void
close()
Closes the collector.void
closeTask()
void
collect(IT 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
-
setup
public void setup(AbstractInvokable parent)
- Specified by:
setup
in classChainedDriver<IT,OT>
-
openTask
public void openTask() throws Exception
- Specified by:
openTask
in classChainedDriver<IT,OT>
- Throws:
Exception
-
closeTask
public void closeTask() throws Exception
- Specified by:
closeTask
in classChainedDriver<IT,OT>
- Throws:
Exception
-
cancelTask
public void cancelTask()
- Specified by:
cancelTask
in classChainedDriver<IT,OT>
-
getStub
public Function getStub()
- Specified by:
getStub
in classChainedDriver<IT,OT>
-
getTaskName
public String getTaskName()
- Specified by:
getTaskName
in classChainedDriver<IT,OT>
-
collect
public void collect(IT record)
Description copied from interface:Collector
Emits a record.
-
close
public void close()
Description copied from interface:Collector
Closes the collector. If any data was buffered, that data will be flushed.
-
-