| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.collector.selector | |
| org.apache.flink.streaming.api.operators | |
| org.apache.flink.streaming.api.operators.async | |
| org.apache.flink.streaming.runtime.io | |
| org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CopyingDirectedOutput<OUT>
Special version of
DirectedOutput that performs a shallow copy of the StreamRecord to ensure that multi-chaining works correctly. |
class |
DirectedOutput<OUT>
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Output<StreamRecord<OUT>>[] |
DirectedOutput.allOutputs |
protected Output<StreamRecord<OUT>>[] |
DirectedOutput.selectAllOutputs |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Set<Output<StreamRecord<OUT>>> |
DirectedOutput.selectOutputs(StreamRecord<OUT> record) |
| 构造器和说明 |
|---|
CopyingDirectedOutput(List<OutputSelector<OUT>> outputSelectors,
List<? extends org.apache.flink.api.java.tuple.Tuple2<? extends Output<StreamRecord<OUT>>,StreamEdge>> outputs) |
DirectedOutput(List<OutputSelector<OUT>> outputSelectors,
List<? extends org.apache.flink.api.java.tuple.Tuple2<? extends Output<StreamRecord<OUT>>,StreamEdge>> outputs) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CountingOutput<OUT>
Wrapping
Output that updates metrics on the number of emitted elements. |
class |
TimestampedCollector<T>
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Output<StreamRecord<OUT>> |
AbstractInput.output |
protected Output<StreamRecord<OUT>> |
AbstractStreamOperator.output |
protected Output<StreamRecord<OUT>> |
AbstractStreamOperatorV2.output |
| 限定符和类型 | 方法和说明 |
|---|---|
Output<StreamRecord<OUT>> |
StreamOperatorParameters.getOutput() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <OUT,OP extends StreamOperator<OUT>> |
StreamOperatorFactoryUtil.createOperator(StreamOperatorFactory<OUT> operatorFactory,
StreamTask<OUT,?> containingTask,
StreamConfig configuration,
Output<StreamRecord<OUT>> output,
org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher operatorEventDispatcher)
Creates a new operator using a factory and makes sure that all special factory traits are
properly handled.
|
static <OUT> SourceFunction.SourceContext<OUT> |
StreamSourceContexts.getSourceContext(TimeCharacteristic timeCharacteristic,
ProcessingTimeService processingTimeService,
Object checkpointLock,
StreamStatusMaintainer streamStatusMaintainer,
Output<StreamRecord<OUT>> output,
long watermarkInterval,
long idleTimeout)
Depending on the
TimeCharacteristic, this method will return the adequate SourceFunction.SourceContext. |
void |
StreamSource.run(Object lockingObject,
StreamStatusMaintainer streamStatusMaintainer,
Output<StreamRecord<OUT>> collector,
OperatorChain<?,?> operatorChain) |
void |
AbstractStreamOperator.setup(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output) |
void |
SetupableStreamOperator.setup(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output)
已过时。
Initializes the operator.
|
void |
AbstractUdfStreamOperator.setup(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output) |
| 构造器和说明 |
|---|
CountingOutput(Output<StreamRecord<OUT>> output,
org.apache.flink.metrics.Counter counter) |
StreamOperatorParameters(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output,
java.util.function.Supplier<ProcessingTimeService> processingTimeServiceFactory,
org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher operatorEventDispatcher) |
TimestampedCollector(Output<StreamRecord<T>> output)
Creates a new
TimestampedCollector that wraps the given Output. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AsyncWaitOperator.setup(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RecordWriterOutput<OUT>
Implementation of
Output that sends data using a RecordWriter. |
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
OperatorChain.WatermarkGaugeExposingOutput<T>
An
Output that measures the last emitted watermark with a WatermarkGauge. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.