Module litebridge.orm
Package org.litebridgedb.orm.api.select
Interface WhereConditionClauseTerminal<DTO,WCC extends WhereConditionClause<DTO,WCC,SELF,GBCT,HCC,HCCT,OBC,OBCC>,SELF extends WhereConditionClauseTerminal<DTO,WCC,SELF,GBCT,HCC,HCCT,OBC,OBCC>,GBCT extends GroupByClauseTerminal<DTO,HCC,HCCT,OBC,OBCC>,HCC extends HavingConditionClause<DTO,HCC,HCCT,OBC,OBCC>,HCCT extends HavingConditionClauseTerminal<DTO,HCC,HCCT,OBC,OBCC>,OBC extends OrderByClause<DTO,OBC,OBCC>,OBCC extends OrderByClauseChain<DTO,OBC,OBCC>>
- Type Parameters:
DTO- the type of the Data Transfer Object (DTO) representing the query resultWCC- the type of the WHERE condition clause that facilitates further condition chainingSELF- the type of the implementing subclass for enabling fluent API style method chainingGBCT- the terminal type of the GROUP BY clause, marking the end of GROUP BY clauseHCC- the type of the HAVING condition clause for further filteringHCCT- the terminal type of the HAVING condition clause, marking the end of HAVING conditionsOBC- the type of the ORDER BY clause for specifying result orderingOBCC- the type of the ORDER BY clause chain for chaining multiple ordering instructions
- All Superinterfaces:
ConditionClauseTerminal<DTO,,WCC, SELF> LimitClauseTerminal<DTO>,OrderByClauseTerminal<DTO>,SelectTerminal<DTO>,WhereClauseTerminal<DTO,GBCT, HCC, HCCT, OBC, OBCC>
- All Known Implementing Classes:
DtoWhereConditionClauseTerminal,SqlWhereConditionClauseTerminal
public interface WhereConditionClauseTerminal<DTO,WCC extends WhereConditionClause<DTO,WCC,SELF,GBCT,HCC,HCCT,OBC,OBCC>,SELF extends WhereConditionClauseTerminal<DTO,WCC,SELF,GBCT,HCC,HCCT,OBC,OBCC>,GBCT extends GroupByClauseTerminal<DTO,HCC,HCCT,OBC,OBCC>,HCC extends HavingConditionClause<DTO,HCC,HCCT,OBC,OBCC>,HCCT extends HavingConditionClauseTerminal<DTO,HCC,HCCT,OBC,OBCC>,OBC extends OrderByClause<DTO,OBC,OBCC>,OBCC extends OrderByClauseChain<DTO,OBC,OBCC>>
extends ConditionClauseTerminal<DTO,WCC,SELF>, WhereClauseTerminal<DTO,GBCT,HCC,HCCT,OBC,OBCC>
Terminal interface for a WHERE condition clause in SQL query construction.
This interface facilitates the creation of type-safe and fluent query-building methods,
supporting advanced chaining mechanisms for WHERE conditions and ORDER BY clauses.
It combines the capabilities of ConditionClauseTerminal to mark the end of
logical condition construction and WhereClauseTerminal to transition into
ORDER BY clause construction.
This interface is parameterized to provide flexibility and maintain strict type safety, ensuring the seamless chaining of compatible query-building stages.
-
Method Summary
Methods inherited from interface org.litebridgedb.orm.api.select.ConditionClauseTerminal
and, andMethods inherited from interface org.litebridgedb.orm.api.select.LimitClauseTerminal
offsetMethods inherited from interface org.litebridgedb.orm.api.select.OrderByClauseTerminal
limitMethods inherited from interface org.litebridgedb.orm.api.select.SelectTerminal
first, firstOrNull, firstOrThrow, firstOrThrow, list, one, oneOrNull, oneOrThrow, oneOrThrow, stream, toSqlMethods inherited from interface org.litebridgedb.orm.api.select.WhereClauseTerminal
groupBy, groupBy, orderBy, orderBy