Interface InMemoryMetadataResultSet.RowFilter

Enclosing class:
InMemoryMetadataResultSet
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface InMemoryMetadataResultSet.RowFilter
Tests whether a source result set's current row, as positioned by a preceding ResultSet.next(), should be kept.
Since:
3.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(ResultSet resultSet)
    Tests the row the given result set is currently positioned on.
  • Method Details

    • accept

      boolean accept(ResultSet resultSet) throws SQLException
      Tests the row the given result set is currently positioned on.
      Parameters:
      resultSet - The source result set, positioned on the row to test.
      Returns:
      true if the row should be kept.
      Throws:
      SQLException - if a database access error occurs.