Class PlainValuesDictionary.PlainDoubleDictionary
- java.lang.Object
-
- org.apache.parquet.column.Dictionary
-
- org.apache.parquet.column.values.dictionary.PlainValuesDictionary
-
- org.apache.parquet.column.values.dictionary.PlainValuesDictionary.PlainDoubleDictionary
-
- Enclosing class:
- PlainValuesDictionary
public static class PlainValuesDictionary.PlainDoubleDictionary extends PlainValuesDictionary
a simple implementation of dictionary for plain encoded double 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 PlainDoubleDictionary(DictionaryPage dictionaryPage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubledecodeToDouble(int id)intgetMaxId()StringtoString()-
Methods inherited from class org.apache.parquet.column.Dictionary
decodeToBinary, decodeToBoolean, decodeToFloat, decodeToInt, decodeToLong, getEncoding
-
-
-
-
Constructor Detail
-
PlainDoubleDictionary
public PlainDoubleDictionary(DictionaryPage dictionaryPage) throws IOException
- Parameters:
dictionaryPage- a dictionary page of encoded double values- Throws:
IOException- if there is an exception while decoding the dictionary page
-
-
Method Detail
-
decodeToDouble
public double decodeToDouble(int id)
- Overrides:
decodeToDoublein classDictionary
-
getMaxId
public int getMaxId()
- Specified by:
getMaxIdin classDictionary
-
-