Interface SortableBytesRefArray

All Known Implementing Classes:
BytesRefArray, FixedLengthBytesRefArray

interface SortableBytesRefArray
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Append a new value
    void
    Clear all previously stored values
    Sort all values by the provided comparator and return an iterator over the sorted values
    int
    Returns the number of values appended so far
  • Method Details

    • append

      int append(BytesRef bytes)
      Append a new value
    • clear

      void clear()
      Clear all previously stored values
    • size

      int size()
      Returns the number of values appended so far
    • iterator

      Sort all values by the provided comparator and return an iterator over the sorted values