Class SqlAvgAggFunction

  • All Implemented Interfaces:
    Context, Wrapper

    public class SqlAvgAggFunction
    extends SqlAggFunction
    Avg is an aggregator which returns the average of the values which go into it. It has precisely one argument of numeric type (int, long, float, double), and the result is the same type.
    • Constructor Detail

      • SqlAvgAggFunction

        public SqlAvgAggFunction​(SqlKind kind)
        Creates a SqlAvgAggFunction.
      • SqlAvgAggFunction

        SqlAvgAggFunction​(java.lang.String name,
                          SqlKind kind)
    • Method Detail

      • getSubtype

        @Deprecated
        public SqlAvgAggFunction.Subtype getSubtype()
        Deprecated.
        Returns the specific function, e.g. AVG or STDDEV_POP.
        Returns:
        Subtype