Interface HavingClauseTerminal<DTO,OBC extends OrderByClause<DTO,OBC,OBCC>,OBCC extends OrderByClauseChain<DTO,OBC,OBCC>>

All Superinterfaces:
LimitClauseTerminal<DTO>, OrderByClauseTerminal<DTO>, SelectTerminal<DTO>
All Known Subinterfaces:
GroupByClauseTerminal<DTO,HCC,HCCT,OBC,OBCC>, HavingConditionClauseTerminal<DTO,HCC,SELF,OBC,OBCC>
All Known Implementing Classes:
org.litebridgedb.orm.api.select.impl.AbstractGroupByClauseTerminal, org.litebridgedb.orm.api.select.impl.AbstractHavingClauseTerminal, DtoGroupByClauseTerminal, DtoHavingConditionClauseTerminal, SqlGroupByClauseTerminal, SqlHavingConditionClauseTerminal

public interface HavingClauseTerminal<DTO,OBC extends OrderByClause<DTO,OBC,OBCC>,OBCC extends OrderByClauseChain<DTO,OBC,OBCC>> extends OrderByClauseTerminal<DTO>
  • Method Details

    • orderBy

      OBC orderBy(String... columns)
      Adds an ORDER BY clause to the query, specifying the expressions to sort the results by.
      Parameters:
      columns - the expressions that determine the order of the results. Each column must be valid for the associated table or view in the query. The order in which the expressions are specified determines the priority of ordering.
      Returns:
      an instance of the type representing the ORDER BY clause, allowing further specification of ordering or transitioning to the next query stage.
    • orderBy

      OBC orderBy(ExpressionSpec... columns)
      Adds an ORDER BY clause to the query, specifying the fields and expressions to sort the results by.
      Parameters:
      columns - the expressions that determine the order of the results.
      Returns:
      an instance of the type representing the ORDER BY clause, allowing further specification of ordering or transitioning to the next query stage.