java.lang.Object
org.litebridge.orm.persistence.AbstractStatementBuilder
org.litebridge.orm.persistence.AbstractConditionalStatementBuilder
org.litebridge.orm.persistence.DeleteBuilder
- All Implemented Interfaces:
StatementBuilder
A builder class for constructing SQL DELETE statements.
This class provides an API to facilitate the creation of DELETE statements targeting a specific table with optional conditions.
-
Field Summary
Fields inherited from class org.litebridge.orm.persistence.AbstractStatementBuilder
litebridgeContext, node, ormTable -
Constructor Summary
ConstructorsConstructorDescriptionDeleteBuilder(OrmTable table, LitebridgeContext litebridgeContext) Constructs aDeleteBuilderfor the specified ORM table. -
Method Summary
Methods inherited from class org.litebridge.orm.persistence.AbstractConditionalStatementBuilder
whereMethods inherited from class org.litebridge.orm.persistence.AbstractStatementBuilder
addColumn, addSetNode, createUpdateMetaData, node, statementChain
-
Constructor Details
-
DeleteBuilder
Constructs aDeleteBuilderfor the specified ORM table.- Parameters:
table- the table to delete fromlitebridgeContext- the ORM context
-
-
Method Details
-
build
Description copied from interface:StatementBuilderBuilds the final SQL statement.- Specified by:
buildin interfaceStatementBuilder- Specified by:
buildin classAbstractStatementBuilder- Returns:
- The built statement.
-