org.opennms.netmgt.utils
Class Querier
java.lang.Object
org.opennms.netmgt.utils.JDBCTemplate
org.opennms.netmgt.utils.Querier
- All Implemented Interfaces:
- RowProcessor
- Direct Known Subclasses:
- SingleResultQuerier
public class Querier
- extends JDBCTemplate
- implements RowProcessor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Querier
public Querier(DataSource db,
String sql,
RowProcessor rowProcessor)
Querier
public Querier(DataSource db,
String sql)
getCount
public int getCount()
executeStmt
protected void executeStmt(PreparedStatement stmt)
throws SQLException
- Throws:
SQLException
processRow
public void processRow(ResultSet rs)
throws SQLException
- Specified by:
processRow in interface RowProcessor
- Throws:
SQLException
Copyright © 2009. All Rights Reserved.