Interface NaiveSortMaker.NaiveSorter
- Enclosing interface:
NaiveSortMaker
public static interface NaiveSortMaker.NaiveSorter
-
Method Summary
Modifier and TypeMethodDescriptioncomplete()Indicate that there is no more data coming.moreData(RowsAndColumns rac) Adds more data to the sort.
-
Method Details
-
moreData
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
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.
-