Class GeoDistanceQuery
This query finds all matches from a given location (point) within the given distance.
Both the point and the distance are required.
Inheritance
GeoDistanceQuery
Assembly: Couchbase.NetClient.dll
Syntax
public class GeoDistanceQuery : SearchQueryBase, ISearchQuery
Methods
|
Edit this page
View Source
AsReadOnly()
Declaration
public GeoDistanceQuery.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
Deconstruct(out double?, out double?, out string, out string)
Declaration
public void Deconstruct(out double? longitude, out double? latitude, out string distance, out string field)
Parameters
|
Edit this page
View Source
Distance(string)
Declaration
public GeoDistanceQuery Distance(string distance)
Parameters
Type |
Name |
Description |
string |
distance |
|
Returns
|
Edit this page
View Source
Export()
Gets a JSON object representing this query instance />
Declaration
public override JObject Export()
Returns
Overrides
|
Edit this page
View Source
Field(string)
Declaration
public GeoDistanceQuery Field(string field)
Parameters
Type |
Name |
Description |
string |
field |
|
Returns
|
Edit this page
View Source
Latitude(double)
Declaration
public GeoDistanceQuery Latitude(double latitude)
Parameters
Type |
Name |
Description |
double |
latitude |
|
Returns
|
Edit this page
View Source
Longitude(double)
Declaration
public GeoDistanceQuery Longitude(double longitude)
Parameters
Type |
Name |
Description |
double |
longitude |
|
Returns
Implements