net.aditsu.depeche
public class RawQuery extends SQLQuery
| Modifier and Type | Method and Description |
|---|---|
List<Serializable> |
getParams()
Returns this query's parameters
|
String |
getSelectSQL()
Returns the SQL string for running this query as a SELECT query
|
String |
getUpdateSQL()
Returns the SQL string for running this query as a generic update query
|
void |
startBatch(Conn conn,
boolean keepParams)
Starts a batch update using this query and the given connection
|
addParams, executeBatch, getOneRecord, getProvider, getProviderRef, getRecord, select, select, update, updateclearData, get, getColumn, getColumn, getColumn, getColumn, getColumnInfo, getLocalQuery, getOneRecord, getRecord, hasRun, sizeadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subListpublic List<Serializable> getParams()
SQLQuerypublic String getSelectSQL()
SQLQuerygetSelectSQL in class SQLQuerypublic String getUpdateSQL()
SQLQuerygetUpdateSQL in class SQLQuerypublic void startBatch(Conn conn, boolean keepParams)
conn - connection to use for preparing the statementkeepParams - true to keep this query's parameters as the first set of parameters in the batch