public enum AggregationType extends java.lang.Enum<AggregationType>
聚合查询的类型
枚举常量和说明 |
---|
avg
平均值聚合类型
|
geohash_grid
格网聚合类型
|
max
最大值聚合类型
|
min
最小值聚合类型
|
sum
求和聚合类型
|
限定符和类型 | 方法和说明 |
---|---|
static AggregationType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static AggregationType[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final AggregationType geohash_grid
public static final AggregationType max
public static final AggregationType min
public static final AggregationType avg
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
- 要返回的枚举常量的名称。