Module litebridge.orm
Package org.litebridgedb.orm.api.select
Interface ConditionClauseTerminal<DTO,CC extends ConditionClause<DTO,CC,SELF>,SELF extends ConditionClauseTerminal<DTO,CC,SELF>>
- Type Parameters:
DTO- the data transfer object (DTO) type that represents the result of the queryCC- the type of the parent condition clause interface to allow additional chainingSELF- the type of the implementing subclass to enable type-safe fluent APIs
- All Known Subinterfaces:
DeleteWhereConditionClauseTerminal<DTO,,WCC, SELF> DtoDeleteWhereConditionClauseTerminal<DTO>,DtoUpdateWhereConditionClauseTerminal<DTO>,HavingConditionClauseTerminal<DTO,,HCC, SELF, OBC, OBCC> JoinConditionClauseTerminal<DTO,,JCC, SELF> SqlDeleteWhereConditionClauseTerminal,SqlUpdateWhereConditionClauseTerminal,UpdateWhereConditionClauseTerminal<DTO,,WCC, SELF> WhereConditionClauseTerminal<DTO,WCC, SELF, GBCT, HCC, HCCT, OBC, OBCC>
- All Known Implementing Classes:
org.litebridgedb.orm.api.select.impl.AbstractJoinConditionClauseTerminal,DtoDeleteWhereConditionClauseTerminalImpl,DtoHavingConditionClauseTerminal,DtoJoinConditionClauseTerminal,DtoUpdateWhereConditionClauseTerminalImpl,DtoWhereConditionClauseTerminal,SqlDeleteWhereConditionClauseTerminalImpl,SqlHavingConditionClauseTerminal,SqlJoinConditionClauseTerminal,SqlUpdateWhereConditionClauseTerminalImpl,SqlWhereConditionClauseTerminal
public interface ConditionClauseTerminal<DTO,CC extends ConditionClause<DTO,CC,SELF>,SELF extends ConditionClauseTerminal<DTO,CC,SELF>>
Terminal interface for building SQL condition clauses in a fluent and type-safe manner.
This interface is designed to provide methods that mark the end of a condition clause and allow further chaining of conditions.
The use of generics ensures type safety and supports fluent query construction by transitioning between different stages of the query.
-
Method Summary
-
Method Details
-
and
Adds an "AND" condition to the current condition clause using the specified column. This method is used to chain additional conditions in a SQL query in a fluent manner.- Parameters:
column- the name of the column to be used in the "AND" condition- Returns:
- the parent condition clause interface, allowing further chaining of conditions
-
and
Adds an "AND" condition to the current condition clause using the specified expression. This method is used to chain additional conditions in a SQL query in a type-safe and fluent manner.- Parameters:
expression- the expression to be used in the "AND" condition- Returns:
- the parent condition clause interface, allowing further chaining of conditions
-