Class StringMSBRadixSorter


abstract class StringMSBRadixSorter extends MSBRadixSorter
  • Constructor Details

    • StringMSBRadixSorter

      StringMSBRadixSorter()
  • Method Details

    • get

      protected abstract BytesRef get(int i)
      Get a BytesRef for the given index.
    • byteAt

      protected int byteAt(int i, int k)
      Description copied from class: MSBRadixSorter
      Return the k-th byte of the entry at index i, or -1 if its length is less than or equal to k. This may only be called with a value of i between 0 included and maxLength excluded.
      Specified by:
      byteAt in class MSBRadixSorter
    • getFallbackSorter

      protected Sorter getFallbackSorter(int k)
      Description copied from class: MSBRadixSorter
      Get a fall-back sorter which may assume that the first k bytes of all compared strings are equal.
      Overrides:
      getFallbackSorter in class MSBRadixSorter