Interface Sortable<T>

All Known Subinterfaces:
ConstraintNode<R>, NodeQuery
All Known Implementing Classes:
ConstraintNodeImpl, NodeQueryImpl

public interface Sortable<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the direction of the first sort condition that matches this query node's variable
    sort(int sortDirection)
    Updates or adds the first sort condition of this query node's variable in the list of sort conditions
    default T
     
    default T
     
    default T
     
    default T
     
  • Method Details

    • sort

      T sort(int sortDirection)
      Updates or adds the first sort condition of this query node's variable in the list of sort conditions
    • getSortDirection

      int getSortDirection()
      Returns the direction of the first sort condition that matches this query node's variable
    • sortAsc

      default T sortAsc()
    • sortNone

      default T sortNone()
    • sortDefault

      default T sortDefault()
    • sortDesc

      default T sortDesc()