Interface GroupByClauseTerminal<DTO,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 data transfer object (DTO) type that represents the result of the query
HCC - the type of the HAVING condition clause for further filtering
HCCT - the terminal type of the HAVING condition clause, marking the end of HAVING conditions
OBC - the type of the ORDER BY clause defining result sorting
OBCC - the type of the ORDER BY clause chain for chaining multiple sorting expressions
All Superinterfaces:
HavingClauseTerminal<DTO,OBC,OBCC>, LimitClauseTerminal<DTO>, OrderByClauseTerminal<DTO>, SelectTerminal<DTO>
All Known Implementing Classes:
org.litebridge.orm.api.select.impl.AbstractGroupByClauseTerminal, DtoGroupByClauseTerminal, SqlGroupByClauseTerminal

public interface GroupByClauseTerminal<DTO,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 HavingClauseTerminal<DTO,OBC,OBCC>
Terminal clause in a fluent API for constructing SQL GROUP BY statements.
  • Method Details

    • having

      HCC having(ExpressionSpec expression)
      Starts a HAVING clause for the SQL query.
      Parameters:
      expression - the expression to apply the filtering condition on
      Returns:
      an instance of HCC representing the next stage of the having condition clause