Class GeoBoundingBoxQuery
This query finds all matches within a given box (identified by the upper left and lower right corner coordinates).
Both coordinate points are required so the server can identify the right bounding box.
Inheritance
GeoBoundingBoxQuery
Assembly: Couchbase.NetClient.dll
Syntax
public class GeoBoundingBoxQuery : SearchQueryBase, ISearchQuery
Constructors
View Source
GeoBoundingBoxQuery()
Declaration
public GeoBoundingBoxQuery()
Methods
View Source
AsReadOnly()
Declaration
public GeoBoundingBoxQuery.ReadOnly AsReadOnly()
Returns
View Source
BottomRight(double, double)
Declaration
public GeoBoundingBoxQuery BottomRight(double longitude, double latitude)
Parameters
Returns
View Source
Deconstruct(out double?, out double?, out double?, out double?, out string)
Declaration
public void Deconstruct(out double? topLeftLongitude, out double? topLeftLatitude, out double? bottomRightLongitude, out double? bottomRightLatitude, out string field)
Parameters
View Source
Export()
Gets a JSON object representing this query instance />
Declaration
[RequiresUnreferencedCode("Couchbase FTS might require types that cannot be statically analyzed. Make sure all required types are preserved.")]
[RequiresDynamicCode("Couchbase FTS might require types that cannot be statically analyzed and might need runtime code generation. Do not use for native AOT applications.")]
public override JObject Export()
Returns
Overrides
View Source
Field(string)
Declaration
public GeoBoundingBoxQuery Field(string field)
Parameters
| Type |
Name |
Description |
| string |
field |
|
Returns
View Source
TopLeft(double, double)
Declaration
public GeoBoundingBoxQuery TopLeft(double longitude, double latitude)
Parameters
Returns
Implements