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, byScore
public SearchSortField desc(boolean descending)
desc
in class SearchSort
public SearchSortField type(SearchFieldType type)
public SearchSortField mode(SearchFieldMode mode)
public SearchSortField missing(SearchFieldMissing missing)
protected String identifier()
SearchSort
identifier
in class SearchSort
public void injectParams(JsonObject queryJson)
injectParams
in class SearchSort
Copyright © 2021 Couchbase, Inc.. All rights reserved.