Enum Class ParquetEncoding

java.lang.Object
java.lang.Enum<ParquetEncoding>
io.trino.parquet.ParquetEncoding
All Implemented Interfaces:
Serializable, Comparable<ParquetEncoding>, Constable

public enum ParquetEncoding extends Enum<ParquetEncoding>
  • Enum Constant Details

  • Method Details

    • values

      public static ParquetEncoding[] 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 ParquetEncoding 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
    • initDictionary

      public Dictionary initDictionary(org.apache.parquet.column.ColumnDescriptor descriptor, DictionaryPage dictionaryPage) throws IOException
      Throws:
      IOException
    • getValuesReader

      public org.apache.parquet.column.values.ValuesReader getValuesReader(org.apache.parquet.column.ColumnDescriptor descriptor, ValuesType valuesType)