Class PlainValuesDictionary.PlainBooleanDictionary
java.lang.Object
org.apache.parquet.column.Dictionary
org.apache.parquet.column.values.dictionary.PlainValuesDictionary
org.apache.parquet.column.values.dictionary.PlainValuesDictionary.PlainBooleanDictionary
- Enclosing class:
- PlainValuesDictionary
a simple implementation of dictionary for plain encoded boolean values
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.parquet.column.values.dictionary.PlainValuesDictionary
PlainValuesDictionary.PlainBinaryDictionary, PlainValuesDictionary.PlainBooleanDictionary, PlainValuesDictionary.PlainDoubleDictionary, PlainValuesDictionary.PlainFloatDictionary, PlainValuesDictionary.PlainIntegerDictionary, PlainValuesDictionary.PlainLongDictionary -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.parquet.column.Dictionary
decodeToBinary, decodeToDouble, decodeToFloat, decodeToInt, decodeToLong, getEncoding
-
Constructor Details
-
PlainBooleanDictionary
- Parameters:
dictionaryPage- a dictionary page of encoded boolean values- Throws:
IOException- if there is an exception while decoding the dictionary page
-
-
Method Details
-
decodeToBoolean
public boolean decodeToBoolean(int id) - Overrides:
decodeToBooleanin classDictionary
-
toString
-
getMaxId
public int getMaxId()- Specified by:
getMaxIdin classDictionary
-