public class ChainedReduceCombineDriver<T> extends ChainedDriver<T,T>
config, executionConfig, metrics, numRecordsIn, numRecordsOut, objectReuseEnabled, outputCollector, taskName, userCodeClassLoader
Constructor and Description |
---|
ChainedReduceCombineDriver() |
Modifier and Type | Method and 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) |
getIOMetrics, getOutputCollector, getTaskConfig, getUdfRuntimeContext, setOutputCollector, setup
public Function getStub()
getStub
in class ChainedDriver<T,T>
public String getTaskName()
getTaskName
in class ChainedDriver<T,T>
public void setup(AbstractInvokable parent)
setup
in class ChainedDriver<T,T>
public void openTask() throws Exception
openTask
in class ChainedDriver<T,T>
Exception
public void close()
Collector
public void closeTask() throws Exception
closeTask
in class ChainedDriver<T,T>
Exception
public void cancelTask()
cancelTask
in class ChainedDriver<T,T>
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.