Enum Class ColumnOrder

java.lang.Object
java.lang.Enum<ColumnOrder>
dev.hardwood.metadata.ColumnOrder
All Implemented Interfaces:
Serializable, Comparable<ColumnOrder>, Constable

public enum ColumnOrder extends Enum<ColumnOrder>

The ordering used for a leaf column's min/max statistics, decoded from the FileMetaData.column_orders union.

When a file omits column_orders, the type-defined ordering applies implicitly to every column and FileMetaData.columnOrders is empty.

See Also:
  • Enum Constant Details

    • TYPE_DEFINED_ORDER

      public static final ColumnOrder TYPE_DEFINED_ORDER
      Ordering defined by the column's physical or logical type (the TYPE_ORDER union member). For FLOAT and DOUBLE this is a signed comparison of the represented value, with the documented NaN and ±0 compatibility rules applied when reading statistics.
    • IEEE754_TOTAL_ORDER

      public static final ColumnOrder IEEE754_TOTAL_ORDER
      The IEEE 754 total order (the IEEE_754_TOTAL_ORDER union member).
    • UNKNOWN

      public static final ColumnOrder UNKNOWN
      A ColumnOrder union member that this version of Hardwood does not recognize, e.g. an ordering added to the Parquet format after this release.
  • Method Details

    • values

      public static ColumnOrder[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ColumnOrder valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null