java.lang.Object
org.litebridge.orm.api.update.UpdateSetStep<DTO,DtoUpdateStep<DTO>,DtoUpdateSetStep<DTO>,DtoUpdateWhereConditionClause<DTO>,DtoUpdateWhereConditionClauseTerminal<DTO>,DtoQueryConditionBuilder<DTO>>
org.litebridge.orm.api.update.DtoUpdateSetStep<DTO>
- Type Parameters:
DTO- the mapped DTO/entity type
public final class DtoUpdateSetStep<DTO>
extends UpdateSetStep<DTO,DtoUpdateStep<DTO>,DtoUpdateSetStep<DTO>,DtoUpdateWhereConditionClause<DTO>,DtoUpdateWhereConditionClauseTerminal<DTO>,DtoQueryConditionBuilder<DTO>>
DTO-mode step for specifying the value of a column or expression in a SET clause.
-
Constructor Summary
ConstructorsConstructorDescriptionDtoUpdateSetStep(String field, QueryNode node, Function<QueryNode, DtoUpdateStep<DTO>> updateStepCreator) Creates a newDtoUpdateSetStepinstance with a field name.DtoUpdateSetStep(ExpressionSpec expressionSpec, QueryNode node, Function<QueryNode, DtoUpdateStep<DTO>> updateStepCreator) Creates a newDtoUpdateSetStepinstance with an expression specification. -
Method Summary
-
Constructor Details
-
DtoUpdateSetStep
public DtoUpdateSetStep(String field, QueryNode node, Function<QueryNode, DtoUpdateStep<DTO>> updateStepCreator) Creates a newDtoUpdateSetStepinstance with a field name.- Parameters:
field- the field namenode- the current query nodeupdateStepCreator- the function to create the update step
-
DtoUpdateSetStep
public DtoUpdateSetStep(ExpressionSpec expressionSpec, QueryNode node, Function<QueryNode, DtoUpdateStep<DTO>> updateStepCreator) Creates a newDtoUpdateSetStepinstance with an expression specification.- Parameters:
expressionSpec- the expression specificationnode- the current query nodeupdateStepCreator- the function to create the update step
-