Enum Class PhysicalType
- All Implemented Interfaces:
Serializable, Comparable<PhysicalType>, Constable
Physical types supported by Parquet format.
These represent how data is stored on disk.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSingle-bit boolean value.Variable-length byte array (also used for strings).IEEE 64-bit floating point.Fixed-length byte array; length is specified by the schema element's type length.IEEE 32-bit floating point.32-bit signed integer.64-bit signed integer.96-bit value; deprecated, used for legacy timestamps. -
Method Summary
Modifier and TypeMethodDescriptionstatic PhysicalTypeReturns the enum constant of this class with the specified name.static PhysicalType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Single-bit boolean value. -
INT32
32-bit signed integer. -
INT64
64-bit signed integer. -
INT96
96-bit value; deprecated, used for legacy timestamps. -
FLOAT
IEEE 32-bit floating point. -
DOUBLE
IEEE 64-bit floating point. -
BYTE_ARRAY
Variable-length byte array (also used for strings). -
FIXED_LEN_BYTE_ARRAY
Fixed-length byte array; length is specified by the schema element's type length.
-
-
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
-