Interface PageSorter


public interface PageSorter
  • Method Details

    • sort

      long[] sort(List<Type> types, List<Page> pages, List<Integer> sortChannels, List<SortOrder> sortOrders, int expectedPositions)
      Returns:
      Sorted synthetic addresses for pages. A synthetic address is encoded as a long with the high 32 bits containing the page index and the low 32 bits containing position index
    • decodePageIndex

      int decodePageIndex(long address)
    • decodePositionIndex

      int decodePositionIndex(long address)