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:
- OutageTest.OutageChecker, PollerTest.OutageChecker, SingleResultQuerier
- public class Querier
- extends JDBCTemplate
- implements RowProcessor
Fields inherited from class org.opennms.netmgt.utils.JDBCTemplate |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_count
private int m_count
m_rowProcessor
private RowProcessor m_rowProcessor
Querier
public Querier(DbConnectionFactory db,
java.lang.String sql,
RowProcessor rowProcessor)
Querier
public Querier(DbConnectionFactory db,
java.lang.String sql)
getCount
public int getCount()
executeStmt
protected void executeStmt(java.sql.PreparedStatement stmt)
throws java.sql.SQLException
- Specified by:
executeStmt
in class JDBCTemplate
- Throws:
java.sql.SQLException
processRow
public void processRow(java.sql.ResultSet rs)
throws java.sql.SQLException
- Specified by:
processRow
in interface RowProcessor
- Throws:
java.sql.SQLException
Generated by eevans on May 29 2005 2015.