Class DtoOrderByClauseChain<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.dto.DtoOrderByClauseChain<DTO>
All Implemented Interfaces:
org.litebridgedb.orm.api.select.LimitClauseTerminal<DTO>, org.litebridgedb.orm.api.select.OrderByClauseChain<DTO,DtoOrderByClause<DTO>,DtoOrderByClauseChain<DTO>>, org.litebridgedb.orm.api.select.OrderByClauseTerminal<DTO>, org.litebridgedb.orm.api.select.SelectTerminal<DTO>

public final class DtoOrderByClauseChain<DTO> extends org.litebridgedb.orm.api.select.impl.OrderByClauseTerminalImpl<DTO,DtoSelectSpec> implements org.litebridgedb.orm.api.select.OrderByClauseChain<DTO,DtoOrderByClause<DTO>,DtoOrderByClauseChain<DTO>>
  • Field Summary

    Fields inherited from class org.litebridgedb.orm.api.select.impl.LimitClauseTerminalImpl

    selectSpec

    Fields inherited from class org.litebridgedb.orm.api.select.impl.DelegatingSelector

    delegate
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    then(String... fields)
    Adds another ordering expression which again requires an explicit direction.

    Methods inherited from class org.litebridgedb.orm.api.select.impl.OrderByClauseTerminalImpl

    limit

    Methods inherited from class org.litebridgedb.orm.api.select.impl.LimitClauseTerminalImpl

    offset, selectSpec

    Methods inherited from class org.litebridgedb.orm.api.select.impl.DelegatingSelector

    first, firstOrNull, firstOrThrow, firstOrThrow, list, one, oneOrNull, oneOrThrow, oneOrThrow, stream, toSql

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.litebridgedb.orm.api.select.LimitClauseTerminal

    offset

    Methods inherited from interface org.litebridgedb.orm.api.select.OrderByClauseTerminal

    limit

    Methods inherited from interface org.litebridgedb.orm.api.select.SelectTerminal

    first, firstOrNull, firstOrThrow, firstOrThrow, list, one, oneOrNull, oneOrThrow, oneOrThrow, stream, toSql
  • Constructor Details

    • DtoOrderByClauseChain

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

    • then

      public DtoOrderByClause<DTO> then(String... fields)
      Description copied from interface: org.litebridgedb.orm.api.select.OrderByClauseChain
      Adds another ordering expression which again requires an explicit direction. Each call to this method appends another ordering expression.
      Specified by:
      then in interface org.litebridgedb.orm.api.select.OrderByClauseChain<DTO,DtoOrderByClause<DTO>,DtoOrderByClauseChain<DTO>>
      Parameters:
      fields - Table column(s) or DTO field(s) to order by
      Returns:
      a selector chain with ordering applied