Interface DBScanner

All Known Implementing Classes:
DBScannerConvertEncryption, DBScannerDecryptVerifier
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 interface DBScanner
A task able to scan over a DBCursor
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Explicit the needing of the "update" grant to update the ResultSet.
    void
    Applies this function to the given argument.
  • Method Details

    • scan

      void scan(DBCursor dbc) throws SQLException
      Applies this function to the given argument.
      Parameters:
      dbc - the cursor opend over the statement
      Throws:
      SQLException - in case of an sql error
    • isForUpdate

      default boolean isForUpdate()
      Explicit the needing of the "update" grant to update the ResultSet. The grant is read only of default.
      Returns:
      if the DBScanner needs the "update" grant return true, otherwise false. The default is false