Class Min

  • All Implemented Interfaces:
    Column, SQLFunction

    public class Min
    extends AggregateFunction
    SQL99 Standard min function.
    Version:
    $Id: Min.java 1848281 2018-12-06 10:48:36Z tv $
    • Constructor Detail

      • Min

        public Min​(Column column)
        Construct an MIN function class with the column to calculate the minimum from.
        Parameters:
        column - the Column to calculate the minimum from.
      • Min

        public Min​(String sqlExpression)
        Construct an MIN function class with an SQL expression to calculate the minimum from.
        Parameters:
        sqlExpression - the SQL expression to calculate the minimum from.
      • Min

        public Min​(Column column,
                   boolean distinct)
        Construct an MIN function class with the column to calculate the minimum from and possibly a distinct modifier.
        Parameters:
        column - the Column to calculate the minimum from.
        distinct - whether to calculate the minimum from only distinct values.