Enum Class PhysicalType

java.lang.Object
java.lang.Enum<PhysicalType>
dev.hardwood.metadata.PhysicalType
All Implemented Interfaces:
Serializable, Comparable<PhysicalType>, Constable

public enum PhysicalType extends Enum<PhysicalType>
Physical types supported by Parquet format. These represent how data is stored on disk.
See Also:
  • Enum Constant Details

    • BOOLEAN

      public static final PhysicalType BOOLEAN
      Single-bit boolean value.
    • INT32

      public static final PhysicalType INT32
      32-bit signed integer.
    • INT64

      public static final PhysicalType INT64
      64-bit signed integer.
    • INT96

      public static final PhysicalType INT96
      96-bit value; deprecated, used for legacy timestamps.
    • FLOAT

      public static final PhysicalType FLOAT
      IEEE 32-bit floating point.
    • DOUBLE

      public static final PhysicalType DOUBLE
      IEEE 64-bit floating point.
    • BYTE_ARRAY

      public static final PhysicalType BYTE_ARRAY
      Variable-length byte array (also used for strings).
    • FIXED_LEN_BYTE_ARRAY

      public static final PhysicalType FIXED_LEN_BYTE_ARRAY
      Fixed-length byte array; length is specified by the schema element's type length.
  • Method Details

    • values

      public static PhysicalType[] 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

      public static PhysicalType valueOf(String name)
      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 name
      NullPointerException - if the argument is null