Package io.trino.parquet.reader.decoders
Class ValueDecoders
java.lang.Object
io.trino.parquet.reader.decoders.ValueDecoders
This class provides API for creating value decoders for given fields and encodings.
This class is to replace most of the logic contained in ParquetEncoding enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBinaryDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getBinaryLongDecimalDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getBinaryShortDecimalDecoder(ParquetEncoding encoding) ValueDecoder<byte[]>getBooleanDecoder(ParquetEncoding encoding) ValueDecoder<byte[]>getByteDecoder(ParquetEncoding encoding) getCharBinaryDecoder(ParquetEncoding encoding) ValueDecoder<long[]>ValueDecoder<long[]>ValueDecoder<long[]>getDeltaUuidDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getDoubleDecoder(ParquetEncoding encoding) getFixedWidthBinaryDecoder(ParquetEncoding encoding) ValueDecoder<long[]>ValueDecoder<long[]>ValueDecoder<long[]>getFloatToDoubleDecoder(ParquetEncoding encoding) ValueDecoder<int[]>getInt32Decoder(ParquetEncoding encoding) ValueDecoder<long[]>getInt32ToLongDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getInt32ToShortDecimalDecoder(ParquetEncoding encoding) ValueDecoder<int[]>ValueDecoder<int[]>ValueDecoder<long[]>ValueDecoder<long[]>ValueDecoder<int[]>ValueDecoder<long[]>ValueDecoder<long[]>ValueDecoder<int[]>ValueDecoder<long[]>ValueDecoder<byte[]>getInt64ToByteDecoder(ParquetEncoding encoding) ValueDecoder<int[]>getInt64ToIntDecoder(ParquetEncoding encoding) ValueDecoder<short[]>getInt64ToShortDecoder(ParquetEncoding encoding) ValueDecoder<int[]>getInt96TimestampDecoder(ParquetEncoding encoding) ValueDecoder<int[]>getInt96ToLongTimestampDecoder(ParquetEncoding encoding, org.joda.time.DateTimeZone timeZone) ValueDecoder<long[]>getInt96ToShortTimestampDecoder(ParquetEncoding encoding, org.joda.time.DateTimeZone timeZone) ValueDecoder<long[]>ValueDecoder<int[]>getIntDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getLongDecimalDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getLongDecoder(ParquetEncoding encoding) ValueDecoder<int[]>getRealDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getRescaledLongDecimalDecoder(ParquetEncoding encoding) ValueDecoder<long[]>ValueDecoder<long[]>getShortDecimalDecoder(ParquetEncoding encoding) ValueDecoder<byte[]>getShortDecimalToByteDecoder(ParquetEncoding encoding) ValueDecoder<int[]>getShortDecimalToIntDecoder(ParquetEncoding encoding) ValueDecoder<short[]>getShortDecimalToShortDecoder(ParquetEncoding encoding) ValueDecoder<short[]>getShortDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getTimeMicrosDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getTimeMillisDecoder(ParquetEncoding encoding) ValueDecoder<long[]>getUuidDecoder(ParquetEncoding encoding)
-
Constructor Details
-
ValueDecoders
-
-
Method Details
-
getDoubleDecoder
-
getRealDecoder
-
getShortDecimalDecoder
-
getLongDecimalDecoder
-
getUuidDecoder
-
getLongDecoder
-
getIntDecoder
-
getShortDecoder
-
getByteDecoder
-
getBooleanDecoder
-
getInt96TimestampDecoder
-
getFixedWidthShortDecimalDecoder
-
getFixedWidthLongDecimalDecoder
-
getFixedWidthBinaryDecoder
-
getBoundedVarcharBinaryDecoder
-
getCharBinaryDecoder
-
getBinaryDecoder
-
getInt32Decoder
-
getTimeMicrosDecoder
-
getTimeMillisDecoder
-
getInt96ToShortTimestampDecoder
public ValueDecoder<long[]> getInt96ToShortTimestampDecoder(ParquetEncoding encoding, org.joda.time.DateTimeZone timeZone) -
getInt96ToLongTimestampDecoder
public ValueDecoder<int[]> getInt96ToLongTimestampDecoder(ParquetEncoding encoding, org.joda.time.DateTimeZone timeZone) -
getInt96ToShortTimestampWithTimeZoneDecoder
-
getInt64TimestampMillsToShortTimestampDecoder
-
getInt64TimestampMillsToShortTimestampWithTimeZoneDecoder
public ValueDecoder<long[]> getInt64TimestampMillsToShortTimestampWithTimeZoneDecoder(ParquetEncoding encoding) -
getInt64TimestampMicrosToShortTimestampDecoder
public ValueDecoder<long[]> getInt64TimestampMicrosToShortTimestampDecoder(ParquetEncoding encoding) -
getInt64TimestampMicrosToShortTimestampWithTimeZoneDecoder
public ValueDecoder<long[]> getInt64TimestampMicrosToShortTimestampWithTimeZoneDecoder(ParquetEncoding encoding) -
getInt64TimestampNanosToShortTimestampDecoder
-
getInt64TimestampMillisToLongTimestampDecoder
-
getInt64TimestampMicrosToLongTimestampDecoder
-
getInt64TimestampMicrosToLongTimestampWithTimeZoneDecoder
public ValueDecoder<int[]> getInt64TimestampMicrosToLongTimestampWithTimeZoneDecoder(ParquetEncoding encoding) -
getInt64TimestampNanosToLongTimestampDecoder
-
getFloatToDoubleDecoder
-
getBinaryLongDecimalDecoder
-
getDeltaFixedWidthLongDecimalDecoder
-
getBinaryShortDecimalDecoder
-
getDeltaFixedWidthShortDecimalDecoder
-
getRescaledLongDecimalDecoder
-
getRescaledShortDecimalDecoder
-
getInt32ToShortDecimalDecoder
-
getInt32ToLongDecoder
-
getInt64ToIntDecoder
-
getShortDecimalToIntDecoder
-
getInt64ToShortDecoder
-
getShortDecimalToShortDecoder
-
getInt64ToByteDecoder
-
getShortDecimalToByteDecoder
-
getDeltaUuidDecoder
-