Package cc.carm.lib.easysql.api.action
Interface SQLUpdateAction<T extends java.lang.Number>
-
- All Superinterfaces:
SQLAction<T>
- All Known Subinterfaces:
PreparedSQLUpdateAction<T>
public interface SQLUpdateAction<T extends java.lang.Number> extends SQLAction<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SQLUpdateAction<T>
returnGeneratedKey()
设定该操作返回自增键序列。<N extends java.lang.Number>
SQLUpdateAction<N>returnGeneratedKey(java.lang.Class<N> keyTypeClass)
设定该操作返回自增键序列。-
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
-
returnGeneratedKey
SQLUpdateAction<T> returnGeneratedKey()
设定该操作返回自增键序列。- Returns:
SQLUpdateAction
-
returnGeneratedKey
<N extends java.lang.Number> SQLUpdateAction<N> returnGeneratedKey(java.lang.Class<N> keyTypeClass)
设定该操作返回自增键序列。- Type Parameters:
N
- 自增键序列类型Number
- Parameters:
keyTypeClass
- 自增序列的数字类型- Returns:
SQLUpdateAction
- Since:
- 0.4.0
-
-