Package io.trino.parquet.reader.decoders
Class ShortDecimalFixedWidthByteArrayBatchDecoder
java.lang.Object
io.trino.parquet.reader.decoders.ShortDecimalFixedWidthByteArrayBatchDecoder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetShortDecimalValues(SimpleSliceInputStream input, long[] values, int offset, int length) This method uses Unsafe operations on Slice.
-
Constructor Details
-
ShortDecimalFixedWidthByteArrayBatchDecoder
public ShortDecimalFixedWidthByteArrayBatchDecoder(int length)
-
-
Method Details
-
getShortDecimalValues
public void getShortDecimalValues(SimpleSliceInputStream input, long[] values, int offset, int length) This method uses Unsafe operations on Slice. Always check if needed data is available with ensureBytesAvailable method. Failing to do so may result in instant JVM crash.
-