|
Spring Data MongoDB | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Distance | |
|---|---|
| org.springframework.data.mongodb.core.geo | |
| org.springframework.data.mongodb.core.query | MongoDB specific query and update support. |
| org.springframework.data.mongodb.repository.query | |
| Uses of Distance in org.springframework.data.mongodb.core.geo |
|---|
| Methods in org.springframework.data.mongodb.core.geo that return Distance | |
|---|---|
Distance |
Distance.add(Distance other)
Adds the given distance to the current one. |
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. |
Distance |
GeoPage.getAverageDistance()
Returns the average distance of the underlying results. |
Distance |
GeoResults.getAverageDistance()
Returns the average distance of all GeoResults in this list. |
Distance |
GeoResult.getDistance()
Returns the distance the actual content object has from the origin. |
| Methods in org.springframework.data.mongodb.core.geo with parameters of type Distance | |
|---|---|
Distance |
Distance.add(Distance other)
Adds the given distance to the current one. |
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 Distance | |
|---|---|
GeoResult(T content,
Distance distance)
Creates a new GeoResult for the given content and distance. |
|
GeoResults(List<GeoResult<T>> results,
Distance averageDistance)
Creates a new GeoResults instance from the given GeoResults and average distance. |
|
| Uses of Distance in org.springframework.data.mongodb.core.query |
|---|
| Methods in org.springframework.data.mongodb.core.query that return Distance | |
|---|---|
Distance |
NearQuery.getMaxDistance()
Returns the maximum Distance. |
| Methods in org.springframework.data.mongodb.core.query with parameters of type Distance | |
|---|---|
NearQuery |
NearQuery.maxDistance(Distance distance)
Sets the maximum distance to the given Distance. |
| Uses of Distance in org.springframework.data.mongodb.repository.query |
|---|
| Methods in org.springframework.data.mongodb.repository.query that return Distance | |
|---|---|
Distance |
ConvertingParameterAccessor.getMaxDistance()
|
Distance |
MongoParameterAccessor.getMaxDistance()
Returns a Distance to be applied to Mongo geo queries. |
Distance |
MongoParametersParameterAccessor.getMaxDistance()
|
|
Spring Data MongoDB | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||