public static enum Partition._Fields extends Enum<Partition._Fields> implements org.apache.thrift.TFieldIdEnum
| Enum Constant and Description |
|---|
CAT_NAME |
COL_STATS |
CREATE_TIME |
DB_NAME |
FILE_METADATA |
IS_STATS_COMPLIANT |
LAST_ACCESS_TIME |
PARAMETERS |
PRIVILEGES |
SD |
TABLE_NAME |
VALUES |
WRITE_ID |
| Modifier and Type | Method and Description |
|---|---|
static Partition._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static Partition._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static Partition._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static Partition._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Partition._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Partition._Fields VALUES
public static final Partition._Fields DB_NAME
public static final Partition._Fields TABLE_NAME
public static final Partition._Fields CREATE_TIME
public static final Partition._Fields LAST_ACCESS_TIME
public static final Partition._Fields SD
public static final Partition._Fields PARAMETERS
public static final Partition._Fields PRIVILEGES
public static final Partition._Fields CAT_NAME
public static final Partition._Fields WRITE_ID
public static final Partition._Fields IS_STATS_COMPLIANT
public static final Partition._Fields COL_STATS
public static final Partition._Fields FILE_METADATA
public static Partition._Fields[] values()
for (Partition._Fields c : Partition._Fields.values()) System.out.println(c);
public static Partition._Fields valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Partition._Fields findByThriftId(int fieldId)
public static Partition._Fields findByThriftIdOrThrow(int fieldId)
public static Partition._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId in interface org.apache.thrift.TFieldIdEnumpublic String getFieldName()
getFieldName in interface org.apache.thrift.TFieldIdEnumCopyright © 2024 The Apache Software Foundation. All rights reserved.