public enum AggregationType extends Enum<AggregationType>
Enum Constant and Description |
---|
AVERAGE
The average.
|
FILTER
The filter.
|
HISTOGRAM
The histogram.
|
MAX
The max.
|
MIN
The min.
|
NESTED
The nested.
|
SUM
The sum.
|
TERM
The term.
|
TIMESLICE
The timeslice.
|
TOP_HITS
The top hits.
|
UNIQUE_COUNT
The unique count.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name.
|
String |
toString()
To string.
|
static AggregationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregationType |
valueOfIgnoreCase(String value)
Value of ignore case.
|
static AggregationType[] |
values()
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public static AggregationType valueOfIgnoreCase(String value) throws IllegalArgumentException
value
- the valueIllegalArgumentException
- the illegal argument exceptionpublic String toString()
toString
in class Enum<AggregationType>
Copyright © 2021 IBM Cloud. All rights reserved.