Class SearchSortId
java.lang.Object
com.couchbase.client.java.search.sort.SearchSort
com.couchbase.client.java.search.sort.SearchSortId
public class SearchSortId extends SearchSort
Sort by the document ID.
- Since:
- 2.4.5
- Author:
- Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description SearchSortId() -
Method Summary
Modifier and Type Method Description SearchSortIddesc(boolean descending)protected Stringidentifier()The identifier for the sort type, used in the "by" field.Methods inherited from class com.couchbase.client.java.search.sort.SearchSort
byField, byGeoDistance, byId, byScore, injectParams
-
Constructor Details
-
SearchSortId
public SearchSortId()
-
-
Method Details
-
identifier
Description copied from class:SearchSortThe identifier for the sort type, used in the "by" field.- Specified by:
identifierin classSearchSort
-
desc
- Overrides:
descin classSearchSort
-