java.lang.Object
org.litebridge.orm.api.update.UpdateSetStep<Row,SqlUpdateStep,SqlUpdateSetStep,SqlUpdateWhereConditionClause,SqlUpdateWhereConditionClauseTerminal,SqlQueryConditionBuilder<Row>>
org.litebridge.orm.api.update.SqlUpdateSetStep
public final class SqlUpdateSetStep
extends UpdateSetStep<Row,SqlUpdateStep,SqlUpdateSetStep,SqlUpdateWhereConditionClause,SqlUpdateWhereConditionClauseTerminal,SqlQueryConditionBuilder<Row>>
SQL-mode step for specifying the value of a column or expression in a SET clause.
-
Constructor Summary
ConstructorsConstructorDescriptionSqlUpdateSetStep(String column, QueryNode node, Function<QueryNode, SqlUpdateStep> updateStepCreator) Creates a newSqlUpdateSetStepinstance with a column name.SqlUpdateSetStep(ExpressionSpec expressionSpec, QueryNode node, Function<QueryNode, SqlUpdateStep> updateStepCreator) Creates a newSqlUpdateSetStepinstance with an expression specification. -
Method Summary
-
Constructor Details
-
SqlUpdateSetStep
public SqlUpdateSetStep(String column, QueryNode node, Function<QueryNode, SqlUpdateStep> updateStepCreator) Creates a newSqlUpdateSetStepinstance with a column name.- Parameters:
column- the column namenode- the current query nodeupdateStepCreator- the function to create the update step
-
SqlUpdateSetStep
public SqlUpdateSetStep(ExpressionSpec expressionSpec, QueryNode node, Function<QueryNode, SqlUpdateStep> updateStepCreator) Creates a newSqlUpdateSetStepinstance with an expression specification.- Parameters:
expressionSpec- the expression specificationnode- the current query nodeupdateStepCreator- the function to create the update step
-