public static enum TGet._Fields extends Enum<TGet._Fields> implements org.apache.thrift.TFieldIdEnum
| 枚举常量和说明 |
|---|
ATTRIBUTES |
AUTHORIZATIONS |
CACHE_BLOCKS |
COLUMNS |
CONSISTENCY |
EXISTENCE_ONLY |
FILTER_BYTES |
FILTER_STRING |
MAX_VERSIONS |
ROW |
STORE_LIMIT |
STORE_OFFSET |
TARGET_REPLICA_ID |
TIME_RANGE |
TIMESTAMP |
| 限定符和类型 | 方法和说明 |
|---|---|
static TGet._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static TGet._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static TGet._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static TGet._Fields |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TGet._Fields[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final TGet._Fields ROW
public static final TGet._Fields COLUMNS
public static final TGet._Fields TIMESTAMP
public static final TGet._Fields TIME_RANGE
public static final TGet._Fields MAX_VERSIONS
public static final TGet._Fields FILTER_STRING
public static final TGet._Fields ATTRIBUTES
public static final TGet._Fields AUTHORIZATIONS
public static final TGet._Fields CONSISTENCY
TConsistencypublic static final TGet._Fields TARGET_REPLICA_ID
public static final TGet._Fields CACHE_BLOCKS
public static final TGet._Fields STORE_LIMIT
public static final TGet._Fields STORE_OFFSET
public static final TGet._Fields EXISTENCE_ONLY
public static final TGet._Fields FILTER_BYTES
public static TGet._Fields[] values()
for (TGet._Fields c : TGet._Fields.values()) System.out.println(c);
public static TGet._Fields valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static TGet._Fields findByThriftId(int fieldId)
public static TGet._Fields findByThriftIdOrThrow(int fieldId)
public static TGet._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId 在接口中 org.apache.thrift.TFieldIdEnumpublic String getFieldName()
getFieldName 在接口中 org.apache.thrift.TFieldIdEnumCopyright © 2019. All rights reserved.