@Stability.Internal public class CoreSearchSortGeoDistance extends CoreSearchSort
descending| Constructor and Description |
|---|
CoreSearchSortGeoDistance(CoreGeoPoint location,
String field,
CoreSearchGeoDistanceUnits unit,
boolean descending) |
| Modifier and Type | Method and Description |
|---|---|
com.couchbase.client.protostellar.search.v1.Sorting |
asProtostellar() |
protected String |
identifier() |
protected void |
injectParams(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode queryJson) |
toJsonNodepublic CoreSearchSortGeoDistance(CoreGeoPoint location, String field, @Nullable CoreSearchGeoDistanceUnits unit, boolean descending)
protected String identifier()
identifier in class CoreSearchSortprotected void injectParams(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode queryJson)
injectParams in class CoreSearchSortpublic com.couchbase.client.protostellar.search.v1.Sorting asProtostellar()
asProtostellar in class CoreSearchSortCopyright © 2024 Couchbase, Inc.. All rights reserved.