| Package | Description |
|---|---|
| org.springframework.data.mongodb.core.geo | |
| org.springframework.data.mongodb.core.query |
MongoDB specific query and update support.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CustomMetric
Value object to create custom
Metrics on the fly. |
class |
Metrics
|
| Modifier and Type | Method and Description |
|---|---|
Metric |
Distance.getMetric() |
| Modifier and Type | Method and Description |
|---|---|
Distance |
Distance.add(Distance other,
Metric metric)
|
| Constructor and Description |
|---|
Distance(double value,
Metric metric)
|
GeoResults(List<GeoResult<T>> results,
Metric metric) |
| Modifier and Type | Method and Description |
|---|---|
Metric |
NearQuery.getMetric()
Returns the
Metric underlying the actual query. |
| Modifier and Type | Method and Description |
|---|---|
NearQuery |
NearQuery.distanceMultiplier(Metric metric)
Deprecated.
use
NearQuery.in(Metric) instead. |
NearQuery |
NearQuery.in(Metric metric)
Will cause the results' distances being returned in 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)
|
static NearQuery |
NearQuery.near(Point point,
Metric metric)
|
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.