Class PlainValuesDictionary.PlainBinaryDictionary

    • Constructor Detail

      • PlainBinaryDictionary

        public PlainBinaryDictionary​(DictionaryPage dictionaryPage)
                              throws IOException
        Decodes Binary values from a DictionaryPage. Values are read as length-prefixed values with a 4-byte little-endian length.
        Parameters:
        dictionaryPage - a DictionaryPage of encoded binary values
        Throws:
        IOException - if there is an exception while decoding the dictionary page
      • PlainBinaryDictionary

        public PlainBinaryDictionary​(DictionaryPage dictionaryPage,
                                     Integer length)
                              throws IOException
        Decodes Binary values from a DictionaryPage. If the given length is null, the values will be read as length- prefixed values with a 4-byte little-endian length. If length is not null, it will be used as the length for all fixed-length Binary values read from the page.
        Parameters:
        dictionaryPage - a DictionaryPage of encoded binary values
        length - a fixed length of binary arrays, or null if not fixed
        Throws:
        IOException - if there is an exception while decoding the dictionary page