Class Ordering.SortOrder

java.lang.Object
com.couchbase.lite.Ordering
com.couchbase.lite.Ordering.SortOrder
Enclosing class:
Ordering

public static class Ordering.SortOrder extends Ordering
SortOrder represents a single ORDER BY entity. You can specify either ascending or descending order. The default order is ascending.
  • Method Details

    • ascending

      @NonNull public Ordering ascending()
      Set the order as ascending order.
      Returns:
      the OrderBy object.
    • descending

      @NonNull public Ordering descending()
      Set the order as descending order.
      Returns:
      the OrderBy object.