Package | Description |
---|---|
org.apache.parquet.format |
Modifier and Type | Method and Description |
---|---|
TypeDefinedOrder |
TypeDefinedOrder.deepCopy() |
TypeDefinedOrder |
ColumnOrder.getTYPE_ORDER()
The sort orders for logical types are:
UTF8 - unsigned byte-wise comparison
INT8 - signed comparison
INT16 - signed comparison
INT32 - signed comparison
INT64 - signed comparison
UINT8 - unsigned comparison
UINT16 - unsigned comparison
UINT32 - unsigned comparison
UINT64 - unsigned comparison
DECIMAL - signed comparison of the represented value
DATE - signed comparison
TIME_MILLIS - signed comparison
TIME_MICROS - signed comparison
TIMESTAMP_MILLIS - signed comparison
TIMESTAMP_MICROS - signed comparison
INTERVAL - unsigned comparison
JSON - unsigned byte-wise comparison
BSON - unsigned byte-wise comparison
ENUM - unsigned byte-wise comparison
LIST - undefined
MAP - undefined
In the absence of logical types, the sort order is determined by the physical type:
BOOLEAN - false, true
INT32 - signed comparison
INT64 - signed comparison
INT96 (only used for legacy timestamps) - undefined
FLOAT - signed comparison of the represented value (*)
DOUBLE - signed comparison of the represented value (*)
BYTE_ARRAY - unsigned byte-wise comparison
FIXED_LEN_BYTE_ARRAY - unsigned byte-wise comparison
(*) Because the sorting order is not specified properly for floating
point values (relations vs.
|
Modifier and Type | Method and Description |
---|---|
int |
TypeDefinedOrder.compareTo(TypeDefinedOrder other) |
boolean |
TypeDefinedOrder.equals(TypeDefinedOrder that) |
void |
ColumnOrder.setTYPE_ORDER(TypeDefinedOrder value)
The sort orders for logical types are:
UTF8 - unsigned byte-wise comparison
INT8 - signed comparison
INT16 - signed comparison
INT32 - signed comparison
INT64 - signed comparison
UINT8 - unsigned comparison
UINT16 - unsigned comparison
UINT32 - unsigned comparison
UINT64 - unsigned comparison
DECIMAL - signed comparison of the represented value
DATE - signed comparison
TIME_MILLIS - signed comparison
TIME_MICROS - signed comparison
TIMESTAMP_MILLIS - signed comparison
TIMESTAMP_MICROS - signed comparison
INTERVAL - unsigned comparison
JSON - unsigned byte-wise comparison
BSON - unsigned byte-wise comparison
ENUM - unsigned byte-wise comparison
LIST - undefined
MAP - undefined
In the absence of logical types, the sort order is determined by the physical type:
BOOLEAN - false, true
INT32 - signed comparison
INT64 - signed comparison
INT96 (only used for legacy timestamps) - undefined
FLOAT - signed comparison of the represented value (*)
DOUBLE - signed comparison of the represented value (*)
BYTE_ARRAY - unsigned byte-wise comparison
FIXED_LEN_BYTE_ARRAY - unsigned byte-wise comparison
(*) Because the sorting order is not specified properly for floating
point values (relations vs.
|
static ColumnOrder |
ColumnOrder.TYPE_ORDER(TypeDefinedOrder value) |
Constructor and Description |
---|
TypeDefinedOrder(TypeDefinedOrder other)
Performs a deep copy on other.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.