Class GroupAggFunctionBase

    • Field Detail

      • genRecordEqualiser

        protected final GeneratedRecordEqualiser genRecordEqualiser
        The code generated equaliser used to equal RowData.
      • accTypes

        protected final org.apache.flink.table.types.logical.LogicalType[] accTypes
        The accumulator types.
      • recordCounter

        protected final RecordCounter recordCounter
        Used to count the number of added and retracted input records.
      • generateUpdateBefore

        protected final boolean generateUpdateBefore
        Whether this operator will generate UPDATE_BEFORE messages.
      • ttlConfig

        protected final org.apache.flink.api.common.state.StateTtlConfig ttlConfig
        State idle retention config.
    • Constructor Detail

      • GroupAggFunctionBase

        public GroupAggFunctionBase​(GeneratedAggsHandleFunction genAggsHandler,
                                    GeneratedRecordEqualiser genRecordEqualiser,
                                    org.apache.flink.table.types.logical.LogicalType[] accTypes,
                                    int indexOfCountStar,
                                    boolean generateUpdateBefore,
                                    long stateRetentionTime)
    • Method Detail

      • open

        public void open​(org.apache.flink.api.common.functions.OpenContext openContext)
                  throws Exception
        Specified by:
        open in interface org.apache.flink.api.common.functions.RichFunction
        Overrides:
        open in class org.apache.flink.api.common.functions.AbstractRichFunction
        Throws:
        Exception
      • close

        public void close()
                   throws Exception
        Specified by:
        close in interface org.apache.flink.api.common.functions.RichFunction
        Overrides:
        close in class org.apache.flink.api.common.functions.AbstractRichFunction
        Throws:
        Exception