public static enum SortField._Fields extends java.lang.Enum<SortField._Fields> implements org.apache.thrift.TFieldIdEnum
| Enum Constant and Description |
|---|
FIELD
排序方式字段名.
|
ORDER
排序方式,有升序“INCREASE”和降序“DECREASE”两种方式。默认值为“DECREASE”
|
| Modifier and Type | Method and Description |
|---|---|
static SortField._Fields |
findByName(java.lang.String name) |
static SortField._Fields |
findByThriftId(int fieldId) |
static SortField._Fields |
findByThriftIdOrThrow(int fieldId) |
java.lang.String |
getFieldName() |
short |
getThriftFieldId() |
static SortField._Fields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SortField._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortField._Fields FIELD
public static final SortField._Fields ORDER
Orderpublic static SortField._Fields[] values()
for (SortField._Fields c : SortField._Fields.values()) System.out.println(c);
public static SortField._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 SortField._Fields findByThriftId(int fieldId)
public static SortField._Fields findByThriftIdOrThrow(int fieldId)
public static SortField._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.