public static enum Aggregate._Fields extends java.lang.Enum<Aggregate._Fields> implements org.apache.thrift.TFieldIdEnum
| Enum Constant and Description |
|---|
AGG_FILTER
指定过滤某些统计。
|
AGG_FUN
指定统计的方法。当前支持:count、max、min、sum等。
|
AGG_SAMPLER_STEP
指定抽样的步长。
|
AGG_SAMPLER_THRES_HOLD
指定抽样的阈值。
|
GROUP_KEY
指定需要统计的字段名称。
|
MAX_GROUP
最大组个数。
|
RANGE
指定统计范围。
|
| Modifier and Type | Method and Description |
|---|---|
static Aggregate._Fields |
findByName(java.lang.String name) |
static Aggregate._Fields |
findByThriftId(int fieldId) |
static Aggregate._Fields |
findByThriftIdOrThrow(int fieldId) |
java.lang.String |
getFieldName() |
short |
getThriftFieldId() |
static Aggregate._Fields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Aggregate._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aggregate._Fields GROUP_KEY
public static final Aggregate._Fields AGG_FUN
public static final Aggregate._Fields RANGE
public static final Aggregate._Fields MAX_GROUP
public static final Aggregate._Fields AGG_FILTER
public static final Aggregate._Fields AGG_SAMPLER_THRES_HOLD
public static final Aggregate._Fields AGG_SAMPLER_STEP
public static Aggregate._Fields[] values()
for (Aggregate._Fields c : Aggregate._Fields.values()) System.out.println(c);
public static Aggregate._Fields 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 static Aggregate._Fields findByThriftId(int fieldId)
public static Aggregate._Fields findByThriftIdOrThrow(int fieldId)
public static Aggregate._Fields findByName(java.lang.String name)
public short getThriftFieldId()
getThriftFieldId in interface org.apache.thrift.TFieldIdEnumpublic java.lang.String getFieldName()
getFieldName in interface org.apache.thrift.TFieldIdEnumCopyright © 2023. All Rights Reserved.