public class ChainedTerminationCriterionDriver<IT,OT> extends ChainedDriver<IT,OT>
config, executionConfig, metrics, numRecordsIn, numRecordsOut, objectReuseEnabled, outputCollector, taskName, userCodeClassLoader
Constructor and Description |
---|
ChainedTerminationCriterionDriver() |
Modifier and Type | Method and Description |
---|---|
void |
cancelTask() |
void |
close()
Closes the collector.
|
void |
closeTask() |
void |
collect(IT record)
Emits a record.
|
RichFunction |
getStub() |
String |
getTaskName() |
void |
openTask() |
void |
setup(AbstractInvokable parent) |
getIOMetrics, getOutputCollector, getTaskConfig, getUdfRuntimeContext, setOutputCollector, setup
public void setup(AbstractInvokable parent)
setup
in class ChainedDriver<IT,OT>
public void openTask()
openTask
in class ChainedDriver<IT,OT>
public void closeTask()
closeTask
in class ChainedDriver<IT,OT>
public void cancelTask()
cancelTask
in class ChainedDriver<IT,OT>
public RichFunction getStub()
getStub
in class ChainedDriver<IT,OT>
public String getTaskName()
getTaskName
in class ChainedDriver<IT,OT>
public void close()
Collector
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.