Class SearchSortField
java.lang.Object
com.couchbase.client.java.search.sort.SearchSort
com.couchbase.client.java.search.sort.SearchSortField
public class SearchSortField extends SearchSort
Sort by a field in the rows.
- Since:
- 2.4.5
- Author:
- Michael Nitschinger
-
Method Summary
Modifier and Type Method Description SearchSortFielddesc(boolean descending)protected Stringidentifier()The identifier for the sort type, used in the "by" field.voidinjectParams(JsonObject queryJson)SearchSortFieldmissing(SearchFieldMissing missing)SearchSortFieldmode(SearchFieldMode mode)SearchSortFieldtype(SearchFieldType type)Methods inherited from class com.couchbase.client.java.search.sort.SearchSort
byField, byGeoDistance, byId, byScore
-
Method Details
-
desc
- Overrides:
descin classSearchSort
-
type
-
mode
-
missing
-
identifier
Description copied from class:SearchSortThe identifier for the sort type, used in the "by" field.- Specified by:
identifierin classSearchSort
-
injectParams
- Overrides:
injectParamsin classSearchSort
-