Interface NaiveSortMaker.NaiveSorter

Enclosing interface:
NaiveSortMaker

public static interface NaiveSortMaker.NaiveSorter
  • Method Details

    • moreData

      @Nullable RowsAndColumns moreData(RowsAndColumns rac)
      Adds more data to the sort. This method can optionally return a RowsAndColumns object. If it does return a RowsAndColumns object, any data included in the return is assumed to be in sorted-order.
      Parameters:
      rac - the data to include in the sort
      Returns:
      optionally, a RowsAndColumns object of data that is known to be in sorted order, null if nothing yet.
    • complete

      @Nullable RowsAndColumns complete()
      Indicate that there is no more data coming.
      Returns:
      A RowsAndColumns object of sorted data that has not been returned already from moreData(org.apache.druid.query.rowsandcols.RowsAndColumns) calls.