Interface OrderBy

All Superinterfaces:
Serializable
All Known Implementing Classes:
OrderByImpl

@PublicApi public interface OrderBy extends Serializable
Represents the ordering portion of the a search query. The results can be sorted by fields in either a ascending or descending order. The actual sort is made up of a list of (field, order) pair(s). Each of the pair is represented by a SearchSort object.
  • Method Details

    • getSearchSorts

      @Nonnull List<SearchSort> getSearchSorts()
      Returns:
      a list of SearchSort objects that represent the specified sorting requested for this OrderBy clause. Cannot be null.