Interface SortOrderStep<S>

Type Parameters:
S - The "self" type (the actual exposed type of this step)
All Known Subinterfaces:
DistanceSortOptionsStep<S,PDF>, FieldSortOptionsStep<S,PDF>, ScoreSortOptionsStep<S>

public interface SortOrderStep<S>
The step in a sort definition where the order can be set.
Author:
Emmanuel Bernard emmanuel@hibernate.org
  • Method Summary

    Modifier and Type
    Method
    Description
    default S
    asc()
    Sort in ascending order.
    default S
    Sort in descending order.
    Sort in the given order.
  • Method Details

    • asc

      default S asc()
      Sort in ascending order.
      Returns:
      this, for method chaining.
    • desc

      default S desc()
      Sort in descending order.
      Returns:
      this, for method chaining.
    • order

      S order(SortOrder order)
      Sort in the given order.
      Parameters:
      order - The order.
      Returns:
      this, for method chaining.