Package com.couchbase.lite
Class Ordering.SortOrder
java.lang.Object
com.couchbase.lite.Ordering
com.couchbase.lite.Ordering.SortOrder
- Enclosing class:
- Ordering
SortOrder represents a single ORDER BY entity. You can specify either ascending or
descending order. The default order is ascending.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.lite.Ordering
Ordering.SortOrder
-
Method Summary
Modifier and TypeMethodDescriptionSet the order as ascending order.Set the order as descending order.Methods inherited from class com.couchbase.lite.Ordering
expression, property
-
Method Details
-
ascending
Set the order as ascending order.- Returns:
- the OrderBy object.
-
descending
Set the order as descending order.- Returns:
- the OrderBy object.
-