| 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.
|
| org.apache.flink.streaming.runtime.operators.windowing.functions |
| Modifier and Type | Method and Description |
|---|---|
<ACC,V,R> SingleOutputStreamOperator<R> |
WindowedStream.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggFunction,
WindowFunction<V,R,K,W> windowFunction)
Applies the given window function to each window.
|
<ACC,V,R> SingleOutputStreamOperator<R> |
WindowedStream.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggregateFunction,
WindowFunction<V,R,K,W> windowFunction,
org.apache.flink.api.common.typeinfo.TypeInformation<ACC> accumulatorType,
org.apache.flink.api.common.typeinfo.TypeInformation<R> resultType)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R> |
WindowedStream.apply(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
WindowFunction<T,R,K,W> function)
Deprecated.
|
<R> SingleOutputStreamOperator<R> |
WindowedStream.apply(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
WindowFunction<T,R,K,W> function,
org.apache.flink.api.common.typeinfo.TypeInformation<R> resultType)
Deprecated.
|
<R> SingleOutputStreamOperator<R> |
WindowedStream.apply(WindowFunction<T,R,K,W> function)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R> |
WindowedStream.apply(WindowFunction<T,R,K,W> function,
org.apache.flink.api.common.typeinfo.TypeInformation<R> resultType)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R> |
WindowedStream.reduce(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
WindowFunction<T,R,K,W> function)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R> |
WindowedStream.reduce(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
WindowFunction<T,R,K,W> function,
org.apache.flink.api.common.typeinfo.TypeInformation<R> resultType)
Applies the given window function to each window.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AggregateApplyWindowFunction<K,W extends Window,T,ACC,V,R>
|
class |
PassThroughWindowFunction<K,W extends Window,T>
A
WindowFunction that just emits each input element. |
class |
ReduceApplyWindowFunction<K,W extends Window,T,R>
Internal
WindowFunction that is used for implementing a fold on a window configuration
that only allows WindowFunction and cannot directly execute a ReduceFunction. |
class |
RichWindowFunction<IN,OUT,KEY,W extends Window>
Rich variant of the
WindowFunction. |
| Constructor and Description |
|---|
AggregateApplyWindowFunction(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggFunction,
WindowFunction<V,R,K,W> windowFunction) |
ReduceApplyWindowFunction(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
WindowFunction<T,R,K,W> windowFunction) |
| Modifier and Type | Method and Description |
|---|---|
<ACC,V,R> WindowOperator<K,T,?,R,W> |
WindowOperatorBuilder.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggregateFunction,
WindowFunction<V,R,K,W> windowFunction,
org.apache.flink.api.common.typeinfo.TypeInformation<ACC> accumulatorType) |
<R> WindowOperator<K,T,?,R,W> |
WindowOperatorBuilder.apply(WindowFunction<T,R,K,W> function) |
<R> WindowOperator<K,T,?,R,W> |
WindowOperatorBuilder.reduce(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
WindowFunction<T,R,K,W> function) |
| Constructor and Description |
|---|
InternalIterableWindowFunction(WindowFunction<IN,OUT,KEY,W> wrappedFunction) |
InternalSingleValueWindowFunction(WindowFunction<IN,OUT,KEY,W> wrappedFunction) |
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.