public static enum FileInfo._Fields extends Enum<FileInfo._Fields> implements org.apache.thrift.TFieldIdEnum
| Enum Constant and Description |
|---|
BLOCK_IDS |
BLOCK_SIZE_BYTES |
CREATION_TIME_MS |
FILE_ID |
IN_MEMORY_PERCENTAGE |
IS_CACHEABLE |
IS_COMPLETED |
IS_FOLDER |
IS_PERSISTED |
IS_PINNED |
LAST_MODIFICATION_TIME_MS |
LENGTH |
NAME |
PATH |
TTL |
UFS_PATH |
| Modifier and Type | Method and Description |
|---|---|
static FileInfo._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static FileInfo._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static FileInfo._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static FileInfo._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileInfo._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileInfo._Fields FILE_ID
public static final FileInfo._Fields NAME
public static final FileInfo._Fields PATH
public static final FileInfo._Fields UFS_PATH
public static final FileInfo._Fields LENGTH
public static final FileInfo._Fields BLOCK_SIZE_BYTES
public static final FileInfo._Fields CREATION_TIME_MS
public static final FileInfo._Fields IS_COMPLETED
public static final FileInfo._Fields IS_FOLDER
public static final FileInfo._Fields IS_PINNED
public static final FileInfo._Fields IS_CACHEABLE
public static final FileInfo._Fields IS_PERSISTED
public static final FileInfo._Fields BLOCK_IDS
public static final FileInfo._Fields IN_MEMORY_PERCENTAGE
public static final FileInfo._Fields LAST_MODIFICATION_TIME_MS
public static final FileInfo._Fields TTL
public static FileInfo._Fields[] values()
for (FileInfo._Fields c : FileInfo._Fields.values()) System.out.println(c);
public static FileInfo._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 FileInfo._Fields findByThriftId(int fieldId)
public static FileInfo._Fields findByThriftIdOrThrow(int fieldId)
public static FileInfo._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId in interface org.apache.thrift.TFieldIdEnumpublic String getFieldName()
getFieldName in interface org.apache.thrift.TFieldIdEnumCopyright © 2015. All Rights Reserved.