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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchSortId
descending(boolean descending)
protected String
identifier()
The identifier for the sort type, used in the "by" field.-
Methods inherited from class com.couchbase.client.java.search.sort.SearchSort
injectParams, sortField, sortGeoDistance, sortId, sortScore
-
-
-
-
Method Detail
-
identifier
protected String identifier()
Description copied from class:SearchSort
The identifier for the sort type, used in the "by" field.- Specified by:
identifier
in classSearchSort
-
descending
public SearchSortId descending(boolean descending)
- Overrides:
descending
in classSearchSort
-
-