|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.geo.GeoResults<T>
org.springframework.data.mongodb.core.geo.GeoResults<T>
GeoResults. This class is scheduled
to be removed in the next major release.
@Deprecated public class GeoResults<T>
Value object to capture GeoResults as well as the average distance they have.
| Constructor Summary | |
|---|---|
GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results)
Deprecated. Creates a new GeoResults instance manually calculating the average distance from the distance values of the
given GeoResults. |
|
GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results,
org.springframework.data.geo.Distance averageDistance)
Deprecated. Creates a new GeoResults instance from the given GeoResults and average distance. |
|
GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results,
org.springframework.data.geo.Metric metric)
Deprecated. |
|
| Method Summary |
|---|
| Methods inherited from class org.springframework.data.geo.GeoResults |
|---|
equals, getAverageDistance, getContent, hashCode, iterator, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results)
GeoResults instance manually calculating the average distance from the distance values of the
given GeoResults.
results - must not be null.
public GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results,
org.springframework.data.geo.Metric metric)
public GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results,
org.springframework.data.geo.Distance averageDistance)
GeoResults instance from the given GeoResults and average distance.
results - must not be null.averageDistance -
|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||