Package org.opennms.core.utils
Class SingleResultQuerier
- java.lang.Object
-
- org.opennms.core.utils.JDBCTemplate
-
- org.opennms.core.utils.Querier
-
- org.opennms.core.utils.SingleResultQuerier
-
- All Implemented Interfaces:
RowProcessor
public class SingleResultQuerier extends Querier
Deprecated.Use Hibernate instead of plain JDBCSingleResultQuerier class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description SingleResultQuerier(javax.sql.DataSource db, java.lang.String sql)
Deprecated.Constructor for SingleResultQuerier.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
getResult()
Deprecated.getResultvoid
processRow(java.sql.ResultSet rs)
Deprecated.processRow-
Methods inherited from class org.opennms.core.utils.Querier
executeStmt, getCount
-
Methods inherited from class org.opennms.core.utils.JDBCTemplate
execute, reproduceStatement
-
-
-
-
Method Detail
-
getResult
public java.lang.Object getResult()
Deprecated.getResult
- Returns:
- a
Object
object.
-
processRow
public void processRow(java.sql.ResultSet rs) throws java.sql.SQLException
Deprecated.processRow
- Specified by:
processRow
in interfaceRowProcessor
- Overrides:
processRow
in classQuerier
- Parameters:
rs
- aResultSet
object.- Throws:
java.sql.SQLException
- if any.
-
-