Package com.couchbase.lite
Class Ordering
java.lang.Object
com.couchbase.lite.Ordering
- Direct Known Subclasses:
Ordering.SortOrder
An Ordering represents a single ordering component in the query ORDER BY clause.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
SortOrder represents a single ORDER BY entity. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Ordering.SortOrder
expression
(Expression expression) Create a SortOrder, inherited from the OrderBy class, object by the given expression.static Ordering.SortOrder
Create a SortOrder, inherited from the OrderBy class, object by the given property name.
-
Constructor Details
-
Ordering
public Ordering()
-
-
Method Details
-
property
Create a SortOrder, inherited from the OrderBy class, object by the given property name.- Parameters:
property
- the property name- Returns:
- the SortOrder object.
-
expression
Create a SortOrder, inherited from the OrderBy class, object by the given expression.- Parameters:
expression
- the expression object.- Returns:
- the SortOrder object.
-