|
Spring Data Document | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Metric | |
---|---|
org.springframework.data.mongodb.core.geo | |
org.springframework.data.mongodb.core.query | MongoDB specific query and update support. |
Uses of Metric in org.springframework.data.mongodb.core.geo |
---|
Classes in org.springframework.data.mongodb.core.geo that implement Metric | |
---|---|
class |
Metrics
Commonly used Metrics for NearQuery s. |
Methods in org.springframework.data.mongodb.core.geo that return Metric | |
---|---|
Metric |
Distance.getMetric()
|
Methods in org.springframework.data.mongodb.core.geo with parameters of type Metric | |
---|---|
Distance |
Distance.add(Distance other,
Metric metric)
Adds the given Distance to the current one and forces the result to be in a given Metric . |
Constructors in org.springframework.data.mongodb.core.geo with parameters of type Metric | |
---|---|
Distance(double value,
Metric metric)
Creates a new Distance with the given Metric . |
|
GeoResults(List<GeoResult<T>> results,
Metric metric)
|
Uses of Metric in org.springframework.data.mongodb.core.query |
---|
Methods in org.springframework.data.mongodb.core.query that return Metric | |
---|---|
Metric |
NearQuery.getMetric()
Returns the Metric underlying the actual query. |
Methods in org.springframework.data.mongodb.core.query with parameters of type Metric | |
---|---|
NearQuery |
NearQuery.distanceMultiplier(Metric metric)
Configures the distance multiplier to the multiplier of the given Metric . |
NearQuery |
NearQuery.maxDistance(double maxDistance,
Metric metric)
Sets the maximum distance supplied in a given metric. |
static NearQuery |
NearQuery.near(double x,
double y,
Metric metric)
Creates a new NearQuery starting at the given coordinates using the given Metric to adapt given
values to further configuration. |
static NearQuery |
NearQuery.near(Point point,
Metric metric)
Creates a NearQuery starting near the given Point using the given Metric to adapt given
values to further configuration. |
|
Spring Data Document | |||||||||
PREV NEXT | FRAMES NO FRAMES |