Class PlainValuesDictionary.PlainLongDictionary
- java.lang.Object
-
- org.apache.parquet.column.Dictionary
-
- org.apache.parquet.column.values.dictionary.PlainValuesDictionary
-
- org.apache.parquet.column.values.dictionary.PlainValuesDictionary.PlainLongDictionary
-
- Enclosing class:
- PlainValuesDictionary
public static class PlainValuesDictionary.PlainLongDictionary extends PlainValuesDictionary
a simple implementation of dictionary for plain encoded long values
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.parquet.column.values.dictionary.PlainValuesDictionary
PlainValuesDictionary.PlainBinaryDictionary, PlainValuesDictionary.PlainDoubleDictionary, PlainValuesDictionary.PlainFloatDictionary, PlainValuesDictionary.PlainIntegerDictionary, PlainValuesDictionary.PlainLongDictionary
-
-
Constructor Summary
Constructors Constructor Description PlainLongDictionary(DictionaryPage dictionaryPage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longdecodeToLong(int id)intgetMaxId()StringtoString()-
Methods inherited from class org.apache.parquet.column.Dictionary
decodeToBinary, decodeToBoolean, decodeToDouble, decodeToFloat, decodeToInt, getEncoding
-
-
-
-
Constructor Detail
-
PlainLongDictionary
public PlainLongDictionary(DictionaryPage dictionaryPage) throws IOException
- Parameters:
dictionaryPage- a dictionary page of encoded long values- Throws:
IOException- if there is an exception while decoding the dictionary page
-
-
Method Detail
-
decodeToLong
public long decodeToLong(int id)
- Overrides:
decodeToLongin classDictionary
-
getMaxId
public int getMaxId()
- Specified by:
getMaxIdin classDictionary
-
-