Package | Description |
---|---|
org.springframework.data.geo |
Value types representing geo-spatial concepts.
|
Modifier and Type | Method and Description |
---|---|
Distance |
Distance.add(Distance other)
Adds the given distance to the current one.
|
Distance |
Distance.add(Distance other,
Metric metric)
|
Distance |
GeoResults.getAverageDistance()
Returns the average distance of all
GeoResult s in this list. |
Distance |
GeoPage.getAverageDistance()
Returns the average distance of the underlying results.
|
Distance |
GeoResult.getDistance()
Returns the distance the actual content object has from the origin.
|
Distance |
Circle.getRadius()
Returns the radius of the
Circle . |
Distance |
Distance.in(Metric metric)
|
Modifier and Type | Method and Description |
---|---|
Distance |
Distance.add(Distance other)
Adds the given distance to the current one.
|
Distance |
Distance.add(Distance other,
Metric metric)
|
Constructor and Description |
---|
Circle(Point center,
Distance radius)
|
GeoResult(T content,
Distance distance)
Creates a new
GeoResult for the given content and distance. |
GeoResults(List<? extends GeoResult<T>> results,
Distance averageDistance)
Creates a new
GeoResults instance from the given GeoResult s and average distance. |
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.