Enum FileMetaData._Fields

    • Enum Constant Detail

      • SCHEMA

        public static final FileMetaData._Fields SCHEMA
        Parquet schema for this file. This schema contains metadata for all the columns. The schema is represented as a tree with a single root. The nodes of the tree are flattened to a list by doing a depth-first traversal. The column metadata contains the path in the schema for that column which can be used to map columns to nodes in the schema. The first element is the root *
      • KEY_VALUE_METADATA

        public static final FileMetaData._Fields KEY_VALUE_METADATA
        Optional key/value metadata *
      • CREATED_BY

        public static final FileMetaData._Fields CREATED_BY
        String for application that wrote this file. This should be in the format version (build ). e.g. impala version 1.0 (build 6cf94d29b2b7115df4de2c06e2ab4326d721eb55)
      • COLUMN_ORDERS

        public static final FileMetaData._Fields COLUMN_ORDERS
        Sort order used for the min_value and max_value fields of each column in this file. Sort orders are listed in the order matching the columns in the schema. The indexes are not necessary the same though, because only leaf nodes of the schema are represented in the list of sort orders. Without column_orders, the meaning of the min_value and max_value fields is undefined. To ensure well-defined behaviour, if min_value and max_value are written to a Parquet file, column_orders must be written as well. The obsolete min and max fields are always sorted by signed comparison regardless of column_orders.
      • ENCRYPTION_ALGORITHM

        public static final FileMetaData._Fields ENCRYPTION_ALGORITHM
        Encryption algorithm. This field is set only in encrypted files with plaintext footer. Files with encrypted footer store algorithm id in FileCryptoMetaData structure.
      • FOOTER_SIGNING_KEY_METADATA

        public static final FileMetaData._Fields FOOTER_SIGNING_KEY_METADATA
        Retrieval metadata of key used for signing the footer. Used only in encrypted files with plaintext footer.
    • Method Detail

      • values

        public static FileMetaData._Fields[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FileMetaData._Fields c : FileMetaData._Fields.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FileMetaData._Fields valueOf​(String name)
        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 name
        NullPointerException - if the argument is null
      • findByThriftId

        public static FileMetaData._Fields findByThriftId​(int fieldId)
        Find the _Fields constant that matches fieldId, or null if its not found.
      • findByThriftIdOrThrow

        public static FileMetaData._Fields findByThriftIdOrThrow​(int fieldId)
        Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
      • findByName

        public static FileMetaData._Fields findByName​(String name)
        Find the _Fields constant that matches name, or null if its not found.
      • getThriftFieldId

        public short getThriftFieldId()
        Specified by:
        getThriftFieldId in interface org.apache.thrift.TFieldIdEnum
      • getFieldName

        public String getFieldName()
        Specified by:
        getFieldName in interface org.apache.thrift.TFieldIdEnum