Uses of Interface
org.litebridge.orm.api.update.UpdateQuery
Packages that use UpdateQuery
Package
Description
Litebridge ORM
Fluent API for constructing
MERGE statements.Fluent API for constructing UPDATE statements
Core common ORM API function services.
-
Uses of UpdateQuery in org.litebridge.orm
Method parameters in org.litebridge.orm with type arguments of type UpdateQueryModifier and TypeMethodDescription<DTO> UpdateResultLitebridgeCore.update(Class<DTO> dtoClass, Function<DtoUpdateStart<DTO>, UpdateQuery> update) Updates the data in the database for the given DTO class by applying the specified update query.LitebridgeCore.update(String tableName, Function<SqlUpdateStart, UpdateQuery> update) Executes an update operation on the specified table using the provided query function. -
Uses of UpdateQuery in org.litebridge.orm.api.merge
Method parameters in org.litebridge.orm.api.merge with type arguments of type UpdateQueryModifier and TypeMethodDescriptionDtoMergeUpdateStep.update(Function<DtoUpdateStart<DTO>, UpdateQuery> update) Specifies the update action to take when rows match.SqlMergeUpdateStep.update(Function<SqlUpdateStart, UpdateQuery> update) Specifies the update action to take when rows match. -
Uses of UpdateQuery in org.litebridge.orm.api.update
Subinterfaces of UpdateQuery in org.litebridge.orm.api.updateModifier and TypeInterfaceDescriptioninterfaceThe terminal interface for DTO update where condition clauses.interfaceThe terminal interface for SQL update where condition clauses.interfaceUpdateStep<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>> Step in anUPDATEstatement allowing additional SET assignments or transitioning to a WHERE clause.interfaceUpdateWhereConditionClauseTerminal<DTO,WCC extends UpdateWhereConditionClause<DTO, WCC, SELF, QCB>, SELF extends UpdateWhereConditionClauseTerminal<DTO, WCC, SELF, QCB>, QCB extends QueryConditionBuilder<DTO, ?, ?, ?, QCB>> Terminal interface for update WHERE condition clauses.Classes in org.litebridge.orm.api.update that implement UpdateQueryModifier and TypeClassDescriptionfinal classDtoUpdateStep<DTO>DTO-mode step for specifying SET assignments or WHERE conditions in anUPDATEstatement.final classImplementation of the terminal interface for DTO update where condition clauses.final classSQL-mode step for specifying SET assignments or WHERE conditions in anUPDATEstatement.final classImplementation ofSqlUpdateWhereConditionClauseTerminalfor SQL update operations.Methods in org.litebridge.orm.api.update with parameters of type UpdateQueryModifier and TypeMethodDescriptionstatic QueryNodeUpdateQueryInspector.getNode(UpdateQuery updateQuery) Extracts the ASTQueryNodefrom the given update query. -
Uses of UpdateQuery in org.litebridge.orm.engine
Method parameters in org.litebridge.orm.engine with type arguments of type UpdateQueryModifier and TypeMethodDescriptionstatic <DTO> QueryNodeUpdateEngine.createUpdateNodeChain(Class<DTO> dtoClass, Function<DtoUpdateStart<DTO>, UpdateQuery> update, LitebridgeContext litebridgeContext) Creates a chain of update nodes for the specified mapped DTO/entity type and update logic.static QueryNodeUpdateEngine.createUpdateNodeChain(String tableName, Function<SqlUpdateStart, UpdateQuery> update, LitebridgeContext litebridgeContext) Creates a chain of update nodes for the specified table name and update logic.<DTO> UpdateOpResultUpdateEngine.update(Class<DTO> dtoClass, Function<DtoUpdateStart<DTO>, UpdateQuery> update, LitebridgeContext litebridgeContext) Executes a SQLUPDATEstatement targeting a mapped DTO/entity class.UpdateEngine.update(String tableName, Function<SqlUpdateStart, UpdateQuery> update, LitebridgeContext litebridgeContext) Executes a SQLUPDATEstatement targeting a specific table.