Module litebridge.orm
Package org.litebridge.orm.persistence
Class AbstractStatementBuilder<US extends UpdateStatement>
java.lang.Object
org.litebridge.orm.persistence.AbstractStatementBuilder<US>
- Type Parameters:
US- The type of update statement being built.
- All Implemented Interfaces:
StatementBuilder<US>
- Direct Known Subclasses:
DeleteBuilder
public abstract sealed class AbstractStatementBuilder<US extends UpdateStatement>
extends Object
implements StatementBuilder<US>
permits DeleteBuilder (not exhaustive)
Abstract base class for building SQL statements.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractStatementBuilder(OrmTable ormTable) Constructs a newAbstractStatementBuilder. -
Method Summary
-
Field Details
-
ormTable
The ORM table associated with the statement.
-
-
Constructor Details
-
AbstractStatementBuilder
Constructs a newAbstractStatementBuilder.- Parameters:
ormTable- The ORM table.
-
-
Method Details
-
statementChain
Description copied from interface:StatementBuilderReturns the chain of statements built so far.- Specified by:
statementChainin interfaceStatementBuilder<US extends UpdateStatement>- Returns:
- The statement chain.
-
build
Description copied from interface:StatementBuilderBuilds the final SQL statement.- Specified by:
buildin interfaceStatementBuilder<US extends UpdateStatement>- Returns:
- The built statement.
-