public enum AggregationType extends java.lang.Enum<AggregationType>
Enum Constant and Description |
---|
AVERAGE
Deprecated.
|
FILTER
Deprecated.
|
HISTOGRAM
Deprecated.
|
MAX
Deprecated.
|
MIN
Deprecated.
|
NESTED
Deprecated.
|
SUM
Deprecated.
|
TERM
Deprecated.
|
TIMESLICE
Deprecated.
|
TOP_HITS
Deprecated.
|
UNIQUE_COUNT
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
static AggregationType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static AggregationType |
valueOfIgnoreCase(java.lang.String value)
Deprecated.
|
static AggregationType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationType TERM
public static final AggregationType FILTER
public static final AggregationType NESTED
public static final AggregationType HISTOGRAM
public static final AggregationType TIMESLICE
public static final AggregationType TOP_HITS
public static final AggregationType UNIQUE_COUNT
public static final AggregationType MAX
public static final AggregationType MIN
public static final AggregationType AVERAGE
public static final AggregationType SUM
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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static AggregationType valueOfIgnoreCase(java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String toString()
toString
in class java.lang.Enum<AggregationType>