| Package | Description |
|---|---|
| org.apache.flink.streaming.api.collector.selector | |
| org.apache.flink.streaming.api.functions.query | |
| org.apache.flink.streaming.api.functions.source | |
| 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.io | |
| 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.partitioner | |
| org.apache.flink.streaming.runtime.streamrecord | |
| org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<Output<StreamRecord<OUT>>> |
DirectedOutput.selectOutputs(StreamRecord<OUT> record) |
| Modifier and Type | Method and Description |
|---|---|
<X> void |
DirectedOutput.collect(org.apache.flink.util.OutputTag<X> outputTag,
StreamRecord<X> record) |
void |
CopyingDirectedOutput.collect(StreamRecord<OUT> record) |
void |
DirectedOutput.collect(StreamRecord<OUT> record) |
protected Set<Output<StreamRecord<OUT>>> |
DirectedOutput.selectOutputs(StreamRecord<OUT> record) |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
QueryableAppendingStateOperator.processElement(StreamRecord<IN> element) |
void |
QueryableValueStateOperator.processElement(StreamRecord<IN> element) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContinuousFileReaderOperator.processElement(StreamRecord<TimestampedFileInputSplit> element) |
| Modifier and Type | Field and Description |
|---|---|
protected Output<StreamRecord<OUT>> |
AbstractStreamOperator.output |
| Modifier and Type | Method and Description |
|---|---|
<X> void |
TimestampedCollector.collect(org.apache.flink.util.OutputTag<X> outputTag,
StreamRecord<X> record) |
<X> void |
AbstractStreamOperator.CountingOutput.collect(org.apache.flink.util.OutputTag<X> outputTag,
StreamRecord<X> record) |
<X> void |
Output.collect(org.apache.flink.util.OutputTag<X> outputTag,
StreamRecord<X> record)
Emits a record the side output identified by the given
OutputTag. |
void |
AbstractStreamOperator.CountingOutput.collect(StreamRecord<OUT> record) |
void |
KeyedProcessOperator.processElement(StreamRecord<IN> element) |
void |
StreamGroupedFold.processElement(StreamRecord<IN> element)
Deprecated.
|
void |
StreamFilter.processElement(StreamRecord<IN> element) |
void |
StreamProject.processElement(StreamRecord<IN> element) |
void |
StreamMap.processElement(StreamRecord<IN> element) |
void |
ProcessOperator.processElement(StreamRecord<IN> element) |
void |
StreamGroupedReduce.processElement(StreamRecord<IN> element) |
void |
OneInputStreamOperator.processElement(StreamRecord<IN> element)
Processes one element that arrived at this operator.
|
void |
LegacyKeyedProcessOperator.processElement(StreamRecord<IN> element)
Deprecated.
|
void |
StreamSink.processElement(StreamRecord<IN> element) |
void |
StreamFlatMap.processElement(StreamRecord<IN> element) |
void |
TwoInputStreamOperator.processElement1(StreamRecord<IN1> element)
Processes one element that arrived on the first input of this two-input operator.
|
void |
TwoInputStreamOperator.processElement2(StreamRecord<IN2> element)
Processes one element that arrived on the second input of this two-input operator.
|
void |
AbstractStreamOperator.setKeyContextElement1(StreamRecord record) |
void |
StreamOperator.setKeyContextElement1(StreamRecord<?> record) |
void |
AbstractStreamOperator.setKeyContextElement2(StreamRecord record) |
void |
StreamOperator.setKeyContextElement2(StreamRecord<?> record) |
void |
TimestampedCollector.setTimestamp(StreamRecord<?> timestampBase) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)
Deprecated.
Initializes the operator.
|
void |
AbstractUdfStreamOperator.setup(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output) |
| Constructor and Description |
|---|
CountingOutput(Output<StreamRecord<OUT>> output,
org.apache.flink.metrics.Counter counter) |
TimestampedCollector(Output<StreamRecord<T>> output)
Creates a new
TimestampedCollector that wraps the given Output. |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncWaitOperator.processElement(StreamRecord<IN> element) |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncWaitOperator.setup(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output) |
| Modifier and Type | Method and Description |
|---|---|
void |
CoProcessOperator.processElement1(StreamRecord<IN1> element) |
void |
KeyedCoProcessOperator.processElement1(StreamRecord<IN1> element) |
void |
CoStreamFlatMap.processElement1(StreamRecord<IN1> element) |
void |
CoBroadcastWithKeyedOperator.processElement1(StreamRecord<IN1> element) |
void |
LegacyKeyedCoProcessOperator.processElement1(StreamRecord<IN1> element)
Deprecated.
|
void |
CoBroadcastWithNonKeyedOperator.processElement1(StreamRecord<IN1> element) |
void |
CoStreamMap.processElement1(StreamRecord<IN1> element) |
void |
IntervalJoinOperator.processElement1(StreamRecord<T1> record)
Process a
StreamRecord from the left stream. |
void |
CoProcessOperator.processElement2(StreamRecord<IN2> element) |
void |
KeyedCoProcessOperator.processElement2(StreamRecord<IN2> element) |
void |
CoStreamFlatMap.processElement2(StreamRecord<IN2> element) |
void |
CoBroadcastWithKeyedOperator.processElement2(StreamRecord<IN2> element) |
void |
LegacyKeyedCoProcessOperator.processElement2(StreamRecord<IN2> element)
Deprecated.
|
void |
CoBroadcastWithNonKeyedOperator.processElement2(StreamRecord<IN2> element) |
void |
CoStreamMap.processElement2(StreamRecord<IN2> element) |
void |
IntervalJoinOperator.processElement2(StreamRecord<T2> record)
Process a
StreamRecord from the right stream. |
| Modifier and Type | Method and Description |
|---|---|
<X> void |
RecordWriterOutput.collect(org.apache.flink.util.OutputTag<X> outputTag,
StreamRecord<X> record) |
void |
RecordWriterOutput.collect(StreamRecord<OUT> record) |
void |
PushingAsyncDataInput.DataOutput.emitRecord(StreamRecord<T> streamRecord) |
| Constructor and Description |
|---|
RecordWriterOutput(org.apache.flink.runtime.io.network.api.writer.RecordWriter<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<OUT>>> recordWriter,
org.apache.flink.api.common.typeutils.TypeSerializer<OUT> outSerializer,
org.apache.flink.util.OutputTag outputTag,
StreamStatusProvider streamStatusProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericWriteAheadSink.processElement(StreamRecord<IN> element) |
void |
ExtractTimestampsOperator.processElement(StreamRecord<T> element)
Deprecated.
|
void |
TimestampsAndPeriodicWatermarksOperator.processElement(StreamRecord<T> element) |
void |
TimestampsAndPunctuatedWatermarksOperator.processElement(StreamRecord<T> element) |
| Modifier and Type | Method and Description |
|---|---|
StreamRecord<T> |
TimestampedValue.getStreamRecord()
Creates a
StreamRecord from this TimestampedValue. |
| Modifier and Type | Method and Description |
|---|---|
static <T> TimestampedValue<T> |
TimestampedValue.from(StreamRecord<T> streamRecord)
Creates a TimestampedValue from given
StreamRecord. |
protected boolean |
WindowOperator.isElementLate(StreamRecord<IN> element)
Decide if a record is currently late, based on current watermark and allowed lateness.
|
TriggerResult |
WindowOperator.Context.onElement(StreamRecord<IN> element) |
void |
WindowOperator.processElement(StreamRecord<IN> element) |
void |
EvictingWindowOperator.processElement(StreamRecord<IN> element) |
protected void |
WindowOperator.sideOutput(StreamRecord<IN> element)
Write skipped late arriving element to SideOutput.
|
| Constructor and Description |
|---|
EvictingWindowOperator(WindowAssigner<? super IN,W> windowAssigner,
org.apache.flink.api.common.typeutils.TypeSerializer<W> windowSerializer,
org.apache.flink.api.java.functions.KeySelector<IN,K> keySelector,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
org.apache.flink.api.common.state.StateDescriptor<? extends org.apache.flink.api.common.state.ListState<StreamRecord<IN>>,?> windowStateDescriptor,
InternalWindowFunction<Iterable<IN>,OUT,K,W> windowFunction,
Trigger<? super IN,? super W> trigger,
Evictor<? super IN,? super W> evictor,
long allowedLateness,
org.apache.flink.util.OutputTag<IN> lateDataOutputTag) |
| Modifier and Type | Method and Description |
|---|---|
int |
BroadcastPartitioner.selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)
Note: Broadcast mode could be handled directly for all the output channels
in record writer, so it is no need to select channels via this method.
|
int |
ShufflePartitioner.selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
int |
RebalancePartitioner.selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
int |
ForwardPartitioner.selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
int |
CustomPartitionerWrapper.selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
int |
RescalePartitioner.selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
int |
GlobalPartitioner.selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
int |
KeyGroupStreamPartitioner.selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
| Modifier and Type | Method and Description |
|---|---|
<E> StreamRecord<E> |
StreamElement.asRecord()
Casts this element into a StreamRecord.
|
StreamRecord<T> |
StreamRecord.copy(T valueCopy)
Creates a copy of this stream record.
|
StreamRecord<T> |
StreamElementSerializer.createInstance() |
<X> StreamRecord<X> |
StreamRecord.replace(X element)
Replace the currently stored value by the given new value.
|
<X> StreamRecord<X> |
StreamRecord.replace(X value,
long timestamp)
Replace the currently stored value by the given new value and the currently stored
timestamp with the new timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StreamRecord.copyTo(T valueCopy,
StreamRecord<T> target)
Copies this record into the new stream record.
|
| Modifier and Type | Method and Description |
|---|---|
static <OUT> org.apache.flink.runtime.io.network.api.writer.RecordWriterDelegate<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<OUT>>> |
StreamTask.createRecordWriterDelegate(StreamConfig configuration,
org.apache.flink.runtime.execution.Environment environment) |
OperatorChain.WatermarkGaugeExposingOutput<StreamRecord<OUT>> |
OperatorChain.getChainEntryPoint() |
| Constructor and Description |
|---|
OperatorChain(StreamTask<OUT,OP> containingTask,
org.apache.flink.runtime.io.network.api.writer.RecordWriterDelegate<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<OUT>>> recordWriterDelegate) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.