Package io.trino.parquet.reader.decoders
Class TransformingValueDecoders
java.lang.Object
io.trino.parquet.reader.decoders.TransformingValueDecoders
ValueDecoder implementations which build on top of implementations from ValueDecoders.
These decoders apply transformations to the output of an underlying primitive parquet type decoder to convert it into values
which can be used by ColumnAdapter to create Trino blocks.-
Method Summary
Modifier and TypeMethodDescriptionstatic ValueDecoder<long[]>getBinaryLongDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getBinaryShortDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getDeltaFixedWidthLongDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getDeltaFixedWidthShortDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getDeltaUuidDecoder(ParquetEncoding encoding) static ValueDecoder<long[]>getFloatToDoubleDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getInt32ToLongDecoder(ParquetEncoding encoding, PrimitiveField field) getInt64TimestampMicrosToLongTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) getInt64TimestampMicrosToLongTimestampWithTimeZoneDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getInt64TimestampMicrosToShortTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getInt64TimestampMicrosToShortTimestampWithTimeZoneDecoder(ParquetEncoding encoding, PrimitiveField field) getInt64TimestampMillisToLongTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getInt64TimestampMillsToShortTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getInt64TimestampMillsToShortTimestampWithTimeZoneDecoder(ParquetEncoding encoding, PrimitiveField field) getInt64TimestampNanosToLongTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getInt64TimestampNanosToShortTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<byte[]>getInt64ToByteDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<int[]>getInt64ToIntDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<short[]>getInt64ToShortDecoder(ParquetEncoding encoding, PrimitiveField field) getInt96ToLongTimestampDecoder(ParquetEncoding encoding, PrimitiveField field, org.joda.time.DateTimeZone timeZone) static ValueDecoder<long[]>getInt96ToShortTimestampDecoder(ParquetEncoding encoding, PrimitiveField field, org.joda.time.DateTimeZone timeZone) static ValueDecoder<long[]>getInt96ToShortTimestampWithTimeZoneDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getRescaledLongDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getRescaledShortDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<byte[]>getShortDecimalToByteDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<int[]>getShortDecimalToIntDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<short[]>getShortDecimalToShortDecoder(ParquetEncoding encoding, PrimitiveField field) static ValueDecoder<long[]>getTimeMicrosDecoder(ParquetEncoding encoding, PrimitiveField field)
-
Method Details
-
getTimeMicrosDecoder
public static ValueDecoder<long[]> getTimeMicrosDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt96ToShortTimestampDecoder
public static ValueDecoder<long[]> getInt96ToShortTimestampDecoder(ParquetEncoding encoding, PrimitiveField field, org.joda.time.DateTimeZone timeZone) -
getInt96ToLongTimestampDecoder
public static ValueDecoder<Int96ColumnAdapter.Int96Buffer> getInt96ToLongTimestampDecoder(ParquetEncoding encoding, PrimitiveField field, org.joda.time.DateTimeZone timeZone) -
getInt96ToShortTimestampWithTimeZoneDecoder
public static ValueDecoder<long[]> getInt96ToShortTimestampWithTimeZoneDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64TimestampMillsToShortTimestampDecoder
public static ValueDecoder<long[]> getInt64TimestampMillsToShortTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64TimestampMillsToShortTimestampWithTimeZoneDecoder
public static ValueDecoder<long[]> getInt64TimestampMillsToShortTimestampWithTimeZoneDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64TimestampMicrosToShortTimestampDecoder
public static ValueDecoder<long[]> getInt64TimestampMicrosToShortTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64TimestampMicrosToShortTimestampWithTimeZoneDecoder
public static ValueDecoder<long[]> getInt64TimestampMicrosToShortTimestampWithTimeZoneDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64TimestampNanosToShortTimestampDecoder
public static ValueDecoder<long[]> getInt64TimestampNanosToShortTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64TimestampMillisToLongTimestampDecoder
public static ValueDecoder<Int96ColumnAdapter.Int96Buffer> getInt64TimestampMillisToLongTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64TimestampMicrosToLongTimestampDecoder
public static ValueDecoder<Int96ColumnAdapter.Int96Buffer> getInt64TimestampMicrosToLongTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64TimestampMicrosToLongTimestampWithTimeZoneDecoder
public static ValueDecoder<Int96ColumnAdapter.Int96Buffer> getInt64TimestampMicrosToLongTimestampWithTimeZoneDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64TimestampNanosToLongTimestampDecoder
public static ValueDecoder<Int96ColumnAdapter.Int96Buffer> getInt64TimestampNanosToLongTimestampDecoder(ParquetEncoding encoding, PrimitiveField field) -
getFloatToDoubleDecoder
public static ValueDecoder<long[]> getFloatToDoubleDecoder(ParquetEncoding encoding, PrimitiveField field) -
getBinaryLongDecimalDecoder
public static ValueDecoder<long[]> getBinaryLongDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) -
getDeltaFixedWidthLongDecimalDecoder
public static ValueDecoder<long[]> getDeltaFixedWidthLongDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) -
getBinaryShortDecimalDecoder
public static ValueDecoder<long[]> getBinaryShortDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) -
getDeltaFixedWidthShortDecimalDecoder
public static ValueDecoder<long[]> getDeltaFixedWidthShortDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) -
getRescaledLongDecimalDecoder
public static ValueDecoder<long[]> getRescaledLongDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) -
getRescaledShortDecimalDecoder
public static ValueDecoder<long[]> getRescaledShortDecimalDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt32ToLongDecoder
public static ValueDecoder<long[]> getInt32ToLongDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64ToIntDecoder
public static ValueDecoder<int[]> getInt64ToIntDecoder(ParquetEncoding encoding, PrimitiveField field) -
getShortDecimalToIntDecoder
public static ValueDecoder<int[]> getShortDecimalToIntDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64ToShortDecoder
public static ValueDecoder<short[]> getInt64ToShortDecoder(ParquetEncoding encoding, PrimitiveField field) -
getShortDecimalToShortDecoder
public static ValueDecoder<short[]> getShortDecimalToShortDecoder(ParquetEncoding encoding, PrimitiveField field) -
getInt64ToByteDecoder
public static ValueDecoder<byte[]> getInt64ToByteDecoder(ParquetEncoding encoding, PrimitiveField field) -
getShortDecimalToByteDecoder
public static ValueDecoder<byte[]> getShortDecimalToByteDecoder(ParquetEncoding encoding, PrimitiveField field) -
getDeltaUuidDecoder
-