Package cc.carm.lib.easysql.api.action
Interface PreparedSQLUpdateBatchAction<T extends java.lang.Number>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PreparedSQLUpdateBatchAction<T>
addParamsBatch(java.lang.Object... params)
添加一组SQL语句中所有 ?PreparedSQLUpdateBatchAction<T>
returnGeneratedKeys()
设定该操作返回自增键序列。<N extends java.lang.Number>
PreparedSQLUpdateBatchAction<N>returnGeneratedKeys(java.lang.Class<N> keyTypeClass)
设定该操作返回自增键序列。PreparedSQLUpdateBatchAction<T>
setAllParams(java.lang.Iterable<java.lang.Object[]> allParams)
设定多组SQL语句中所有 ?-
Methods inherited from interface cc.carm.lib.easysql.api.SQLAction
defaultExceptionHandler, execute, execute, execute, execute, executeAsync, executeAsync, executeAsync, executeFunction, executeFunction, executeFuture, executeFuture, getActionUUID, getCreateTime, getCreateTime, getManager, getShortID, getSQLContent, getSQLContents, handleException, setExceptionHandler
-
-
-
-
Method Detail
-
setAllParams
PreparedSQLUpdateBatchAction<T> setAllParams(java.lang.Iterable<java.lang.Object[]> allParams)
设定多组SQL语句中所有 ? 对应的参数- Parameters:
allParams
- 所有参数内容- Returns:
PreparedSQLUpdateBatchAction
-
addParamsBatch
PreparedSQLUpdateBatchAction<T> addParamsBatch(java.lang.Object... params)
添加一组SQL语句中所有 ? 对应的参数- Parameters:
params
- 参数内容- Returns:
PreparedSQLUpdateBatchAction
-
returnGeneratedKeys
PreparedSQLUpdateBatchAction<T> returnGeneratedKeys()
设定该操作返回自增键序列。- Returns:
SQLUpdateAction
-
returnGeneratedKeys
<N extends java.lang.Number> PreparedSQLUpdateBatchAction<N> returnGeneratedKeys(java.lang.Class<N> keyTypeClass)
设定该操作返回自增键序列。- Type Parameters:
N
- 自增键序列类型Number
- Parameters:
keyTypeClass
- 自增序列的数字类型- Returns:
SQLUpdateAction
- Since:
- 0.4.0
-
-