Interface VSizeLongSerde.LongDeserializer

Enclosing class:
VSizeLongSerde

public static interface VSizeLongSerde.LongDeserializer
Unpack bitpacked long values from an underlying contiguous memory block
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    get(int index)
    Unpack long value at the specified row index
    default int
    getDelta(long[] out, int outPosition, int[] indexes, int length, int indexOffset, int limit, long base)
    Unpack a non-contiguous vector of long values at the specified indexes and adjust them by the supplied delta base value.
    void
    getDelta(long[] out, int outPosition, int startIndex, int length, long base)
    Unpack a contiguous vector of long values at the specified start index of length and adjust them by the supplied delta base value.
    default int
    getTable(long[] out, int outPosition, int[] indexes, int length, int indexOffset, int limit, long[] table)
    Unpack a contiguous vector of long values at the specified indexes and lookup and replace stored values based on their index in the supplied value lookup 'table'
    default void
    getTable(long[] out, int outPosition, int startIndex, int length, long[] table)
    Unpack a contiguous vector of long values at the specified start index of length and lookup and replace stored values based on their index in the supplied value lookup 'table'
  • Method Details

    • get

      long get(int index)
      Unpack long value at the specified row index
    • getDelta

      void getDelta(long[] out, int outPosition, int startIndex, int length, long base)
      Unpack a contiguous vector of long values at the specified start index of length and adjust them by the supplied delta base value.
    • getDelta

      default int getDelta(long[] out, int outPosition, int[] indexes, int length, int indexOffset, int limit, long base)
      Unpack a non-contiguous vector of long values at the specified indexes and adjust them by the supplied delta base value.
    • getTable

      default void getTable(long[] out, int outPosition, int startIndex, int length, long[] table)
      Unpack a contiguous vector of long values at the specified start index of length and lookup and replace stored values based on their index in the supplied value lookup 'table'
    • getTable

      default int getTable(long[] out, int outPosition, int[] indexes, int length, int indexOffset, int limit, long[] table)
      Unpack a contiguous vector of long values at the specified indexes and lookup and replace stored values based on their index in the supplied value lookup 'table'