Class AggVisitor

    • Field Detail

      • over

        protected final boolean over
        Whether to find windowed aggregates.
      • delegate

        protected final AggFinder delegate
      • aggregate

        protected boolean aggregate
        Whether to find regular (non-windowed) aggregates.
      • group

        protected boolean group
        Whether to find group functions (e.g. TUMBLE) or group auxiliary functions (e.g. TUMBLE_START).
    • Constructor Detail

      • AggVisitor

        AggVisitor​(SqlOperatorTable opTab,
                   boolean over,
                   boolean aggregate,
                   boolean group,
                   AggFinder delegate)
        Creates an AggVisitor.
        Parameters:
        opTab - Operator table
        over - Whether to find windowed function calls agg(x) OVER windowSpec
        aggregate - Whether to find non-windowed aggregate calls
        group - Whether to find group functions (e.g. TUMBLE)
        delegate - Finder to which to delegate when processing the arguments