Class SqlCovarAggFunction

  • All Implemented Interfaces:
    Context, Wrapper

    public class SqlCovarAggFunction
    extends SqlAggFunction
    Covar is an aggregator which returns the Covariance of the values which go into it. It has precisely two arguments of numeric type (int, long, float, double), and the result is the same type.
    • Constructor Detail

      • SqlCovarAggFunction

        public SqlCovarAggFunction​(SqlKind kind)
        Creates a SqlCovarAggFunction.
    • Method Detail

      • getSubtype

        public SqlCovarAggFunction.Subtype getSubtype()
        Returns the specific function, e.g. COVAR_POP or COVAR_SAMP.