|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AggregationType>
com.google.visualization.datasource.query.AggregationType
public enum AggregationType
Enumeration of all possible aggregation types.
| Enum Constant Summary | |
|---|---|
AVG
|
|
COUNT
|
|
MAX
|
|
MIN
|
|
SUM
|
|
| Method Summary | |
|---|---|
static AggregationType |
getByCode(java.lang.String code)
Returns the correct AggregationType for a given code. |
java.lang.String |
getCode()
Get this AggregationType code. |
static AggregationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AggregationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AggregationType SUM
public static final AggregationType COUNT
public static final AggregationType MIN
public static final AggregationType MAX
public static final AggregationType AVG
| Method Detail |
|---|
public static AggregationType[] values()
for (AggregationType c : AggregationType.values()) System.out.println(c);
public static AggregationType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getCode()
public static AggregationType getByCode(java.lang.String code)
code - The code for a type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||