Interface NamespaceTableAggsHandleFunction<N>

All Superinterfaces:
org.apache.flink.api.common.functions.Function, NamespaceAggsHandleFunctionBase<N>, Serializable

public interface NamespaceTableAggsHandleFunction<N> extends NamespaceAggsHandleFunctionBase<N>
The base class for handling table aggregate functions with namespace.
  • 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 start
      key - the group key for the current emit.
      out - the collector used to emit results.
      Throws:
      Exception