| Package | Description |
|---|---|
| com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
| Modifier and Type | Method and Description |
|---|---|
static Bson |
Filters.near(String fieldName,
Point geometry,
Double maxDistance,
Double minDistance)
Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point.
|
static Bson |
Filters.nearSphere(String fieldName,
Point geometry,
Double maxDistance,
Double minDistance)
Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point using
spherical geometry.
|
Copyright © 2017. All Rights Reserved.