Package | Description |
---|---|
org.apache.flink.cep.operator | |
org.apache.flink.storm.wrappers | |
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 |
---|---|
protected PriorityQueue<StreamRecord<IN>> |
KeyedCEPPatternOperator.getPriorityQueue() |
protected abstract PriorityQueue<StreamRecord<IN>> |
AbstractCEPPatternOperator.getPriorityQueue() |
protected PriorityQueue<StreamRecord<IN>> |
CEPPatternOperator.getPriorityQueue() |
Modifier and Type | Method and Description |
---|---|
int |
StreamRecordComparator.compare(StreamRecord<IN> o1,
StreamRecord<IN> o2) |
int |
StreamRecordComparator.compare(StreamRecord<IN> o1,
StreamRecord<IN> o2) |
void |
KeyedCEPPatternOperator.processElement(StreamRecord<IN> element) |
void |
AbstractCEPPatternOperator.processElement(StreamRecord<IN> element) |
Modifier and Type | Method and Description |
---|---|
void |
BoltWrapper.processElement(StreamRecord<IN> element) |
void |
MergedInputsBoltWrapper.processElement(StreamRecord<StormTuple<IN>> element) |
Modifier and Type | Method and Description |
---|---|
void |
DirectedOutput.collect(StreamRecord<OUT> record) |
Constructor and Description |
---|
DirectedOutput(List<OutputSelector<OUT>> outputSelectors,
List<Tuple2<Output<StreamRecord<OUT>>,StreamEdge>> outputs) |
Modifier and Type | Field and Description |
---|---|
protected Output<StreamRecord<OUT>> |
AbstractStreamOperator.output |
Modifier and Type | Method and Description |
---|---|
void |
StreamSink.processElement(StreamRecord<IN> element) |
void |
StreamProject.processElement(StreamRecord<IN> element) |
void |
StreamMap.processElement(StreamRecord<IN> element) |
void |
StreamGroupedReduce.processElement(StreamRecord<IN> element) |
void |
StreamGroupedFold.processElement(StreamRecord<IN> element) |
void |
StreamFlatMap.processElement(StreamRecord<IN> element) |
void |
StreamFilter.processElement(StreamRecord<IN> element) |
void |
StreamCounter.processElement(StreamRecord<IN> element) |
void |
OneInputStreamOperator.processElement(StreamRecord<IN> element)
Processes one element that arrived at this operator.
|
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 |
---|---|
void |
StreamSource.run(Object lockingObject,
Output<StreamRecord<OUT>> 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 |
---|
AutomaticWatermarkContext(StreamSource<?,?> owner,
Object lockingObjectParam,
Output<StreamRecord<T>> outputParam,
long watermarkInterval) |
ManualWatermarkContext(StreamSource<?,?> owner,
Object lockingObject,
Output<StreamRecord<T>> output) |
NonTimestampContext(StreamSource<?,?> owner,
Object lockingObject,
Output<StreamRecord<T>> output) |
TimestampedCollector(Output<StreamRecord<T>> output)
Creates a new
TimestampedCollector that wraps the given Output . |
Modifier and Type | Method and Description |
---|---|
void |
CoStreamMap.processElement1(StreamRecord<IN1> element) |
void |
CoStreamFlatMap.processElement1(StreamRecord<IN1> element) |
void |
CoStreamMap.processElement2(StreamRecord<IN2> element) |
void |
CoStreamFlatMap.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 |
Evictor.evict(Iterable<StreamRecord<T>> elements,
int size,
W window)
Computes how many elements should be removed from the pane.
|
int |
DeltaEvictor.evict(Iterable<StreamRecord<T>> elements,
int size,
W window) |
Modifier and Type | Method and Description |
---|---|
void |
RecordWriterOutput.collect(StreamRecord<OUT> record) |
Constructor and Description |
---|
RecordWriterOutput(StreamRecordWriter<SerializationDelegate<StreamRecord<OUT>>> recordWriter,
TypeSerializer<OUT> outSerializer,
boolean enableWatermarkMultiplexing) |
Modifier and Type | Method and Description |
---|---|
void |
TimestampsAndPunctuatedWatermarksOperator.processElement(StreamRecord<T> element) |
void |
TimestampsAndPeriodicWatermarksOperator.processElement(StreamRecord<T> element) |
void |
ExtractTimestampsOperator.processElement(StreamRecord<T> element)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TriggerResult |
WindowOperator.Context.onElement(StreamRecord<IN> element) |
TriggerResult |
NonKeyedWindowOperator.Context.onElement(StreamRecord<IN> element) |
void |
WindowOperator.processElement(StreamRecord<IN> element) |
void |
NonKeyedWindowOperator.processElement(StreamRecord<IN> element) |
void |
EvictingWindowOperator.processElement(StreamRecord<IN> element) |
void |
AbstractAlignedProcessingTimeWindowOperator.processElement(StreamRecord<IN> element) |
Constructor and Description |
---|
EvictingWindowOperator(WindowAssigner<? super IN,W> windowAssigner,
TypeSerializer<W> windowSerializer,
KeySelector<IN,K> keySelector,
TypeSerializer<K> keySerializer,
StateDescriptor<? extends ListState<StreamRecord<IN>>,?> windowStateDescriptor,
InternalWindowFunction<Iterable<IN>,OUT,K,W> windowFunction,
Trigger<? super IN,? super W> trigger,
Evictor<? super IN,? super W> evictor) |
Modifier and Type | Method and Description |
---|---|
Iterable<StreamRecord<O>> |
WindowBuffer.getElements()
Returns all elements that are currently in the buffer.
|
Iterable<StreamRecord<T>> |
ReducingWindowBuffer.getElements() |
Iterable<StreamRecord<T>> |
ListWindowBuffer.getElements() |
Iterable<StreamRecord<ACC>> |
FoldingWindowBuffer.getElements() |
Modifier and Type | Method and Description |
---|---|
void |
WindowBuffer.storeElement(StreamRecord<T> element)
Adds the element to the buffer.
|
void |
ReducingWindowBuffer.storeElement(StreamRecord<T> element) |
void |
ListWindowBuffer.storeElement(StreamRecord<T> element) |
void |
FoldingWindowBuffer.storeElement(StreamRecord<T> element) |
Constructor and Description |
---|
FoldingWindowBuffer(FoldFunction<T,ACC> foldFunction,
StreamRecord<ACC> initialAccumulator,
TypeSerializer<ACC> accSerializer) |
ReducingWindowBuffer(ReduceFunction<T> reduceFunction,
StreamRecord<T> data,
TypeSerializer<T> serializer) |
Constructor and Description |
---|
ListWindowBuffer(ArrayDeque<StreamRecord<T>> elements,
TypeSerializer<T> serializer) |
Modifier and Type | Method and Description |
---|---|
int[] |
ShufflePartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
RescalePartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
RebalancePartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
HashPartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
GlobalPartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
ForwardPartitioner.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
CustomPartitionerWrapper.selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
int[] |
BroadcastPartitioner.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> |
StreamRecord.copy(T valueCopy)
Creates a copy of this stream record.
|
StreamRecord<T> |
StreamRecordSerializer.createInstance() |
StreamRecord<T> |
MultiplexingStreamRecordSerializer.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) |
void |
StreamRecord.copyTo(T valueCopy,
StreamRecord<T> target)
Copies this record into the new stream record.
|
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–2017 The Apache Software Foundation. All rights reserved.