Class GeoPolygonQuery
Performs a random bounding polygon query to select documents within that polygon area.
Inheritance
GeoPolygonQuery
Assembly: Couchbase.NetClient.dll
Syntax
public class GeoPolygonQuery : SearchQueryBase, ISearchQuery
Constructors
|
Edit this page
View Source
GeoPolygonQuery(List<Coordinate>)
Creates a GeoPolygonQuery given a list of Coordinate.
Declaration
public GeoPolygonQuery(List<Coordinate> coordinates)
Parameters
Methods
|
Edit this page
View Source
AsReadOnly()
Declaration
public GeoPolygonQuery.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
Deconstruct(out IReadOnlyList<Coordinate>, out string)
Declaration
public void Deconstruct(out IReadOnlyList<Coordinate> coordinates, out string field)
Parameters
|
Edit this page
View Source
Export()
Exports the GeoPolygonQuery as a JSON object.
Declaration
public override JObject Export()
Returns
Overrides
|
Edit this page
View Source
Field(string)
The optional field to search.
Declaration
public GeoPolygonQuery Field(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
Implements