public static enum Search.AggregationType extends Enum<Search.AggregationType> implements com.aliyun.ots.thirdparty.com.google.protobuf.ProtocolMessageEnum
///////////////////////////////////////////////// new agg protoProtobuf enum
com.alicloud.openservices.tablestore.core.protocol.AggregationType| 枚举常量和说明 |
|---|
AGG_AVG
AGG_AVG = 1; |
AGG_COUNT
AGG_COUNT = 5; |
AGG_DISTINCT_COUNT
AGG_DISTINCT_COUNT = 6; |
AGG_MAX
AGG_MAX = 2; |
AGG_MIN
AGG_MIN = 3; |
AGG_PERCENTILES
AGG_PERCENTILES = 8; |
AGG_SUM
AGG_SUM = 4; |
AGG_TOP_ROWS
AGG_TOP_ROWS = 7; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
AGG_AVG_VALUE
AGG_AVG = 1; |
static int |
AGG_COUNT_VALUE
AGG_COUNT = 5; |
static int |
AGG_DISTINCT_COUNT_VALUE
AGG_DISTINCT_COUNT = 6; |
static int |
AGG_MAX_VALUE
AGG_MAX = 2; |
static int |
AGG_MIN_VALUE
AGG_MIN = 3; |
static int |
AGG_PERCENTILES_VALUE
AGG_PERCENTILES = 8; |
static int |
AGG_SUM_VALUE
AGG_SUM = 4; |
static int |
AGG_TOP_ROWS_VALUE
AGG_TOP_ROWS = 7; |
| 限定符和类型 | 方法和说明 |
|---|---|
static Search.AggregationType |
forNumber(int value) |
static com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.aliyun.ots.thirdparty.com.google.protobuf.Internal.EnumLiteMap<Search.AggregationType> |
internalGetValueMap() |
static Search.AggregationType |
valueOf(com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Search.AggregationType |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static Search.AggregationType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Search.AggregationType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Search.AggregationType AGG_AVG
AGG_AVG = 1;public static final Search.AggregationType AGG_DISTINCT_COUNT
AGG_DISTINCT_COUNT = 6;public static final Search.AggregationType AGG_MAX
AGG_MAX = 2;public static final Search.AggregationType AGG_MIN
AGG_MIN = 3;public static final Search.AggregationType AGG_SUM
AGG_SUM = 4;public static final Search.AggregationType AGG_COUNT
AGG_COUNT = 5;public static final Search.AggregationType AGG_TOP_ROWS
AGG_TOP_ROWS = 7;public static final Search.AggregationType AGG_PERCENTILES
AGG_PERCENTILES = 8;public static final int AGG_AVG_VALUE
AGG_AVG = 1;public static final int AGG_DISTINCT_COUNT_VALUE
AGG_DISTINCT_COUNT = 6;public static final int AGG_MAX_VALUE
AGG_MAX = 2;public static final int AGG_MIN_VALUE
AGG_MIN = 3;public static final int AGG_SUM_VALUE
AGG_SUM = 4;public static final int AGG_COUNT_VALUE
AGG_COUNT = 5;public static final int AGG_TOP_ROWS_VALUE
AGG_TOP_ROWS = 7;public static final int AGG_PERCENTILES_VALUE
AGG_PERCENTILES = 8;public static Search.AggregationType[] values()
for (Search.AggregationType c : Search.AggregationType.values()) System.out.println(c);
public static Search.AggregationType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.ProtocolMessageEnum@Deprecated public static Search.AggregationType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Search.AggregationType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.aliyun.ots.thirdparty.com.google.protobuf.Internal.EnumLiteMap<Search.AggregationType> internalGetValueMap()
public final com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic final com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic static final com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Search.AggregationType valueOf(com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All Rights Reserved.