Package com.couchbase.lite
Class Ordering
- java.lang.Object
-
- com.couchbase.lite.Ordering
-
- Direct Known Subclasses:
Ordering.SortOrder
public abstract class Ordering extends java.lang.ObjectAn Ordering represents a single ordering component in the query ORDER BY clause.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrdering.SortOrderSortOrder represents a single ORDER BY entity.
-
Constructor Summary
Constructors Constructor Description Ordering()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ordering.SortOrderexpression(Expression expression)Create a SortOrder, inherited from the OrderBy class, object by the given expression.static Ordering.SortOrderproperty(java.lang.String property)Create a SortOrder, inherited from the OrderBy class, object by the given property name.
-
-
-
Method Detail
-
property
@NonNull public static Ordering.SortOrder property(@NonNull java.lang.String 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
@NonNull public static Ordering.SortOrder expression(@NonNull Expression expression)
Create a SortOrder, inherited from the OrderBy class, object by the given expression.- Parameters:
expression- the expression object.- Returns:
- the SortOrder object.
-
-