java.lang.Object
org.litebridge.orm.api.dto.DtoOrderByClause<DTO>
- Type Parameters:
DTO- the type of the DTO being queried
- All Implemented Interfaces:
OrderByClause<DTO,DtoOrderByClause<DTO>, DtoOrderByClauseChain<DTO>>
public final class DtoOrderByClause<DTO>
extends Object
implements OrderByClause<DTO,DtoOrderByClause<DTO>,DtoOrderByClauseChain<DTO>>
Represents an ORDER BY clause in a DTO-based query.
-
Constructor Summary
ConstructorsConstructorDescriptionDtoOrderByClause(OrderBySpec orderBySpec, DtoSelector<DTO> delegate) Creates a new instance ofDtoOrderByClause. -
Method Summary
-
Constructor Details
-
DtoOrderByClause
Creates a new instance ofDtoOrderByClause.- Parameters:
orderBySpec- the order by specificationdelegate- the selector delegate
-
-
Method Details
-
asc
Description copied from interface:OrderByClauseSpecifies an ascending order for the current ordering clause in a query.- Specified by:
ascin interfaceOrderByClause<DTO,DtoOrderByClause<DTO>, DtoOrderByClauseChain<DTO>> - Returns:
- an
OrderByClauseTerminalinstance with ascending order applied
-
desc
Description copied from interface:OrderByClauseSpecifies a descending order for the current ordering clause in a query.- Specified by:
descin interfaceOrderByClause<DTO,DtoOrderByClause<DTO>, DtoOrderByClauseChain<DTO>> - Returns:
- an
OrderByClauseTerminalinstance with descending order applied
-