| Package | Description |
|---|---|
| org.apache.flink.streaming.api.datastream | |
| org.apache.flink.streaming.api.functions.windowing | |
| org.apache.flink.streaming.runtime.operators.windowing |
This package contains the operators that implement the various window operations
on data streams.
|
| Modifier and Type | Method and Description |
|---|---|
<R> SingleOutputStreamOperator<R,?> |
AllWindowedStream.apply(AllWindowFunction<T,R,W> function)
Applies a window function to the window.
|
<R> SingleOutputStreamOperator<R,?> |
AllWindowedStream.apply(AllWindowFunction<T,R,W> function,
TypeInformation<R> resultType)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R,?> |
AllWindowedStream.apply(ReduceFunction<T> preAggregator,
AllWindowFunction<T,R,W> function)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R,?> |
AllWindowedStream.apply(ReduceFunction<T> preAggregator,
AllWindowFunction<T,R,W> function,
TypeInformation<R> resultType)
Applies the given window function to each window.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FoldAllWindowFunction<W extends Window,T,R> |
class |
ReduceAllWindowFunction<W extends Window,T> |
class |
RichAllWindowFunction<IN,OUT,W extends Window> |
| Constructor and Description |
|---|
EvictingNonKeyedWindowOperator(WindowAssigner<? super IN,W> windowAssigner,
TypeSerializer<W> windowSerializer,
WindowBufferFactory<? super IN,? extends EvictingWindowBuffer<IN>> windowBufferFactory,
AllWindowFunction<IN,OUT,W> windowFunction,
Trigger<? super IN,? super W> trigger,
Evictor<? super IN,? super W> evictor) |
NonKeyedWindowOperator(WindowAssigner<? super IN,W> windowAssigner,
TypeSerializer<W> windowSerializer,
WindowBufferFactory<? super IN,? extends WindowBuffer<IN>> windowBufferFactory,
AllWindowFunction<IN,OUT,W> windowFunction,
Trigger<? super IN,? super W> trigger)
Creates a new
WindowOperator based on the given policies and user functions. |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.