public abstract class ChainedDriver<IT,OT> extends Object implements org.apache.flink.util.Collector<IT>
| 限定符和类型 | 字段和说明 |
|---|---|
protected TaskConfig |
config |
protected org.apache.flink.api.common.ExecutionConfig |
executionConfig |
protected InternalOperatorMetricGroup |
metrics |
protected org.apache.flink.metrics.Counter |
numRecordsIn |
protected org.apache.flink.metrics.Counter |
numRecordsOut |
protected boolean |
objectReuseEnabled |
protected org.apache.flink.util.Collector<OT> |
outputCollector |
protected String |
taskName |
protected ClassLoader |
userCodeClassLoader |
| 构造器和说明 |
|---|
ChainedDriver() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
cancelTask() |
abstract void |
closeTask() |
abstract void |
collect(IT record) |
InternalOperatorIOMetricGroup |
getIOMetrics() |
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,
org.apache.flink.util.UserCodeClassLoader userCodeClassLoader,
org.apache.flink.api.common.ExecutionConfig executionConfig,
Map<String,org.apache.flink.api.common.accumulators.Accumulator<?,?>> accumulatorMap) |
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
protected InternalOperatorMetricGroup metrics
protected org.apache.flink.metrics.Counter numRecordsIn
protected org.apache.flink.metrics.Counter numRecordsOut
public void setup(TaskConfig config, String taskName, org.apache.flink.util.Collector<OT> outputCollector, AbstractInvokable parent, org.apache.flink.util.UserCodeClassLoader userCodeClassLoader, org.apache.flink.api.common.ExecutionConfig executionConfig, Map<String,org.apache.flink.api.common.accumulators.Accumulator<?,?>> accumulatorMap)
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 在接口中 org.apache.flink.util.Collector<IT>public InternalOperatorIOMetricGroup getIOMetrics()
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–2023 The Apache Software Foundation. All rights reserved.