public static enum ColumnOrder._Fields extends Enum<ColumnOrder._Fields> implements org.apache.thrift.TFieldIdEnum
Enum Constant and Description |
---|
TYPE__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 |
---|---|
static ColumnOrder._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static ColumnOrder._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static ColumnOrder._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static ColumnOrder._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnOrder._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnOrder._Fields TYPE__ORDER
public static ColumnOrder._Fields[] values()
for (ColumnOrder._Fields c : ColumnOrder._Fields.values()) System.out.println(c);
public static ColumnOrder._Fields valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ColumnOrder._Fields findByThriftId(int fieldId)
public static ColumnOrder._Fields findByThriftIdOrThrow(int fieldId)
public static ColumnOrder._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId
in interface org.apache.thrift.TFieldIdEnum
public String getFieldName()
getFieldName
in interface org.apache.thrift.TFieldIdEnum
Copyright © 2022 The Apache Software Foundation. All rights reserved.