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>
-
Field Summary
Fields inherited from class org.litebridgedb.orm.api.select.impl.LimitClauseTerminalImpl
selectSpecFields inherited from class org.litebridgedb.orm.api.select.impl.DelegatingSelector
delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhaving(ExpressionSpec expression) Adds an ORDER BY clause to the query, specifying the expressions to sort the results by.orderBy(ExpressionSpec... fields) Adds an ORDER BY clause to the query, specifying the fields and expressions to sort the results by.Methods inherited from class org.litebridgedb.orm.api.select.impl.OrderByClauseTerminalImpl
limitMethods inherited from class org.litebridgedb.orm.api.select.impl.LimitClauseTerminalImpl
offset, selectSpecMethods inherited from class org.litebridgedb.orm.api.select.impl.DelegatingSelector
first, firstOrNull, firstOrThrow, firstOrThrow, list, one, oneOrNull, oneOrThrow, oneOrThrow, stream, toSqlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, toSql
-
Constructor Details
-
DtoGroupByClauseTerminal
-
-
Method Details
-
having
-
orderBy
Description copied from interface:HavingClauseTerminalAdds 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
Description copied from interface:HavingClauseTerminalAdds 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.
-