Enum AggregateFunction

    • Enum Constant Detail

      • FIRST_VALUE

        public static final AggregateFunction FIRST_VALUE
        First value aggregate function.
      • LAST_VALUE

        public static final AggregateFunction LAST_VALUE
        Last value aggregate function.
      • STDDEV_POP

        public static final AggregateFunction STDDEV_POP
        Stddev pop aggregate function.
      • STDDEV_SAMP

        public static final AggregateFunction STDDEV_SAMP
        Stddev samp aggregate function.
      • VARIANCE

        public static final AggregateFunction VARIANCE
        Variance aggregate function.
      • VAR_SAMP

        public static final AggregateFunction VAR_SAMP
        Var samp aggregate function.
      • GROUP_CONCAT

        public static final AggregateFunction GROUP_CONCAT
        Group concat aggregate function.
      • APPROXIMATE_COUNT_DISTINCT

        public static final AggregateFunction APPROXIMATE_COUNT_DISTINCT
        Approximate count distinct aggregate function.
      • GEO_INTERSECTION_AGGREGATE

        public static final AggregateFunction GEO_INTERSECTION_AGGREGATE
        Geo intersection aggregate aggregate function.
      • GEO_UNION_AGGREGATE

        public static final AggregateFunction GEO_UNION_AGGREGATE
        Geo union aggregate aggregate function.
      • ST_INTERSECTION

        public static final AggregateFunction ST_INTERSECTION
        St intersection aggregate function.
      • ST_UNION

        public static final AggregateFunction ST_UNION
        St union aggregate function.
    • Method Detail

      • values

        public static AggregateFunction[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AggregateFunction c : AggregateFunction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AggregateFunction valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isSimple

        public boolean isSimple()
        True if the function is simple, i.e. is handled by SqlFunctionAggregate, and false if it has it's own implementation.
        Returns:
        true if the function is simple