public class Min extends AggregateFunction
| Constructor and Description |
|---|
Min(Column column)
Construct an MIN function class with the column to calculate the minimum
from.
|
Min(Column column,
boolean distinct)
Construct an MIN function class with the column to calculate
the minimum from and possibly a distinct modifier.
|
Min(String sqlExpression)
Construct an MIN function class with an SQL expression to calculate
the minimum from.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setFunction(String function)
This method cannot be called, an UnsupportedOperationException
will always be thrown.
|
getArgument, getArguments, getColumn, getColumnName, getFullTableName, getFunction, getSchemaName, getSqlExpression, getTableName, isDistinct, setArguments, setColumnpublic Min(Column column)
column - the Column to calculate the minimum from.public Min(String sqlExpression)
sqlExpression - the SQL expression to calculate the minimum from.public Min(Column column, boolean distinct)
column - the Column to calculate the minimum from.distinct - whether to calculate the minimum from only
distinct values.public void setFunction(String function)
setFunction in class AggregateFunctionfunction - disregarded.UnsupportedOperationException - always.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.