Package org.apache.parquet.format
Enum ColumnMetaData._Fields
- All Implemented Interfaces:
Serializable,Comparable<ColumnMetaData._Fields>,org.apache.thrift.TFieldIdEnum
- Enclosing class:
- ColumnMetaData
public static enum ColumnMetaData._Fields
extends Enum<ColumnMetaData._Fields>
implements org.apache.thrift.TFieldIdEnum
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSize of Bloom filter data including the serialized header, in bytes.Byte offset from beginning of file to Bloom filter dataCompression codec *Byte offset from beginning of file to first data page *Byte offset from the beginning of file to first (only) dictionary page *Set of all encodings used for pages in this column chunk.Set of all encodings used for this column.Optional statistics specific for Geometry and Geography logical typesByte offset from beginning of file to root index page *Optional key/value metadata *Number of values in this column *Path in schema *Optional statistics to help estimate total memory when converted to in-memory representations.optional statistics for this column chunktotal byte size of all compressed, and potentially encrypted, pages in this column chunk (including the headers) *total byte size of all uncompressed pages in this column chunk (including the headers) *Type of this column * -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnMetaData._FieldsfindByName(String name) Find the _Fields constant that matches name, or null if its not found.static ColumnMetaData._FieldsfindByThriftId(int fieldId) Find the _Fields constant that matches fieldId, or null if its not found.static ColumnMetaData._FieldsfindByThriftIdOrThrow(int fieldId) Find the _Fields constant that matches fieldId, throwing an exception if it is not found.shortstatic ColumnMetaData._FieldsReturns 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.
-
Enum Constant Details
-
TYPE
Type of this column *- See Also:
-
ENCODINGS
Set of all encodings used for this column. The purpose is to validate whether we can decode those pages. * -
PATH_IN_SCHEMA
Path in schema * -
CODEC
Compression codec *- See Also:
-
NUM_VALUES
Number of values in this column * -
TOTAL_UNCOMPRESSED_SIZE
total byte size of all uncompressed pages in this column chunk (including the headers) * -
TOTAL_COMPRESSED_SIZE
total byte size of all compressed, and potentially encrypted, pages in this column chunk (including the headers) * -
KEY_VALUE_METADATA
Optional key/value metadata * -
DATA_PAGE_OFFSET
Byte offset from beginning of file to first data page * -
INDEX_PAGE_OFFSET
Byte offset from beginning of file to root index page * -
DICTIONARY_PAGE_OFFSET
Byte offset from the beginning of file to first (only) dictionary page * -
STATISTICS
optional statistics for this column chunk -
ENCODING_STATS
Set of all encodings used for pages in this column chunk. This information can be used to determine if all data pages are dictionary encoded for example * -
BLOOM_FILTER_OFFSET
Byte offset from beginning of file to Bloom filter data. * -
BLOOM_FILTER_LENGTH
Size of Bloom filter data including the serialized header, in bytes. Added in 2.10 so readers may not read this field from old files and it can be obtained after the BloomFilterHeader has been deserialized. Writers should write this field so readers can read the bloom filter in a single I/O. -
SIZE_STATISTICS
Optional statistics to help estimate total memory when converted to in-memory representations. The histograms contained in these statistics can also be useful in some cases for more fine-grained nullability/list length filter pushdown. -
GEOSPATIAL_STATISTICS
Optional statistics specific for Geometry and Geography logical types
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
findByThriftId
Find the _Fields constant that matches fieldId, or null if its not found. -
findByThriftIdOrThrow
Find the _Fields constant that matches fieldId, throwing an exception if it is not found. -
findByName
Find the _Fields constant that matches name, or null if its not found. -
getThriftFieldId
public short getThriftFieldId()- Specified by:
getThriftFieldIdin interfaceorg.apache.thrift.TFieldIdEnum
-
getFieldName
- Specified by:
getFieldNamein interfaceorg.apache.thrift.TFieldIdEnum
-