Enum Statistics._Fields

    • Enum Constant Detail

      • MAX

        public static final Statistics._Fields MAX
        DEPRECATED: min and max value of the column. Use min_value and max_value. Values are encoded using PLAIN encoding, except that variable-length byte arrays do not include a length prefix. These fields encode min and max values determined by signed comparison only. New files should use the correct order for a column's logical type and store the values in the min_value and max_value fields. To support older readers, these may be set when the column order is signed.
      • NULL_COUNT

        public static final Statistics._Fields NULL_COUNT
        Count of null values in the column. Writers SHOULD always write this field even if it is zero (i.e. no null value) or the column is not nullable. Readers MUST distinguish between null_count not being present and null_count == 0. If null_count is not present, readers MUST NOT assume null_count == 0.
      • DISTINCT_COUNT

        public static final Statistics._Fields DISTINCT_COUNT
        count of distinct values occurring
      • MAX_VALUE

        public static final Statistics._Fields MAX_VALUE
        Lower and upper bound values for the column, determined by its ColumnOrder. These may be the actual minimum and maximum values found on a page or column chunk, but can also be (more compact) values that do not exist on a page or column chunk. For example, instead of storing "Blart Versenwald III", a writer may set min_value="B", max_value="C". Such more compact values must still be valid values within the column's logical type. Values are encoded using PLAIN encoding, except that variable-length byte arrays do not include a length prefix.
      • IS_MAX_VALUE_EXACT

        public static final Statistics._Fields IS_MAX_VALUE_EXACT
        If true, max_value is the actual maximum value for a column
      • IS_MIN_VALUE_EXACT

        public static final Statistics._Fields IS_MIN_VALUE_EXACT
        If true, min_value is the actual minimum value for a column
    • Method Detail

      • values

        public static Statistics._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 (Statistics._Fields c : Statistics._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 Statistics._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 Statistics._Fields findByThriftId​(int fieldId)
        Find the _Fields constant that matches fieldId, or null if its not found.
      • findByThriftIdOrThrow

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

        public static Statistics._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