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