Class DictionaryPage

java.lang.Object
org.apache.parquet.column.page.Page
org.apache.parquet.column.page.DictionaryPage

public class DictionaryPage extends Page
Data for a dictionary page
  • Constructor Details

    • DictionaryPage

      public DictionaryPage(org.apache.parquet.bytes.BytesInput bytes, int dictionarySize, Encoding encoding)
      creates an uncompressed page
      Parameters:
      bytes - the content of the page
      dictionarySize - the value count in the dictionary
      encoding - the encoding used
    • DictionaryPage

      public DictionaryPage(org.apache.parquet.bytes.BytesInput bytes, int uncompressedSize, int dictionarySize, Encoding encoding)
      creates a dictionary page
      Parameters:
      bytes - the (possibly compressed) content of the page
      uncompressedSize - the size uncompressed
      dictionarySize - the value count in the dictionary
      encoding - the encoding used
  • Method Details