Package org.mybatis.dynamic.sql.update
Class UpdateDSL<R>
java.lang.Object
org.mybatis.dynamic.sql.update.UpdateDSL<R>
- All Implemented Interfaces:
Buildable<R>,ConfigurableStatement<UpdateDSL<R>>,AbstractWhereStarter<UpdateDSL<R>.UpdateWhereBuilder,UpdateDSL<R>>
public class UpdateDSL<R>
extends Object
implements AbstractWhereStarter<UpdateDSL<R>.UpdateWhereBuilder,UpdateDSL<R>>, Buildable<R>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclass -
Method Summary
Modifier and TypeMethodDescriptionbuild()WARNING!configureStatement(Consumer<StatementConfiguration> consumer) limit(long limit) limitWhenPresent(@Nullable Long limit) orderBy(Collection<? extends SortSpecification> columns) orderBy(SortSpecification... columns) <T> UpdateDSL<R>.SetClauseFinisher<T> static <R> UpdateDSL<R> update(Function<UpdateModel, R> adapterFunction, SqlTable table, @Nullable String tableAlias) static UpdateDSL<UpdateModel> static UpdateDSL<UpdateModel> where()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mybatis.dynamic.sql.where.AbstractWhereStarter
applyWhere, where, where, where, where, where, where, where
-
Method Details
-
set
-
where
- Specified by:
wherein interfaceAbstractWhereStarter<UpdateDSL<R>.UpdateWhereBuilder,UpdateDSL<R>>
-
limit
-
limitWhenPresent
-
orderBy
-
orderBy
-
build
WARNING! Calling this method could result in an update statement that updates all rows in a table. -
configureStatement
- Specified by:
configureStatementin interfaceConfigurableStatement<R>
-
update
public static <R> UpdateDSL<R> update(Function<UpdateModel, R> adapterFunction, SqlTable table, @Nullable String tableAlias) -
update
-
update
-