Package overit.geocall.sql
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.
A task able to scan over a
DBCursor-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanExplicit the needing of the"update"grant to update the ResultSet.voidApplies this function to the given argument.
-
Method Details
-
scan
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 returntrue, otherwisefalse. The default isfalse
-