|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jpattern.orm.session.ASqlPerformer
public abstract class ASqlPerformer
| Constructor Summary | |
|---|---|
ASqlPerformer()
|
|
| Method Summary | |
|---|---|
Object[] |
queryForArray(String sql,
Object... values)
Execute a query given static SQL and read the result creating an ordered array with the extracted column values |
BigDecimal |
queryForBigDecimal(String sql,
Object... values)
Execute a query given static SQL and read the result as a BigDecimal value |
boolean |
queryForBoolean(String sql,
Object... values)
Execute a query given static SQL and read the result as a boolean value |
double |
queryForDouble(String sql,
Object... values)
Execute a query given static SQL and read the result as a double value |
float |
queryForFloat(String sql,
Object... values)
Execute a query given static SQL and read the result as a float value |
int |
queryForInt(String sql,
Object... values)
Execute a query given static SQL and read the result as an int value |
List<Object[]> |
queryForList(String sql,
Object... values)
Execute a query given static SQL and read the result creating a List of all the ordered arrays with the extracted column values for every row. |
long |
queryForLong(String sql,
Object... values)
Execute a query given static SQL and read the result as an long value |
String |
queryForString(String sql,
Object... values)
Execute a query given static SQL and read the result as a String value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.googlecode.jpattern.orm.session.ISqlPerformer |
|---|
batchUpdate, batchUpdate, batchUpdate, execute, getMaxRows, getQueryTimeout, query, setMaxRows, setQueryTimeout, update, update |
| Constructor Detail |
|---|
public ASqlPerformer()
| Method Detail |
|---|
public final int queryForInt(String sql,
Object... values)
ISqlPerformer
queryForInt in interface ISqlPerformersql - SQL query to executevalues - arguments to bind to the query
public final long queryForLong(String sql,
Object... values)
ISqlPerformer
queryForLong in interface ISqlPerformersql - SQL query to executevalues - arguments to bind to the query
public final double queryForDouble(String sql,
Object... values)
throws OrmException
ISqlPerformer
queryForDouble in interface ISqlPerformersql - SQL query to executevalues - arguments to bind to the query
OrmException
public final float queryForFloat(String sql,
Object... values)
throws OrmException
ISqlPerformer
queryForFloat in interface ISqlPerformersql - SQL query to executevalues - arguments to bind to the query
OrmException
public final String queryForString(String sql,
Object... values)
throws OrmException
ISqlPerformer
queryForString in interface ISqlPerformersql - SQL query to executevalues - arguments to bind to the query
OrmException
public final boolean queryForBoolean(String sql,
Object... values)
throws OrmException
ISqlPerformer
queryForBoolean in interface ISqlPerformersql - SQL query to executevalues - arguments to bind to the query
OrmException
public final BigDecimal queryForBigDecimal(String sql,
Object... values)
throws OrmException
ISqlPerformer
queryForBigDecimal in interface ISqlPerformersql - SQL query to executevalues - arguments to bind to the query
OrmException
public final Object[] queryForArray(String sql,
Object... values)
throws OrmException
ISqlPerformer
queryForArray in interface ISqlPerformersql - SQL query to executevalues - arguments to bind to the query
OrmException
public final List<Object[]> queryForList(String sql,
Object... values)
throws OrmException
ISqlPerformer
queryForList in interface ISqlPerformersql - SQL query to executevalues - arguments to bind to the query
OrmException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||