Class GroupAggHelper


  • public abstract class GroupAggHelper
    extends Object
    A helper to do the logic of group agg.
    • Constructor Detail

    • Method Detail

      • processElement

        public void processElement​(org.apache.flink.table.data.RowData input,
                                   org.apache.flink.table.data.RowData currentKey,
                                   org.apache.flink.table.data.RowData accumulators,
                                   org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out)
                            throws Exception
        Throws:
        Exception
      • updateAccumulatorsState

        protected abstract void updateAccumulatorsState​(org.apache.flink.table.data.RowData accumulators)
                                                 throws Exception
        Throws:
        Exception
      • clearAccumulatorsState

        protected abstract void clearAccumulatorsState()
                                                throws Exception
        Throws:
        Exception