Package | Description |
---|---|
org.springframework.data.geo |
Value types representing geo-spatial concepts.
|
org.springframework.data.geo.format |
Formatters for geo-spatial types.
|
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()
The average distance of the underlying results.
|
@NonNull Distance |
GeoResult.getDistance() |
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 that) |
Constructor and Description |
---|
Circle(Point center,
Distance radius)
|
GeoResult(T content,
@NonNull Distance 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–2019 Pivotal Software, Inc.. All rights reserved.