public class SummaryFunctionType
extends java.lang.Enum records an array of recordsfield the field definition for which the summary is required SummaryFunctionType type. | Modifier and Type | Field and Description | 
|---|---|
| static SummaryFunctionType | ARRAYReturns a list of the values of the summary field in all matching records. | 
| static SummaryFunctionType | AVGIterates through the set of records, picking up all numeric values for the specified field and determining the mean value. | 
| static SummaryFunctionType | CONCATReturns a string concatenation of the values of the summary field in all matching records. | 
| static SummaryFunctionType | COUNTReturns a numeric count of the total number of records passed in. | 
| static SummaryFunctionType | FIRSTCurrently behaves the same way as  SummaryFunctionType.MIN. | 
| static SummaryFunctionType | MAXIterates through the set of records, picking up all values for the specified field and finding the maximum value. | 
| static SummaryFunctionType | MINIterates through the set of records, picking up all values for the specified field and finding the minimum value. | 
| static SummaryFunctionType | SUMIterates through the set of records, picking up and summing all numeric values for the specified field. | 
public static final SummaryFunctionType FIRST
SummaryFunctionType.MIN.public static final SummaryFunctionType SUM
public static final SummaryFunctionType AVG
public static final SummaryFunctionType MAX
public static final SummaryFunctionType MIN
public static final SummaryFunctionType COUNT
public static final SummaryFunctionType CONCAT
Implemented as SQL CONCAT function when the underlying database product is Oracle, and with a separate database fetch on other database products, for SQLDataSource. Also supported as a post-process function on generic DataSource implementations that do not inherently support aggregation. Not supported by the Hibernate and JPA DataSources
public static final SummaryFunctionType ARRAY
Implemented with a separate database fetch with SQLDataSource. Also supported as a post-process function on generic DataSource implementations that do not inherently support aggregation. Not supported by the Hibernate and JPA DataSources