public static enum ColumnMetaData._Fields extends Enum<ColumnMetaData._Fields> implements org.apache.thrift.TFieldIdEnum
Enum Constant and Description |
---|
BLOOM_FILTER_OFFSET
Byte offset from beginning of file to Bloom filter data.
|
CODEC
Compression codec *
|
DATA_PAGE_OFFSET
Byte offset from beginning of file to first data page *
|
DICTIONARY_PAGE_OFFSET
Byte offset from the beginning of file to first (only) dictionary page *
|
ENCODING_STATS
Set of all encodings used for pages in this column chunk.
|
ENCODINGS
Set of all encodings used for this column.
|
INDEX_PAGE_OFFSET
Byte offset from beginning of file to root index page *
|
KEY_VALUE_METADATA
Optional key/value metadata *
|
NUM_VALUES
Number of values in this column *
|
PATH_IN_SCHEMA
Path in schema *
|
STATISTICS
optional statistics for this column chunk
|
TOTAL_COMPRESSED_SIZE
total byte size of all compressed, and potentially encrypted, pages
in this column chunk (including the headers) *
|
TOTAL_UNCOMPRESSED_SIZE
total byte size of all uncompressed pages in this column chunk (including the headers) *
|
TYPE
Type of this column *
|
Modifier and Type | Method and Description |
---|---|
static ColumnMetaData._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static ColumnMetaData._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static ColumnMetaData._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static ColumnMetaData._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnMetaData._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnMetaData._Fields TYPE
Type
public static final ColumnMetaData._Fields ENCODINGS
public static final ColumnMetaData._Fields PATH_IN_SCHEMA
public static final ColumnMetaData._Fields CODEC
CompressionCodec
public static final ColumnMetaData._Fields NUM_VALUES
public static final ColumnMetaData._Fields TOTAL_UNCOMPRESSED_SIZE
public static final ColumnMetaData._Fields TOTAL_COMPRESSED_SIZE
public static final ColumnMetaData._Fields KEY_VALUE_METADATA
public static final ColumnMetaData._Fields DATA_PAGE_OFFSET
public static final ColumnMetaData._Fields INDEX_PAGE_OFFSET
public static final ColumnMetaData._Fields DICTIONARY_PAGE_OFFSET
public static final ColumnMetaData._Fields STATISTICS
public static final ColumnMetaData._Fields ENCODING_STATS
public static final ColumnMetaData._Fields BLOOM_FILTER_OFFSET
public static ColumnMetaData._Fields[] values()
for (ColumnMetaData._Fields c : ColumnMetaData._Fields.values()) System.out.println(c);
public static ColumnMetaData._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 ColumnMetaData._Fields findByThriftId(int fieldId)
public static ColumnMetaData._Fields findByThriftIdOrThrow(int fieldId)
public static ColumnMetaData._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId
in interface org.apache.thrift.TFieldIdEnum
public String getFieldName()
getFieldName
in interface org.apache.thrift.TFieldIdEnum
Copyright © 2022 The Apache Software Foundation. All rights reserved.