public abstract class ChainedDriver<IT,OT> extends Object implements org.apache.flink.util.Collector<IT>
| Modifier and Type | Field and Description |
|---|---|
protected TaskConfig |
config |
protected org.apache.flink.api.common.ExecutionConfig |
executionConfig |
protected boolean |
objectReuseEnabled |
protected org.apache.flink.util.Collector<OT> |
outputCollector |
protected String |
taskName |
protected ClassLoader |
userCodeClassLoader |
| Constructor and Description |
|---|
ChainedDriver() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cancelTask() |
abstract void |
closeTask() |
abstract void |
collect(IT record) |
org.apache.flink.util.Collector<OT> |
getOutputCollector() |
abstract org.apache.flink.api.common.functions.Function |
getStub() |
TaskConfig |
getTaskConfig() |
abstract String |
getTaskName() |
protected org.apache.flink.api.common.functions.RuntimeContext |
getUdfRuntimeContext() |
abstract void |
openTask() |
void |
setOutputCollector(org.apache.flink.util.Collector<?> outputCollector) |
abstract void |
setup(AbstractInvokable parent) |
void |
setup(TaskConfig config,
String taskName,
org.apache.flink.util.Collector<OT> outputCollector,
AbstractInvokable parent,
ClassLoader userCodeClassLoader,
org.apache.flink.api.common.ExecutionConfig executionConfig) |
protected TaskConfig config
protected String taskName
protected org.apache.flink.util.Collector<OT> outputCollector
protected ClassLoader userCodeClassLoader
protected org.apache.flink.api.common.ExecutionConfig executionConfig
protected boolean objectReuseEnabled
public void setup(TaskConfig config, String taskName, org.apache.flink.util.Collector<OT> outputCollector, AbstractInvokable parent, ClassLoader userCodeClassLoader, org.apache.flink.api.common.ExecutionConfig executionConfig)
public abstract void setup(AbstractInvokable parent)
public abstract void cancelTask()
public abstract org.apache.flink.api.common.functions.Function getStub()
public abstract String getTaskName()
public abstract void collect(IT record)
collect in interface org.apache.flink.util.Collector<IT>protected org.apache.flink.api.common.functions.RuntimeContext getUdfRuntimeContext()
public void setOutputCollector(org.apache.flink.util.Collector<?> outputCollector)
public org.apache.flink.util.Collector<OT> getOutputCollector()
public TaskConfig getTaskConfig()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.