Class ShortDecimalFixedWidthByteArrayBatchDecoder

java.lang.Object
io.trino.parquet.reader.decoders.ShortDecimalFixedWidthByteArrayBatchDecoder

public class ShortDecimalFixedWidthByteArrayBatchDecoder extends Object
  • 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.