| Package | Description |
|---|---|
| org.apache.flink.streaming.api.collector.selector | |
| org.apache.flink.streaming.api.operators | |
| org.apache.flink.streaming.api.operators.co | |
| org.apache.flink.streaming.api.windowing.evictors | |
| 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.operators.windowing.buffers | |
| 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 |
|---|---|
Iterable<Collector<StreamRecord<OUT>>> |
OutputSelectorWrapper.getSelectedOutputs(OUT record) |
Iterable<Collector<StreamRecord<OUT>>> |
BroadcastOutputSelectorWrapper.getSelectedOutputs(OUT record) |
Iterable<Collector<StreamRecord<OUT>>> |
DirectedOutputSelectorWrapper.getSelectedOutputs(OUT record) |
| Modifier and Type | Method and Description |
|---|---|
void |
OutputSelectorWrapper.addCollector(Collector<StreamRecord<OUT>> output,
StreamEdge edge) |
void |
BroadcastOutputSelectorWrapper.addCollector(Collector<StreamRecord<OUT>> output,
StreamEdge edge) |
void |
DirectedOutputSelectorWrapper.addCollector(Collector<StreamRecord<OUT>> output,
StreamEdge edge) |
| Modifier and Type | Field and Description |
|---|---|
protected Output<StreamRecord<OUT>> |
AbstractStreamOperator.output |
| Modifier and Type | Method and Description |
|---|---|
void |
StreamProject.processElement(StreamRecord<IN> element) |
void |
OneInputStreamOperator.processElement(StreamRecord<IN> element)
Processes one element that arrived at this operator.
|
void |
StreamFilter.processElement(StreamRecord<IN> element) |
void |
StreamGroupedReduce.processElement(StreamRecord<IN> element) |
void |
StreamGroupedFold.processElement(StreamRecord<IN> element) |
void |
StreamSink.processElement(StreamRecord<IN> element) |
void |
StreamFlatMap.processElement(StreamRecord<IN> element) |
void |
StreamCounter.processElement(StreamRecord<IN> element) |
void |
StreamMap.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.setKeyContextElement(StreamRecord record) |
void |
StreamOperator.setKeyContextElement(StreamRecord<?> record) |
| Modifier and Type | Method and Description |
|---|---|
void |
StreamSource.run(Object lockingObject,
Output<StreamRecord<T>> collector) |
void |
StreamOperator.setup(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output)
Initializes the operator.
|
void |
AbstractUdfStreamOperator.setup(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output) |
void |
AbstractStreamOperator.setup(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output) |
| Constructor and Description |
|---|
StreamSource.AutomaticWatermarkContext(Object lockingObjectParam,
Output<StreamRecord<T>> outputParam,
ExecutionConfig executionConfig) |
StreamSource.ManualWatermarkContext(Object lockingObject,
Output<StreamRecord<T>> output) |
StreamSource.NonTimestampContext(Object lockingObjectParam,
Output<StreamRecord<T>> outputParam) |
StreamSource.NonWatermarkContext(Object lockingObjectParam,
Output<StreamRecord<T>> outputParam) |
TimestampedCollector(Output<StreamRecord<T>> output)
Creates a new
TimestampedCollector that wraps the given Output. |
| Modifier and Type | Method and Description |
|---|---|
void |
CoStreamFlatMap.processElement1(StreamRecord<IN1> element) |
void |
CoStreamMap.processElement1(StreamRecord<IN1> element) |
void |
CoStreamFlatMap.processElement2(StreamRecord<IN2> element) |
void |
CoStreamMap.processElement2(StreamRecord<IN2> element) |
| Modifier and Type | Method and Description |
|---|---|
int |
TimeEvictor.evict(Iterable<StreamRecord<Object>> elements,
int size,
W window) |
int |
CountEvictor.evict(Iterable<StreamRecord<Object>> elements,
int size,
W window) |
int |
DeltaEvictor.evict(Iterable<StreamRecord<T>> elements,
int size,
W window) |
int |
Evictor.evict(Iterable<StreamRecord<T>> elements,
int size,
W window)
Computes how many elements should be removed from the pane.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CollectorWrapper.collect(StreamRecord<OUT> record) |
void |
RecordWriterOutput.collect(StreamRecord<OUT> record) |
| Modifier and Type | Method and Description |
|---|---|
void |
CollectorWrapper.addCollector(Output<StreamRecord<OUT>> output,
StreamEdge edge) |
| Constructor and Description |
|---|
RecordWriterOutput(StreamRecordWriter<SerializationDelegate<StreamRecord<OUT>>> recordWriter,
TypeSerializer<OUT> outSerializer,
boolean enableWatermarkMultiplexing) |
| Modifier and Type | Method and Description |
|---|---|
void |
BucketStreamSortOperator.processElement(StreamRecord<T> record) |
void |
ExtractTimestampsOperator.processElement(StreamRecord<T> element) |
| Modifier and Type | Method and Description |
|---|---|
Trigger.TriggerResult |
NonKeyedWindowOperator.Context.onElement(StreamRecord<IN> element) |
Trigger.TriggerResult |
WindowOperator.Context.onElement(StreamRecord<IN> element) |
void |
NonKeyedWindowOperator.processElement(StreamRecord<IN> element) |
void |
WindowOperator.processElement(StreamRecord<IN> element) |
void |
AbstractAlignedProcessingTimeWindowOperator.processElement(StreamRecord<IN> element) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<StreamRecord<T>> |
HeapWindowBuffer.getElements() |
Iterable<StreamRecord<T>> |
WindowBuffer.getElements()
Returns all elements that are currently in the buffer.
|
Iterable<StreamRecord<T>> |
PreAggregatingHeapWindowBuffer.getElements() |
| Modifier and Type | Method and Description |
|---|---|
void |
HeapWindowBuffer.storeElement(StreamRecord<T> element) |
void |
WindowBuffer.storeElement(StreamRecord<T> element)
Adds the element to the buffer.
|
void |
PreAggregatingHeapWindowBuffer.storeElement(StreamRecord<T> element) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
RebalancePartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
BroadcastPartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
GlobalPartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
HashPartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
CustomPartitionerWrapper.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
ForwardPartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
ShufflePartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
| Modifier and Type | Method and Description |
|---|---|
<E> StreamRecord<E> |
StreamElement.asRecord()
Casts this element into a StreamRecord.
|
StreamRecord<T> |
StreamRecordSerializer.copy(StreamRecord<T> from) |
StreamRecord<T> |
StreamRecordSerializer.copy(StreamRecord<T> from,
StreamRecord<T> reuse) |
StreamRecord<T> |
MultiplexingStreamRecordSerializer.createInstance() |
StreamRecord<T> |
StreamRecordSerializer.createInstance() |
StreamRecord<T> |
StreamRecordSerializer.deserialize(DataInputView source) |
StreamRecord<T> |
StreamRecordSerializer.deserialize(StreamRecord<T> reuse,
DataInputView source) |
<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 |
|---|---|
StreamRecord<T> |
StreamRecordSerializer.copy(StreamRecord<T> from) |
StreamRecord<T> |
StreamRecordSerializer.copy(StreamRecord<T> from,
StreamRecord<T> reuse) |
StreamRecord<T> |
StreamRecordSerializer.copy(StreamRecord<T> from,
StreamRecord<T> reuse) |
StreamRecord<T> |
StreamRecordSerializer.deserialize(StreamRecord<T> reuse,
DataInputView source) |
void |
StreamRecordSerializer.serialize(StreamRecord<T> value,
DataOutputView target) |
| Modifier and Type | Method and Description |
|---|---|
Output<StreamRecord<OUT>> |
OperatorChain.getChainEntryPoint() |
Output<StreamRecord<OUT>> |
StreamTask.getHeadOutput() |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.