Class SearchSortGeoDistance
java.lang.Object
com.couchbase.client.java.search.sort.SearchSort
com.couchbase.client.java.search.sort.SearchSortGeoDistance
Sort by a location and unit in the rows.
- Since:
- 2.4.5
- Author:
- Michael Nitschinger
-
Method Summary
Modifier and TypeMethodDescriptiondesc(boolean descending) protected StringThe identifier for the sort type, used in the "by" field.voidinjectParams(JsonObject queryJson) unit(SearchGeoDistanceUnits unit) Methods inherited from class com.couchbase.client.java.search.sort.SearchSort
byField, byGeoDistance, byId, byScore
-
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
-
unit
-
injectParams
- Overrides:
injectParamsin classSearchSort
-