Package | Description |
---|---|
org.springframework.data.geo |
Value types representing geo-spatial concepts.
|
org.springframework.data.geo.format |
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 |
---|---|
static Range<Distance> |
Distance.between(Distance min,
Distance max)
|
static Range<Distance> |
Distance.between(double minValue,
Metric minMetric,
double maxValue,
Metric maxMetric)
|
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)
|
static Range<Distance> |
Distance.between(Distance min,
Distance max)
|
int |
Distance.compareTo(Distance o) |
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. |
Modifier and Type | Method and Description |
---|---|
Distance |
DistanceFormatter.convert(String source) |
Distance |
DistanceFormatter.parse(String text,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
String |
DistanceFormatter.print(Distance distance,
Locale locale) |
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.