| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.datastream | |
| org.apache.flink.streaming.api.functions.windowing | |
| org.apache.flink.streaming.runtime.operators.windowing.functions |
| 限定符和类型 | 方法和说明 |
|---|---|
<ACC,V,R> SingleOutputStreamOperator<R> |
AllWindowedStream.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggFunction,
ProcessAllWindowFunction<V,R,W> windowFunction)
Applies the given window function to each window.
|
<ACC,V,R> SingleOutputStreamOperator<R> |
AllWindowedStream.aggregate(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggregateFunction,
ProcessAllWindowFunction<V,R,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> |
AllWindowedStream.process(ProcessAllWindowFunction<T,R,W> function)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R> |
AllWindowedStream.process(ProcessAllWindowFunction<T,R,W> function,
org.apache.flink.api.common.typeinfo.TypeInformation<R> resultType)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R> |
AllWindowedStream.reduce(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
ProcessAllWindowFunction<T,R,W> function)
Applies the given window function to each window.
|
<R> SingleOutputStreamOperator<R> |
AllWindowedStream.reduce(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
ProcessAllWindowFunction<T,R,W> function,
org.apache.flink.api.common.typeinfo.TypeInformation<R> resultType)
Applies the given window function to each window.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ReduceApplyProcessAllWindowFunction<W extends Window,T,R>
Internal
ProcessAllWindowFunction that is used for implementing a fold on a window
configuration that only allows AllWindowFunction and cannot directly execute a ReduceFunction. |
class |
RichProcessAllWindowFunction<IN,OUT,W extends Window>
已过时。
use
ProcessAllWindowFunction instead |
| 构造器和说明 |
|---|
ReduceApplyProcessAllWindowFunction(org.apache.flink.api.common.functions.ReduceFunction<T> reduceFunction,
ProcessAllWindowFunction<T,R,W> windowFunction) |
| 构造器和说明 |
|---|
InternalAggregateProcessAllWindowFunction(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggFunction,
ProcessAllWindowFunction<V,R,W> windowFunction) |
InternalIterableProcessAllWindowFunction(ProcessAllWindowFunction<IN,OUT,W> wrappedFunction) |
InternalSingleValueProcessAllWindowFunction(ProcessAllWindowFunction<IN,OUT,W> wrappedFunction) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.