Class GeoBoundingBoxQuery
java.lang.Object
com.couchbase.client.java.search.queries.AbstractFtsQuery
com.couchbase.client.java.search.queries.GeoBoundingBoxQuery
@Uncommitted @Public public class GeoBoundingBoxQuery extends AbstractFtsQuery
A FTS query which allows to match geo bounding boxes.
- Since:
- 2.4.5
- Author:
- Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description GeoBoundingBoxQuery(double topLeftLon, double topLeftLat, double bottomRightLon, double bottomRightLat) -
Method Summary
Modifier and Type Method Description GeoBoundingBoxQueryboost(double boost)GeoBoundingBoxQueryfield(String field)protected voidinjectParams(JsonObject input)Override to inject query-specific parameters when doing theSearchQuery.export().Methods inherited from class com.couchbase.client.java.search.queries.AbstractFtsQuery
injectParamsAndBoost, toString
-
Constructor Details
-
GeoBoundingBoxQuery
public GeoBoundingBoxQuery(double topLeftLon, double topLeftLat, double bottomRightLon, double bottomRightLat)
-
-
Method Details
-
field
-
boost
- Overrides:
boostin classAbstractFtsQuery
-
injectParams
Description copied from class:AbstractFtsQueryOverride to inject query-specific parameters when doing theSearchQuery.export().- Specified by:
injectParamsin classAbstractFtsQuery- Parameters:
input- the preparedJsonObjectthat will represent the query.
-