| 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,
ProcessWindowFunction<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,
ProcessWindowFunction<V,R,K,W> windowFunction,
org.apache.flink.api.common.typeinfo.TypeInformation<ACC> accumulatorType,
org.apache.flink.api.common.typeinfo.TypeInformation<V> aggregateResultType,
org.apache.flink.api.common.typeinfo.TypeInformation<R> resultType)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R> |
WindowedStream.process(ProcessWindowFunction<T,R,K,W> function)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R> |
WindowedStream.process(ProcessWindowFunction<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,
ProcessWindowFunction<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,
ProcessWindowFunction<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 |
ReduceApplyProcessWindowFunction<K,W extends Window,T,R>
Internal
ProcessWindowFunction that is used for implementing a fold on a window
configuration that only allows AllWindowFunction and cannot directly execute a ReduceFunction. |
class |
RichProcessWindowFunction<IN,OUT,KEY,W extends Window>
Deprecated.
use
ProcessWindowFunction instead |
| Constructor and Description |
|---|
ReduceApplyProcessWindowFunction(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
ProcessWindowFunction<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,
ProcessWindowFunction<V,R,K,W> windowFunction,
org.apache.flink.api.common.typeinfo.TypeInformation<ACC> accumulatorType) |
<R> WindowOperator<K,T,?,R,W> |
WindowOperatorBuilder.process(ProcessWindowFunction<T,R,K,W> function) |
<R> WindowOperator<K,T,?,R,W> |
WindowOperatorBuilder.reduce(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
ProcessWindowFunction<T,R,K,W> function) |
| Constructor and Description |
|---|
InternalAggregateProcessWindowFunction(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggFunction,
ProcessWindowFunction<V,R,K,W> windowFunction) |
InternalIterableProcessWindowFunction(ProcessWindowFunction<IN,OUT,KEY,W> wrappedFunction) |
InternalSingleValueProcessWindowFunction(ProcessWindowFunction<IN,OUT,KEY,W> wrappedFunction) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.