Enum Class Encoding

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

public enum Encoding extends Enum<Encoding>
Encoding types for Parquet data.
  • Enum Constant Details

    • PLAIN

      public static final Encoding PLAIN
    • PLAIN_DICTIONARY

      public static final Encoding PLAIN_DICTIONARY
    • RLE

      public static final Encoding RLE
    • BIT_PACKED

      public static final Encoding BIT_PACKED
    • DELTA_BINARY_PACKED

      public static final Encoding DELTA_BINARY_PACKED
    • DELTA_LENGTH_BYTE_ARRAY

      public static final Encoding DELTA_LENGTH_BYTE_ARRAY
    • DELTA_BYTE_ARRAY

      public static final Encoding DELTA_BYTE_ARRAY
    • RLE_DICTIONARY

      public static final Encoding RLE_DICTIONARY
    • BYTE_STREAM_SPLIT

      public static final Encoding BYTE_STREAM_SPLIT
    • UNKNOWN

      public static final Encoding UNKNOWN
      Placeholder for unknown/unsupported encodings found in metadata. This allows reading files that list encodings we don't recognize in the column metadata, as long as the actual pages use supported encodings.
  • Method Details

    • values

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