Enum Class ColumnOrder
- All Implemented Interfaces:
Serializable, Comparable<ColumnOrder>, Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe IEEE 754 total order (theIEEE_754_TOTAL_ORDERunion member).Ordering defined by the column's physical or logical type (theTYPE_ORDERunion member).AColumnOrderunion member that this version of Hardwood does not recognize, e.g. an ordering added to the Parquet format after this release. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnOrderReturns the enum constant of this class with the specified name.static ColumnOrder[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TYPE_DEFINED_ORDER
Ordering defined by the column's physical or logical type (theTYPE_ORDERunion member). ForFLOATandDOUBLEthis is a signed comparison of the represented value, with the documented NaN and ±0 compatibility rules applied when reading statistics. -
IEEE754_TOTAL_ORDER
The IEEE 754 total order (theIEEE_754_TOTAL_ORDERunion member). -
UNKNOWN
AColumnOrderunion member that this version of Hardwood does not recognize, e.g. an ordering added to the Parquet format after this release.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-