|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<CqQuery.DisplayField.Aggregation>
CqQuery.DisplayField.Aggregation
public static enum CqQuery.DisplayField.Aggregation
Supported display field aggregate functions. When these aggregate functions are used, the result set will have only one row. The value in the column of that row will be computed as a function of the values in this display field in all records selected by the query filter.
Enum Constant Summary | |
---|---|
AVERAGE
The average of the field values associated with this column |
|
COUNT
The number of non-null field values associated with this column. |
|
MAXIMUM
The maximum value of the field values associated with this column |
|
MINIMUM
The minimum value of the field values associated with this column |
|
NO_AGGREGATION
The column is not aggregated |
|
SUM
The sum of the field values associated with his column |
Method Summary | |
---|---|
static CqQuery.DisplayField.Aggregation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CqQuery.DisplayField.Aggregation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CqQuery.DisplayField.Aggregation AVERAGE
public static final CqQuery.DisplayField.Aggregation COUNT
public static final CqQuery.DisplayField.Aggregation MAXIMUM
public static final CqQuery.DisplayField.Aggregation MINIMUM
public static final CqQuery.DisplayField.Aggregation NO_AGGREGATION
public static final CqQuery.DisplayField.Aggregation SUM
Method Detail |
---|
public static CqQuery.DisplayField.Aggregation valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static CqQuery.DisplayField.Aggregation[] values()
for (CqQuery.DisplayField.Aggregation c : CqQuery.DisplayField.Aggregation.values()) System.out.println(c);
|
Generated Mon 30-Jan-2017 04:26 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |