public class Querier extends JDBCTemplate implements RowProcessor
Querier class.
Constructor and Description |
---|
Querier(DataSource db,
String sql)
Deprecated.
Constructor for Querier.
|
Querier(DataSource db,
String sql,
RowProcessor rowProcessor)
Deprecated.
Constructor for Querier.
|
Modifier and Type | Method and Description |
---|---|
protected void |
executeStmt(PreparedStatement stmt)
Deprecated.
|
int |
getCount()
Deprecated.
getCount
|
void |
processRow(ResultSet rs)
Deprecated.
processRow
|
execute, reproduceStatement
public Querier(DataSource db, String sql, RowProcessor rowProcessor)
Constructor for Querier.
db
- a DataSource
object.sql
- a String
object.rowProcessor
- a RowProcessor
object.public Querier(DataSource db, String sql)
Constructor for Querier.
db
- a DataSource
object.sql
- a String
object.public int getCount()
getCount
protected void executeStmt(PreparedStatement stmt) throws SQLException
SQLException
public void processRow(ResultSet rs) throws SQLException
processRow
processRow
in interface RowProcessor
rs
- a ResultSet
object.SQLException
- if any.Copyright © 2021. All rights reserved.