类 LambdaUpdateWrapper<T>
java.lang.Object
com.baomidou.mybatisplus.core.conditions.Wrapper<T>
com.baomidou.mybatisplus.core.conditions.AbstractWrapper<T,SFunction<T,?>,Children>
com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper<T,LambdaUpdateWrapper<T>>
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper<T>
- 所有已实现的接口:
Compare<LambdaUpdateWrapper<T>,SFunction<T,?>>,Func<LambdaUpdateWrapper<T>,SFunction<T,?>>,Join<LambdaUpdateWrapper<T>>,Nested<LambdaUpdateWrapper<T>,LambdaUpdateWrapper<T>>,ISqlSegment,Update<LambdaUpdateWrapper<T>,SFunction<T,?>>,Serializable
public class LambdaUpdateWrapper<T> extends AbstractLambdaWrapper<T,LambdaUpdateWrapper<T>> implements Update<LambdaUpdateWrapper<T>,SFunction<T,?>>
Lambda 更新封装
- 从以下版本开始:
- 2018-05-30
- 作者:
- hubin miemie HCL
- 另请参阅:
- 序列化表格
-
字段概要
从类继承的字段 com.baomidou.mybatisplus.core.conditions.AbstractWrapper
expression, lastSql, paramNameSeq, paramNameValuePairs, sqlComment, sqlFirst, typedThis -
构造器概要
构造器 构造器 说明 LambdaUpdateWrapper()不建议直接 new 该实例,使用 Wrappers.lambdaUpdate()LambdaUpdateWrapper(Class<T> entityClass)不建议直接 new 该实例,使用 Wrappers.lambdaUpdate(entity)LambdaUpdateWrapper(T entity)不建议直接 new 该实例,使用 Wrappers.lambdaUpdate(entity) -
方法概要
修饰符和类型 方法 说明 voidclear()条件清空StringgetSqlSet()获取 更新 SQL 的 SET 片段protected LambdaUpdateWrapper<T>instance()子类返回一个自己的新对象LambdaUpdateWrapper<T>set(boolean condition, SFunction<T,?> column, Object val)设置 更新 SQL 的 SET 片段LambdaUpdateWrapper<T>setSql(boolean condition, String sql)设置 更新 SQL 的 SET 片段从类继承的方法 com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper
columnsToString, columnsToString, columnToString, columnToString从类继承的方法 com.baomidou.mybatisplus.core.conditions.AbstractWrapper
addCondition, addNestedCondition, allEq, allEq, and, and, apply, between, clone, comment, doIt, eq, exists, first, formatSql, formatSqlIfNeed, func, ge, getEntity, getEntityClass, getExpression, getParamNameValuePairs, getSqlComment, getSqlFirst, getSqlSegment, groupBy, gt, having, in, initNeed, inSql, isNotNull, isNull, last, le, like, likeLeft, likeRight, likeValue, lt, ne, nested, not, not, notBetween, notExists, notIn, notInSql, notLike, or, or, orderBy, setEntity, setEntityClass从类继承的方法 com.baomidou.mybatisplus.core.conditions.Wrapper
getCustomSqlSegment, getSqlSelect, getTargetSql, isEmptyOfEntity, isEmptyOfNormal, isEmptyOfWhere, nonEmptyOfEntity, nonEmptyOfNormal, nonEmptyOfWhere从类继承的方法 java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.baomidou.mybatisplus.core.conditions.interfaces.Compare
allEq, allEq, allEq, allEq, between, eq, ge, gt, le, like, likeLeft, likeRight, lt, ne, notBetween, notLike从接口继承的方法 com.baomidou.mybatisplus.core.conditions.interfaces.Func
func, groupBy, groupBy, having, in, in, in, inSql, isNotNull, isNull, notIn, notIn, notIn, notInSql, orderByAsc, orderByAsc, orderByAsc, orderByDesc, orderByDesc, orderByDesc
-
构造器详细资料
-
LambdaUpdateWrapper
public LambdaUpdateWrapper()不建议直接 new 该实例,使用 Wrappers.lambdaUpdate() -
LambdaUpdateWrapper
不建议直接 new 该实例,使用 Wrappers.lambdaUpdate(entity) -
LambdaUpdateWrapper
不建议直接 new 该实例,使用 Wrappers.lambdaUpdate(entity)
-
-
方法详细资料
-
set
从接口复制的说明:Update设置 更新 SQL 的 SET 片段 -
setSql
从接口复制的说明:Update设置 更新 SQL 的 SET 片段 -
getSqlSet
从接口复制的说明:Update获取 更新 SQL 的 SET 片段 -
instance
从类复制的说明:AbstractWrapper子类返回一个自己的新对象- 指定者:
instance在类中AbstractWrapper<T,SFunction<T,?>,LambdaUpdateWrapper<T>>
-
clear
public void clear()从类复制的说明:Wrapper条件清空- 覆盖:
clear在类中AbstractWrapper<T,SFunction<T,?>,LambdaUpdateWrapper<T>>
-