public class SearchSortField extends SearchSort
| Modifier and Type | Method and Description |
|---|---|
SearchSortField |
desc(boolean descending) |
protected String |
identifier()
The identifier for the sort type, used in the "by" field.
|
void |
injectParams(JsonObject queryJson) |
SearchSortField |
missing(SearchFieldMissing missing) |
SearchSortField |
mode(SearchFieldMode mode) |
SearchSortField |
type(SearchFieldType type) |
byField, byGeoDistance, byId, byScorepublic SearchSortField desc(boolean descending)
desc in class SearchSortpublic SearchSortField type(SearchFieldType type)
public SearchSortField mode(SearchFieldMode mode)
public SearchSortField missing(SearchFieldMissing missing)
protected String identifier()
SearchSortidentifier in class SearchSortpublic void injectParams(JsonObject queryJson)
injectParams in class SearchSortCopyright © 2020 Couchbase, Inc.. All rights reserved.