Class ParquetDictionary
- java.lang.Object
-
- org.apache.flink.formats.parquet.vector.ParquetDictionary
-
- All Implemented Interfaces:
Dictionary
public final class ParquetDictionary extends Object implements Dictionary
Parquet dictionary.
-
-
Constructor Summary
Constructors Constructor Description ParquetDictionary(org.apache.parquet.column.Dictionary dictionary, org.apache.parquet.column.ColumnDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
decodeToBinary(int id)
double
decodeToDouble(int id)
float
decodeToFloat(int id)
int
decodeToInt(int id)
long
decodeToLong(int id)
TimestampData
decodeToTimestamp(int id)
-
-
-
Method Detail
-
decodeToInt
public int decodeToInt(int id)
- Specified by:
decodeToInt
in interfaceDictionary
-
decodeToLong
public long decodeToLong(int id)
- Specified by:
decodeToLong
in interfaceDictionary
-
decodeToFloat
public float decodeToFloat(int id)
- Specified by:
decodeToFloat
in interfaceDictionary
-
decodeToDouble
public double decodeToDouble(int id)
- Specified by:
decodeToDouble
in interfaceDictionary
-
decodeToBinary
public byte[] decodeToBinary(int id)
- Specified by:
decodeToBinary
in interfaceDictionary
-
decodeToTimestamp
public TimestampData decodeToTimestamp(int id)
- Specified by:
decodeToTimestamp
in interfaceDictionary
-
-