Package org.apache.torque.util.functions
Klasse Max
java.lang.Object
org.apache.torque.util.functions.AggregateFunction
org.apache.torque.util.functions.Max
- Alle implementierten Schnittstellen:
Column
,SQLFunction
SQL99 Standard max function.
- Version:
- $Id: Max.java 1848281 2018-12-06 10:48:36Z tv $
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstruct an MAX function class with an SQL expression to calculate the maximum from.Construct an MAX function class with the column to calculate the maximum from.Construct an MAX function class with the column to calculate the maximum from and possibly a distinct modifier. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
setFunction
(String function) This method cannot be called, an UnsupportedOperationException will always be thrown.Von Klasse geerbte Methoden org.apache.torque.util.functions.AggregateFunction
getArgument, getArguments, getColumn, getColumnName, getFullTableName, getFunction, getSchemaName, getSqlExpression, getTableName, isDistinct, setArguments, setColumn
-
Konstruktordetails
-
Max
Construct an MAX function class with the column to calculate the maximum from.- Parameter:
column
- the Column to calculate the maximum from.
-
Max
Construct an MAX function class with an SQL expression to calculate the maximum from.- Parameter:
sqlExpression
- the SQL expression to calculate the maximum from.
-
Max
Construct an MAX function class with the column to calculate the maximum from and possibly a distinct modifier.- Parameter:
column
- the Column to calculate the maximum from.distinct
- whether to calculate the maximum from only distinct values.
-
-
Methodendetails
-
setFunction
This method cannot be called, an UnsupportedOperationException will always be thrown.- Setzt außer Kraft:
setFunction
in KlasseAggregateFunction
- Parameter:
function
- disregarded.- Löst aus:
UnsupportedOperationException
- always.
-