public enum AggregationType extends Enum<AggregationType>
枚举常量和说明 |
---|
AGG_AVG
平均
|
AGG_COUNT
求文档数
|
AGG_DISTINCT_COUNT
去重统计文档树
|
AGG_MAX
求最大值
|
AGG_MIN
求最小值
|
AGG_SUM
求和
|
public static final AggregationType AGG_AVG
public static final AggregationType AGG_DISTINCT_COUNT
public static final AggregationType AGG_MAX
public static final AggregationType AGG_MIN
public static final AggregationType AGG_SUM
public static final AggregationType AGG_COUNT
public static AggregationType[] values()
for (AggregationType c : AggregationType.values()) System.out.println(c);
public static AggregationType valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2019. All Rights Reserved.