Class Max

  • All Implemented Interfaces:
    Column, SQLFunction

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

      • Max

        public Max​(Column column)
        Construct an MAX function class with the column to calculate the maximum from.
        Parameters:
        column - the Column to calculate the maximum from.
      • Max

        public Max​(String sqlExpression)
        Construct an MAX function class with an SQL expression to calculate the maximum from.
        Parameters:
        sqlExpression - the SQL expression to calculate the maximum from.
      • Max

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