Interface NamespaceTableAggsHandleFunction<N>
- All Superinterfaces:
org.apache.flink.api.common.functions.Function,NamespaceAggsHandleFunctionBase<N>,Serializable
The base class for handling table aggregate functions with namespace.
-
Method Summary
Methods inherited from interface org.apache.flink.table.runtime.generated.NamespaceAggsHandleFunctionBase
accumulate, cleanup, close, createAccumulators, getAccumulators, merge, open, retract, setAccumulators
-
Method Details
-
emitValue
void emitValue(N namespace, org.apache.flink.table.data.RowData key, org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out) throws Exception Emits the result of the aggregation from the current accumulators and namespace properties (like window start).- Parameters:
namespace- the namespace properties which should be calculated, such window startkey- the group key for the current emit.out- the collector used to emit results.- Throws:
Exception
-