Module litebridge.orm
Package org.litebridge.orm.api.update
Class DtoUpdateWhereConditionClause<DTO>
java.lang.Object
org.litebridge.orm.api.select.impl.ConditionClauseImpl<DTO,DtoUpdateWhereConditionClause<DTO>,DtoUpdateWhereConditionClauseTerminal<DTO>,DtoQueryConditionBuilder<DTO>>
org.litebridge.orm.api.update.DtoUpdateWhereConditionClause<DTO>
- Type Parameters:
DTO- the DTO type
- All Implemented Interfaces:
ConditionClause<DTO,,DtoUpdateWhereConditionClause<DTO>, DtoUpdateWhereConditionClauseTerminal<DTO>, DtoQueryConditionBuilder<DTO>> UpdateWhereConditionClause<DTO,DtoUpdateWhereConditionClause<DTO>, DtoUpdateWhereConditionClauseTerminal<DTO>, DtoQueryConditionBuilder<DTO>>
public final class DtoUpdateWhereConditionClause<DTO>
extends ConditionClauseImpl<DTO,DtoUpdateWhereConditionClause<DTO>,DtoUpdateWhereConditionClauseTerminal<DTO>,DtoQueryConditionBuilder<DTO>>
implements UpdateWhereConditionClause<DTO,DtoUpdateWhereConditionClause<DTO>,DtoUpdateWhereConditionClauseTerminal<DTO>,DtoQueryConditionBuilder<DTO>>
Represents a where condition clause for a DTO update.
-
Constructor Summary
ConstructorsConstructorDescriptionDtoUpdateWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, Function<QueryNode, DtoUpdateWhereConditionClauseTerminal<DTO>> terminalRecreator) Creates a newDtoUpdateWhereConditionClauseinstance. -
Method Summary
Methods inherited from class org.litebridge.orm.api.select.impl.ConditionClauseImpl
between, eq, eq, gt, gt, gte, gte, in, in, in, isNotNull, isNull, like, lt, lt, lte, lte, neq, neq, notIn, notIn, notIn, notLike, using
-
Constructor Details
-
DtoUpdateWhereConditionClause
public DtoUpdateWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, Function<QueryNode, DtoUpdateWhereConditionClauseTerminal<DTO>> terminalRecreator) Creates a newDtoUpdateWhereConditionClauseinstance.- Parameters:
litebridgeContext- the Litebridge contextlogicOperator- the logical operator (AND/OR)lhsField- the left-hand side field namelhsExpression- the left-hand side expressionterminalRecreator- the function to create the terminal clause
-