Interface ReindexingFilter

All Superinterfaces:
Expression, Filter, WhereFilter
All Known Implementing Classes:
ClockFilter, SortedClockFilter, UnsortedClockFilter

public interface ReindexingFilter extends WhereFilter
This interface marks WhereFilters that return a result set that should be the full set for subsequent filters. Said another way, subsequent filters need to see the RowSet selected by this filter for purposes of determining i values. ReindexingFilters may also optionally specify a re-sorting of the table to be input.
  • Method Details

    • requiresSorting

      boolean requiresSorting()
      Returns:
      True iff getSortColumns will return a non-null, non-empty array of column names to sort on.
    • getSortColumns

      @Nullable @Nullable String[] getSortColumns()
      Get the columns on which the input table should be sorted before filtering.
      Returns:
      Columns to sort on, or null if there are no such columns
    • sortingDone

      void sortingDone()
      Advise this filter that sorting has been performed. requiresSorting must return false hereafter.