@InterfaceStability.Experimental @InterfaceAudience.Public public class GeoPolygonQuery extends AbstractFtsQuery
Constructor and Description |
---|
GeoPolygonQuery(List<Coordinate> coordinates) |
Modifier and Type | Method and Description |
---|---|
GeoPolygonQuery |
boost(double boost) |
GeoPolygonQuery |
field(String field) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export() . |
injectParamsAndBoost, toString
public GeoPolygonQuery(List<Coordinate> coordinates)
public GeoPolygonQuery field(String field)
public GeoPolygonQuery boost(double boost)
boost
in class AbstractFtsQuery
protected void injectParams(JsonObject input)
AbstractFtsQuery
SearchQuery.export()
.injectParams
in class AbstractFtsQuery
input
- the prepared JsonObject
that will represent the query.Copyright © 2015 Couchbase, Inc.