| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.functions.query | |
| org.apache.flink.streaming.api.functions.source | |
| org.apache.flink.streaming.api.graph | |
| org.apache.flink.streaming.api.operators | |
| org.apache.flink.streaming.api.operators.async | |
| org.apache.flink.streaming.api.operators.co | |
| org.apache.flink.streaming.runtime.operators |
This package contains the operators that perform the stream transformations.
|
| org.apache.flink.streaming.runtime.operators.windowing |
This package contains the operators that implement the various window operations
on data streams.
|
| org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
QueryableAppendingStateOperator<IN>
Internal operator handling queryable AppendingState instances.
|
class |
QueryableValueStateOperator<IN>
Internal operator handling queryable ValueState instances.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ContinuousFileReaderOperator<OUT>
The operator that reads the
splits received from the preceding
ContinuousFileMonitoringFunction. |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends StreamOperator<?>> |
StreamConfig.getStreamOperator(ClassLoader cl) |
| 限定符和类型 | 方法和说明 |
|---|---|
StreamOperator<?> |
StreamNode.getOperator() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
StreamConfig.setStreamOperator(StreamOperator<?> operator) |
| 构造器和说明 |
|---|
StreamNode(Integer id,
String slotSharingGroup,
String coLocationGroup,
StreamOperator<?> operator,
String operatorName,
List<OutputSelector<?>> outputSelector,
Class<? extends org.apache.flink.runtime.jobgraph.tasks.AbstractInvokable> jobVertexClass) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
OneInputStreamOperator<IN,OUT>
Interface for stream operators with one input.
|
interface |
TwoInputStreamOperator<IN1,IN2,OUT>
Interface for stream operators with two inputs.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractStreamOperator<OUT>
Base class for all stream operators.
|
class |
AbstractUdfStreamOperator<OUT,F extends org.apache.flink.api.common.functions.Function>
This is used as the base class for operators that have a user-defined
function.
|
class |
KeyedProcessOperator<K,IN,OUT>
A
StreamOperator for executing KeyedProcessFunctions. |
class |
LegacyKeyedProcessOperator<K,IN,OUT>
已过时。
Replaced by
KeyedProcessOperator which takes KeyedProcessFunction |
class |
ProcessOperator<IN,OUT>
A
StreamOperator for executing
ProcessFunctions. |
class |
SourceReaderOperator<OUT>
Base source operator only used for integrating the source reader which is proposed by FLIP-27.
|
class |
StreamFilter<IN>
A
StreamOperator for executing FilterFunctions. |
class |
StreamFlatMap<IN,OUT>
A
StreamOperator for executing FlatMapFunctions. |
class |
StreamGroupedFold<IN,OUT,KEY>
已过时。
will be removed in a future version
|
class |
StreamGroupedReduce<IN>
|
class |
StreamMap<IN,OUT>
A
StreamOperator for executing MapFunctions. |
class |
StreamProject<IN,OUT extends org.apache.flink.api.java.tuple.Tuple>
A
StreamOperator for executing projections on streams. |
class |
StreamSink<IN>
A
StreamOperator for executing SinkFunctions. |
class |
StreamSource<OUT,SRC extends SourceFunction<OUT>>
StreamOperator for streaming sources. |
| 限定符和类型 | 方法和说明 |
|---|---|
static <OUT,OP extends StreamOperator<OUT>> |
StreamOperatorFactoryUtil.createOperator(StreamOperatorFactory<OUT> operatorFactory,
StreamTask<OUT,?> containingTask,
StreamConfig configuration,
Output<StreamRecord<OUT>> output)
Creates a new operator using a factory and makes sure that all special factory traits are properly handled.
|
<T extends StreamOperator<OUT>> |
SimpleOperatorFactory.createStreamOperator(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output) |
<T extends StreamOperator<OUT>> |
StreamOperatorFactory.createStreamOperator(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output)
Create the operator.
|
| 限定符和类型 | 方法和说明 |
|---|---|
StreamOperator<OUT> |
SimpleOperatorFactory.getOperator() |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends StreamOperator> |
SimpleOperatorFactory.getStreamOperatorClass(ClassLoader classLoader) |
Class<? extends StreamOperator> |
StreamOperatorFactory.getStreamOperatorClass(ClassLoader classLoader)
Returns the runtime class of the stream operator.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <OUT> SimpleOperatorFactory<OUT> |
SimpleOperatorFactory.of(StreamOperator<OUT> operator)
Create a SimpleOperatorFactory from existed StreamOperator.
|
| 构造器和说明 |
|---|
SimpleOperatorFactory(StreamOperator<OUT> operator) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AsyncWaitOperator<IN,OUT>
The
AsyncWaitOperator allows to asynchronously process incoming stream records. |
| 限定符和类型 | 方法和说明 |
|---|---|
StreamOperator |
AsyncWaitOperatorFactory.createStreamOperator(StreamTask containingTask,
StreamConfig config,
Output output) |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends StreamOperator> |
AsyncWaitOperatorFactory.getStreamOperatorClass(ClassLoader classLoader) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CoBroadcastWithKeyedOperator<KS,IN1,IN2,OUT>
A
TwoInputStreamOperator for executing KeyedBroadcastProcessFunctions. |
class |
CoBroadcastWithNonKeyedOperator<IN1,IN2,OUT>
A
TwoInputStreamOperator for executing BroadcastProcessFunctions. |
class |
CoProcessOperator<IN1,IN2,OUT>
A
StreamOperator for executing
CoProcessFunctions. |
class |
CoStreamFlatMap<IN1,IN2,OUT>
StreamOperator for processing
CoFlatMapFunctions. |
class |
CoStreamMap<IN1,IN2,OUT>
StreamOperator for processing
CoMapFunctions. |
class |
IntervalJoinOperator<K,T1,T2,OUT>
An
operator to execute time-bounded stream inner joins. |
class |
KeyedCoProcessOperator<K,IN1,IN2,OUT>
A
StreamOperator for executing keyed
KeyedCoProcessFunction. |
class |
LegacyKeyedCoProcessOperator<K,IN1,IN2,OUT>
已过时。
Replaced by
KeyedCoProcessOperator which takes KeyedCoProcessFunction |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ExtractTimestampsOperator<T>
已过时。
|
class |
GenericWriteAheadSink<IN>
Generic Sink that emits its input elements into an arbitrary backend.
|
class |
TimestampsAndPeriodicWatermarksOperator<T>
A stream operator that extracts timestamps from stream elements and
generates periodic watermarks.
|
class |
TimestampsAndPunctuatedWatermarksOperator<T>
A stream operator that extracts timestamps from stream elements and
generates watermarks based on punctuation elements.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
EvictingWindowOperator<K,IN,OUT,W extends Window>
A
WindowOperator that also allows an Evictor to be used. |
class |
WindowOperator<K,IN,ACC,OUT,W extends Window>
An operator that implements the logic for windowing based on a
WindowAssigner and
Trigger. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
OperatorChain<OUT,OP extends StreamOperator<OUT>>
The
OperatorChain contains all operators that are executed as one chain within a single
StreamTask. |
class |
StreamTask<OUT,OP extends StreamOperator<OUT>>
Base class for all streaming tasks.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected OP |
StreamTask.headOperator
the head operator that consumes the input streams of this task.
|
| 限定符和类型 | 方法和说明 |
|---|---|
StreamOperator<?>[] |
OperatorChain.getAllOperators() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
OperatorChain.endNonHeadOperatorInput(StreamOperator<?> streamOperator)
Ends all inputs of the non-head operator specified by
streamOperator)
(now there is only one input for each non-head operator). |
protected org.apache.flink.metrics.Counter |
StreamTask.setupNumRecordsInCounter(StreamOperator streamOperator) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.