Module litebridge.orm
Package org.litebridge.orm.api.update
Interface UpdateStep<DTO,SELF extends UpdateStep<DTO,SELF,USS,WCC,WCCT,QCB>,USS extends UpdateSetStep<DTO,SELF,USS,WCC,WCCT,QCB>,WCC extends UpdateWhereConditionClause<DTO,WCC,WCCT,QCB>,WCCT extends UpdateWhereConditionClauseTerminal<DTO,WCC,WCCT,QCB>,QCB extends QueryConditionBuilder<DTO,?,?,?,QCB>>
- Type Parameters:
DTO- the mapped DTO/entity type orRowWCC- the WHERE condition clause typeWCCT- the WHERE condition clause terminal type
- All Superinterfaces:
UpdateQuery,UpdateStart<DTO,SELF, USS, WCC, WCCT, QCB>
- All Known Implementing Classes:
DtoUpdateStep,SqlUpdateStep
public sealed interface UpdateStep<DTO,SELF extends UpdateStep<DTO,SELF,USS,WCC,WCCT,QCB>,USS extends UpdateSetStep<DTO,SELF,USS,WCC,WCCT,QCB>,WCC extends UpdateWhereConditionClause<DTO,WCC,WCCT,QCB>,WCCT extends UpdateWhereConditionClauseTerminal<DTO,WCC,WCCT,QCB>,QCB extends QueryConditionBuilder<DTO,?,?,?,QCB>>
extends UpdateStart<DTO,SELF,USS,WCC,WCCT,QCB>, UpdateQuery
permits DtoUpdateStep<DTO>, SqlUpdateStep
Step in an
UPDATE statement allowing additional SET assignments or transitioning to a WHERE clause.-
Method Summary
Modifier and TypeMethodDescriptionStarts a WHERE clause with a column or field name.where(ExpressionSpec expression) Starts a WHERE clause with an expression.where(ExistsExpressionSpec existsExpression) Starts a WHERE clause with an EXISTS expression.Methods inherited from interface org.litebridge.orm.api.update.UpdateStart
set, set
-
Method Details
-
where
Starts a WHERE clause with a column or field name.- Parameters:
column- the column or field name- Returns:
- step to specify the condition operator and value
-
where
Starts a WHERE clause with an expression.- Parameters:
expression- the expression specification- Returns:
- step to specify the condition operator and value
-
where
Starts a WHERE clause with an EXISTS expression.- Parameters:
existsExpression- the EXISTS expression specification- Returns:
- step to specify the condition operator and value
-