com.holonplatform.core.query

## Interface QuerySort.QuerySortSupport<C extends QuerySort.QuerySortSupport<C>>

- Type Parameters:
    `C` - Concrete type
  All Known Subinterfaces:
    AsyncQuery, BeanQuery<T>, BeanQueryBuilder<Q>, LockQuery, Query, QueryBuilder<Q>, SubQuery<T>
  Enclosing interface:
    QuerySort

      public static interface QuerySort.QuerySortSupport<C extends QuerySort.QuerySortSupport<C>>

  Interface implemented by classes which support `QuerySort`s addition.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default C` | `sort(QuerySort... sorts)` Add a list of sorts.
    `C` | `sort(QuerySort sort)` Add a sort clause.
    `default C` | `sort(Supplier<QuerySort> sortSupplier)` Add a sort clause using a `Supplier`.

- - ### Method Detail

    - #### sort

          C sort(QuerySort sort)

      Add a sort clause.
      Parameters:
        `sort` - Sort clause to add. If `null`, the sort clause is ignored.
      Returns:
        the `QuerySort.QuerySortSupport` which contains the added sort clause (usually the same instance)

    - #### sort

          default C sort(QuerySort... sorts)

      Add a list of sorts. The sort clauses will be added in the order they are provided.
      Parameters:
        `sorts` - Sort clauses to add
      Returns:
        the `QuerySort.QuerySortSupport` which contains the added sort clause (usually the same instance)
      Since:
        5.1.2

    - #### sort

          default C sort(Supplier<QuerySort> sortSupplier)

      Add a sort clause using a `Supplier`.
      Parameters:
        `sortSupplier` - The `QuerySort` clause `Supplier` (not null)
      Returns:
        the `QuerySort.QuerySortSupport` which contains the added sort clause (usually the same instance)
      Since:
        5.1.2

Copyright © 2019 The Holon Platform. All rights reserved.