Package | Description |
---|---|
org.springframework.data.geo |
Value types representing geo-spatial concepts.
|
Modifier and Type | Class and Description |
---|---|
class |
CustomMetric
Value object to create custom
Metric s on the fly. |
class |
Metrics
Commonly used
Metric s. |
Modifier and Type | Method and Description |
---|---|
Metric |
Distance.getMetric()
|
Modifier and Type | Method and Description |
---|---|
Distance |
Distance.add(Distance other,
Metric metric)
|
static Range<Distance> |
Distance.between(double minValue,
Metric minMetric,
double maxValue,
Metric maxMetric)
|
Distance |
Distance.in(Metric metric)
|
Constructor and Description |
---|
Distance(double value,
Metric metric)
|
GeoResults(List<? extends GeoResult<T>> results,
Metric metric)
Creates a new
GeoResults instance manually calculating the average distance in the given Metric
from the distance values of the given GeoResult s. |
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.