public final class NotEmptyHandler extends Object implements JdbcSession.Handler<Boolean>
TRUE if at least one SQL record found in ResultSet.
The handler returns the value of ResultSet.next() and throws
SQLException in case of a problem.
This class is thread-safe.
| Constructor and Description |
|---|
NotEmptyHandler() |
public Boolean handle(ResultSet rset) throws SQLException
handle in interface JdbcSession.Handler<Boolean>rset - The result set to processSQLException - If something goes wrong insideCopyright © 2012 jcabi.com. All Rights Reserved.