Package io.ebeaninternal.api
Interface SpiSqlUpdate
-
- All Superinterfaces:
SqlUpdate
- All Known Implementing Classes:
DefaultSqlUpdate
public interface SpiSqlUpdate extends SqlUpdate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpiSqlUpdate
copy()
Return a copy of the SqlUpdate with empty bind parameters.String
getBaseSql()
Return the sql taking into account bind parameter expansion.BindParams
getBindParams()
Return the Bind parameters.boolean
isGetGeneratedKeys()
Return true if we are using getGeneratedKeys.void
reset()
Reset bind position to be ready for another bind execute.void
setGeneratedKey(Object idValue)
Set the generated key value.void
setGeneratedSql(String sql)
Set the final sql being executed with named parameters replaced etc.-
Methods inherited from interface io.ebean.SqlUpdate
addBatch, execute, executeBatch, executeGetKey, executeNow, getGeneratedKey, getGeneratedSql, getLabel, getSql, getTimeout, isAutoTableMod, setAutoTableMod, setGetGeneratedKeys, setLabel, setNextParameter, setNull, setNull, setNullParameter, setNullParameter, setParameter, setParameter, setParameter, setParameters, setParams, setTimeout
-
-
-
-
Method Detail
-
getBaseSql
String getBaseSql()
Return the sql taking into account bind parameter expansion.
-
getBindParams
BindParams getBindParams()
Return the Bind parameters.
-
setGeneratedSql
void setGeneratedSql(String sql)
Set the final sql being executed with named parameters replaced etc.
-
isGetGeneratedKeys
boolean isGetGeneratedKeys()
Return true if we are using getGeneratedKeys.
-
setGeneratedKey
void setGeneratedKey(Object idValue)
Set the generated key value.
-
reset
void reset()
Reset bind position to be ready for another bind execute.
-
copy
SpiSqlUpdate copy()
Return a copy of the SqlUpdate with empty bind parameters.
-
-