Uses of Class
dev.morphia.query.filters.NearFilter
-
Packages that use NearFilter Package Description dev.morphia.query.filters -
-
Uses of NearFilter in dev.morphia.query.filters
Methods in dev.morphia.query.filters that return NearFilter Modifier and Type Method Description NearFilterNearFilter. crs(com.mongodb.client.model.geojson.CoordinateReferenceSystem crs)Sets the coordinate reference system to useNearFilterNearFilter. maxDistance(Double maxDistance)Sets the max distance to considerNearFilterNearFilter. minDistance(Double minDistance)Sets the min distance to considerstatic NearFilterFilters. near(String field, com.mongodb.client.model.geojson.Point point)Specifies a point for which a geospatial query returns the documents from nearest to farthest.static NearFilterFilters. nearSphere(String field, com.mongodb.client.model.geojson.Point point)Returns geospatial objects in proximity to a point on a sphere.
-