Class DtoGroupByClauseTerminal<DTO>

java.lang.Object
org.litebridgedb.orm.api.select.impl.DelegatingSelector<DTO,DtoSelectSpec>
org.litebridgedb.orm.api.select.impl.LimitClauseTerminalImpl<DTO,DtoSelectSpec>
org.litebridgedb.orm.api.select.impl.OrderByClauseTerminalImpl<DTO,DtoSelectSpec>
org.litebridgedb.orm.api.select.impl.AbstractGroupByClauseTerminal<DTO,DtoHavingConditionClause<DTO>,DtoHavingConditionClauseTerminal<DTO>,DtoOrderByClause<DTO>,DtoOrderByClauseChain<DTO>,DtoSelectSpec>
org.litebridgedb.orm.api.dto.DtoGroupByClauseTerminal<DTO>
All Implemented Interfaces:
GroupByClauseTerminal<DTO,DtoHavingConditionClause<DTO>,DtoHavingConditionClauseTerminal<DTO>,DtoOrderByClause<DTO>,DtoOrderByClauseChain<DTO>>, HavingClauseTerminal<DTO,DtoOrderByClause<DTO>,DtoOrderByClauseChain<DTO>>, LimitClauseTerminal<DTO>, OrderByClauseTerminal<DTO>, SelectTerminal<DTO>

public class DtoGroupByClauseTerminal<DTO> extends org.litebridgedb.orm.api.select.impl.AbstractGroupByClauseTerminal<DTO,DtoHavingConditionClause<DTO>,DtoHavingConditionClauseTerminal<DTO>,DtoOrderByClause<DTO>,DtoOrderByClauseChain<DTO>,DtoSelectSpec>
  • Constructor Details

    • DtoGroupByClauseTerminal

      public DtoGroupByClauseTerminal(DtoSelector<DTO> delegate)
  • Method Details

    • having

      public DtoHavingConditionClause<DTO> having(ExpressionSpec expression)
    • orderBy

      public DtoOrderByClause<DTO> orderBy(String... fields)
      Description copied from interface: HavingClauseTerminal
      Adds an ORDER BY clause to the query, specifying the expressions to sort the results by.
      Parameters:
      fields - 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

      public DtoOrderByClause<DTO> orderBy(ExpressionSpec... fields)
      Description copied from interface: HavingClauseTerminal
      Adds an ORDER BY clause to the query, specifying the fields and expressions to sort the results by.
      Parameters:
      fields - 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.