Class AggVisitor

    • Field Detail

      • over

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

        protected final AggFinder delegate
      • aggregate

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

        protected final 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,
                   @Nullable
                   AggFinder delegate,
                   SqlNameMatcher nameMatcher)
        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
        nameMatcher - Whether to match the agg function names case-sensitively