Package org.apache.parquet.column
Class Dictionary
- java.lang.Object
-
- org.apache.parquet.column.Dictionary
-
- Direct Known Subclasses:
PlainValuesDictionary
public abstract class Dictionary extends Object
a dictionary to decode dictionary based encodings
-
-
Constructor Summary
Constructors Constructor Description Dictionary(Encoding encoding)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BinarydecodeToBinary(int id)booleandecodeToBoolean(int id)doubledecodeToDouble(int id)floatdecodeToFloat(int id)intdecodeToInt(int id)longdecodeToLong(int id)EncodinggetEncoding()abstract intgetMaxId()
-
-
-
Constructor Detail
-
Dictionary
public Dictionary(Encoding encoding)
-
-
Method Detail
-
getEncoding
public Encoding getEncoding()
-
getMaxId
public abstract int getMaxId()
-
decodeToBinary
public Binary decodeToBinary(int id)
-
decodeToInt
public int decodeToInt(int id)
-
decodeToLong
public long decodeToLong(int id)
-
decodeToFloat
public float decodeToFloat(int id)
-
decodeToDouble
public double decodeToDouble(int id)
-
decodeToBoolean
public boolean decodeToBoolean(int id)
-
-