@Immutable 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.
| Constructor and Description |
|---|
NotEmptyHandler() |
@Loggable(value=2) 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-2013 jcabi.com. All Rights Reserved.