Package cc.carm.lib.easysql.api.action
Interface SQLUpdateBatchAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SQLUpdateBatchActionaddBatch(@NotNull java.lang.String sql)添加一条批量执行的SQL语句default @NotNull java.lang.StringgetSQLContent()得到该Action所要执行的源SQL语句@NotNull java.util.List<java.lang.String>getSQLContents()得到该Action所要执行的源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, handleException, setExceptionHandler
-
-
-
-
Method Detail
-
addBatch
SQLUpdateBatchAction addBatch(@NotNull @NotNull java.lang.String sql)
添加一条批量执行的SQL语句- Parameters:
sql- SQL语句- Returns:
SQLUpdateBatchAction
-
getSQLContent
@NotNull default @NotNull java.lang.String getSQLContent()
Description copied from interface:SQLAction得到该Action所要执行的源SQL语句- Specified by:
getSQLContentin interfaceSQLAction<java.util.List<java.lang.Integer>>- Returns:
- 源SQL语句
-
getSQLContents
@NotNull @NotNull java.util.List<java.lang.String> getSQLContents()
Description copied from interface:SQLAction得到该Action所要执行的源SQL语句列表。- Specified by:
getSQLContentsin interfaceSQLAction<java.util.List<java.lang.Integer>>- Returns:
- 源SQL语句列表
-
-