static GeoNear.GeoNearBuilder |
GeoNear.builder(java.lang.String distanceField) |
Creates a builder for a GeoNear pipeline stage
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setDistanceMultiplier(java.lang.Double distanceMultiplier) |
The factor to multiply all distances returned by the query.
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setIncludeLocations(java.lang.String includeLocations) |
This specifies the output field that identifies the location used to calculate the distance.
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setLimit(java.lang.Long limit) |
The maximum number of documents to return.
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setMaxDistance(java.lang.Double maxDistance) |
A distance from the center point.
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setMaxDocuments(java.lang.Long num) |
The maxDocuments option provides the same function as the limit option.
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setNear(double latitude,
double longitude) |
Sets the point for which to find the closest documents.
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setNear(Point point) |
Sets the point for which to find the closest documents.
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setQuery(Query query) |
Limits the results to the documents that match the query.
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setSpherical(java.lang.Boolean spherical) |
If true, MongoDB references points using a spherical surface.
|
GeoNear.GeoNearBuilder |
GeoNear.GeoNearBuilder.setUniqueDocuments(java.lang.Boolean uniqueDocuments) |
Deprecated.
|