Package org.mybatis.dynamic.sql.dsl
Class AbstractUpdateDSL<M,D extends AbstractUpdateDSL<M,D>>
java.lang.Object
org.mybatis.dynamic.sql.dsl.AbstractUpdateDSL<M,D>
- All Implemented Interfaces:
OrderByOperations<D>,WhereOperations<AbstractUpdateDSL<M,,D>.UpdateWhereBuilder> Buildable<M>,ConfigurableStatement<D>
public abstract class AbstractUpdateDSL<M,D extends AbstractUpdateDSL<M,D>>
extends Object
implements WhereOperations<AbstractUpdateDSL<M,D>.UpdateWhereBuilder>, OrderByOperations<D>, ConfigurableStatement<D>, Buildable<M>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclass -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractUpdateDSL(SqlTable table, @Nullable String tableAlias) -
Method Summary
Modifier and TypeMethodDescriptionapplyWhere(WhereApplier whereApplier) protected UpdateModelWARNING!configureStatement(Consumer<StatementConfiguration> consumer) protected abstract DgetThis()limit(long limit) limitWhenPresent(@Nullable Long limit) orderBy(Collection<? extends SortSpecification> columns) <T> AbstractUpdateDSL<M,D>.SetClauseFinisher<T> where()where(SqlCriterion initialCriterion) 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.dsl.OrderByOperations
orderBy
-
Constructor Details
-
AbstractUpdateDSL
-
-
Method Details
-
set
-
where
- Specified by:
wherein interfaceWhereOperations<M>
-
where
- Specified by:
wherein interfaceWhereOperations<M>
-
applyWhere
- Specified by:
applyWherein interfaceWhereOperations<M>
-
limit
-
limitWhenPresent
-
orderBy
- Specified by:
orderByin interfaceOrderByOperations<M>
-
buildUpdateModel
WARNING! Calling this method could result in an update statement that updates all rows in a table.- Returns:
- the update model
-
configureStatement
- Specified by:
configureStatementin interfaceConfigurableStatement<M>
-
getThis
-