Enum Class ConvertedType
- All Implemented Interfaces:
Serializable, Comparable<ConvertedType>, Constable
Legacy converted types in Parquet schema (used by PyArrow for LIST/MAP annotation).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBSON document stored as a byte array.Calendar date (days since Unix epoch), stored as INT32.Decimal with scale and precision stored in the schema element.Enum stored as a UTF-8 string.Signed 16-bit integer, stored as INT32.Signed 32-bit integer, stored as INT32.Signed 64-bit integer, stored as INT64.Signed 8-bit integer, stored as INT32.Interval stored as a 12-byte fixed-length byte array.JSON document stored as a UTF-8 string.List of elements.Map of key-value pairs.Intermediate group inside a MAP; contains key and value fields.Time of day in microseconds, stored as INT64.Time of day in milliseconds, stored as INT32.Timestamp in microseconds since Unix epoch, stored as INT64.Timestamp in milliseconds since Unix epoch, stored as INT64.Unsigned 16-bit integer, stored as INT32.Unsigned 32-bit integer, stored as INT32.Unsigned 64-bit integer, stored as INT64.Unsigned 8-bit integer, stored as INT32.UTF-8 encoded character string. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConvertedTypeReturns the enum constant of this class with the specified name.static ConvertedType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UTF8
UTF-8 encoded character string. -
MAP
Map of key-value pairs. -
MAP_KEY_VALUE
Intermediate group inside a MAP; contains key and value fields. -
LIST
List of elements. -
ENUM
Enum stored as a UTF-8 string. -
DECIMAL
Decimal with scale and precision stored in the schema element. -
DATE
Calendar date (days since Unix epoch), stored as INT32. -
TIME_MILLIS
Time of day in milliseconds, stored as INT32. -
TIME_MICROS
Time of day in microseconds, stored as INT64. -
TIMESTAMP_MILLIS
Timestamp in milliseconds since Unix epoch, stored as INT64. -
TIMESTAMP_MICROS
Timestamp in microseconds since Unix epoch, stored as INT64. -
UINT_8
Unsigned 8-bit integer, stored as INT32. -
UINT_16
Unsigned 16-bit integer, stored as INT32. -
UINT_32
Unsigned 32-bit integer, stored as INT32. -
UINT_64
Unsigned 64-bit integer, stored as INT64. -
INT_8
Signed 8-bit integer, stored as INT32. -
INT_16
Signed 16-bit integer, stored as INT32. -
INT_32
Signed 32-bit integer, stored as INT32. -
INT_64
Signed 64-bit integer, stored as INT64. -
JSON
JSON document stored as a UTF-8 string. -
BSON
BSON document stored as a byte array. -
INTERVAL
Interval stored as a 12-byte fixed-length byte array.
-
-
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
-