Class Int128ColumnAdapter

java.lang.Object
io.trino.parquet.reader.flat.Int128ColumnAdapter
All Implemented Interfaces:
ColumnAdapter<long[]>

public class Int128ColumnAdapter extends Object implements ColumnAdapter<long[]>
  • Field Details

  • Constructor Details

    • Int128ColumnAdapter

      public Int128ColumnAdapter()
  • Method Details

    • createBuffer

      public long[] createBuffer(int size)
      Specified by:
      createBuffer in interface ColumnAdapter<long[]>
    • createNonNullBlock

      public Block createNonNullBlock(long[] values)
      Specified by:
      createNonNullBlock in interface ColumnAdapter<long[]>
    • createNullableBlock

      public Block createNullableBlock(boolean[] nulls, long[] values)
      Specified by:
      createNullableBlock in interface ColumnAdapter<long[]>
    • copyValue

      public void copyValue(long[] source, int sourceIndex, long[] destination, int destinationIndex)
      Specified by:
      copyValue in interface ColumnAdapter<long[]>
    • decodeDictionaryIds

      public void decodeDictionaryIds(long[] values, int offset, int length, int[] ids, long[] dictionary)
      Specified by:
      decodeDictionaryIds in interface ColumnAdapter<long[]>
    • getSizeInBytes

      public long getSizeInBytes(long[] values)
      Specified by:
      getSizeInBytes in interface ColumnAdapter<long[]>
    • merge

      public long[] merge(List<long[]> buffers)
      Specified by:
      merge in interface ColumnAdapter<long[]>