W
- The window typeT
- The type of the input to the AggregateFunctionACC
- The type of the AggregateFunction's accumulatorV
- The type of the AggregateFunction's result, and the input to the WindowFunctionR
- The result type of the WindowFunction@Internal public class AggregateApplyAllWindowFunction<W extends Window,T,ACC,V,R> extends org.apache.flink.api.java.operators.translation.WrappingFunction<AllWindowFunction<V,R,W>> implements AllWindowFunction<T,R,W>
AllWindowFunction
that composes an AggregateFunction
and AllWindowFunction
.
Upon invocation, this first applies AggregateFunction
to the input, and then
finally the AllWindowFunction
to the single result element.构造器和说明 |
---|
AggregateApplyAllWindowFunction(org.apache.flink.api.common.functions.AggregateFunction<T,ACC,V> aggFunction,
AllWindowFunction<V,R,W> windowFunction) |
限定符和类型 | 方法和说明 |
---|---|
void |
apply(W window,
Iterable<T> values,
org.apache.flink.util.Collector<R> out)
Evaluates the window and outputs none or several elements.
|
close, getWrappedFunction, open, setRuntimeContext
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.