类 AbstractInsertSql.ConflictUpdateSqlImpl
java.lang.Object
org.elsfs.tool.sql.abs.AbstractInsertSql.ConflictUpdateSqlImpl
- 所有已实现的接口:
Completable<C>,InsertSql.ConflictUpdateSql<C>,SqlFragment,Settable<InsertSql.ConflictUpdateSql<C>>
- 封闭类:
- AbstractInsertSql<C extends AbstractInsertSql<C>>
public class AbstractInsertSql.ConflictUpdateSqlImpl
extends Object
implements InsertSql.ConflictUpdateSql<C>
冲突更新SQl实现
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明构建SQL片段end()返回上一级对象设置字段表达式设置字段表达式setConflict(Enum<?> field, Enum<?> excludedField) 设置字段表达式setConflict(String field, String excludedField) 设置字段表达式设置字段值设置字段值批量设置字段值setValuesEnum(Map<Enum<?>, Object> fieldValueMap) 批量设置字段值
-
构造器详细资料
-
ConflictUpdateSqlImpl
public ConflictUpdateSqlImpl()
-
-
方法详细资料
-
end
返回上一级对象- 指定者:
end在接口中Completable<C extends AbstractInsertSql<C>>- 返回:
- 上级对象
-
setConflict
设置字段表达式- 指定者:
setConflict在接口中InsertSql.ConflictUpdateSql<C extends AbstractInsertSql<C>>- 参数:
field- 字段名称excludedField- 冲突值中的字段名称- 返回:
- 具体实现
-
setConflict
设置字段表达式- 指定者:
setConflict在接口中InsertSql.ConflictUpdateSql<C extends AbstractInsertSql<C>>- 参数:
field- 字段枚举excludedField- 冲突值中的字段名称- 返回:
- 具体实现
-
set
设置字段表达式- 指定者:
set在接口中Settable<InsertSql.ConflictUpdateSql<C extends AbstractInsertSql<C>>>- 参数:
field- 字段名称expression- 表达式args- 表达式参数- 返回:
- 具体实现
-
set
设置字段表达式- 指定者:
set在接口中Settable<InsertSql.ConflictUpdateSql<C extends AbstractInsertSql<C>>>- 参数:
field- 字段枚举expression- 表达式args- 表达式参数- 返回:
- 具体实现
-
setValue
设置字段值- 指定者:
setValue在接口中Settable<InsertSql.ConflictUpdateSql<C extends AbstractInsertSql<C>>>- 参数:
field- 字段名称value- 值- 返回:
- 具体实现
-
setValue
设置字段值- 指定者:
setValue在接口中Settable<InsertSql.ConflictUpdateSql<C extends AbstractInsertSql<C>>>- 参数:
field- 字段枚举value- 值- 返回:
- 具体实现
-
setValues
批量设置字段值- 指定者:
setValues在接口中Settable<InsertSql.ConflictUpdateSql<C extends AbstractInsertSql<C>>>- 参数:
fieldValueMap- 字段值Map- 返回:
- 具体实现
-
setValuesEnum
批量设置字段值- 指定者:
setValuesEnum在接口中Settable<InsertSql.ConflictUpdateSql<C extends AbstractInsertSql<C>>>- 参数:
fieldValueMap- 字段枚举值Map- 返回:
- 具体实现
-
buildSqlFragment
构建SQL片段- 指定者:
buildSqlFragment在接口中SqlFragment- 返回:
- SQL片段
-