Package org.rocksdb

Interface TableFilter

  • All Known Implementing Classes:
    AbstractTableFilter

    public interface TableFilter
    Filter for iterating a table.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean filter​(TableProperties tableProperties)
      A callback to determine whether relevant keys for this scan exist in a given table based on the table's properties.
    • Method Detail

      • filter

        boolean filter​(TableProperties tableProperties)
        A callback to determine whether relevant keys for this scan exist in a given table based on the table's properties. The callback is passed the properties of each table during iteration. If the callback returns false, the table will not be scanned. This option only affects Iterators and has no impact on point lookups.
        Parameters:
        tableProperties - the table properties.
        Returns:
        true if the table should be scanned, false otherwise.