Class SearchSortGeoDistance
- java.lang.Object
-
- com.couchbase.client.java.search.sort.SearchSort
-
- com.couchbase.client.java.search.sort.SearchSortGeoDistance
-
public class SearchSortGeoDistance extends SearchSort
Sort by a location and unit in the rows.- Since:
- 2.4.5
- Author:
- Michael Nitschinger
-
-
Field Summary
-
Fields inherited from class com.couchbase.client.java.search.sort.SearchSort
descending
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchSortGeoDistance
desc(boolean descending)
com.couchbase.client.core.api.search.sort.CoreSearchSort
toCore()
SearchSortGeoDistance
unit(SearchGeoDistanceUnits unit)
-
Methods inherited from class com.couchbase.client.java.search.sort.SearchSort
byField, byGeoDistance, byId, byScore
-
-
-
-
Method Detail
-
desc
public SearchSortGeoDistance desc(boolean descending)
- Overrides:
desc
in classSearchSort
-
unit
public SearchSortGeoDistance unit(SearchGeoDistanceUnits unit)
-
toCore
public com.couchbase.client.core.api.search.sort.CoreSearchSort toCore()
- Specified by:
toCore
in classSearchSort
-
-