Package | Description |
---|---|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
com.mongodb.client.model.geojson.codecs |
This package contains classes that encode and decode GeoJSON objects.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Point |
PointCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
Class<Point> |
PointCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
PointCodec.encode(BsonWriter writer,
Point value,
EncoderContext encoderContext) |
Copyright © 2016. All Rights Reserved.