Spring Data Core

Uses of Interface
org.springframework.data.geo.Metric

Packages that use Metric
org.springframework.data.geo Value types representing geo-spatial concepts. 
 

Uses of Metric in org.springframework.data.geo
 

Classes in org.springframework.data.geo that implement Metric
 class CustomMetric
          Value object to create custom Metrics on the fly.
 class Metrics
          Commonly used Metrics.
 

Methods in org.springframework.data.geo that return Metric
 Metric Distance.getMetric()
          Retruns the Metric of the Distance.
 

Methods in org.springframework.data.geo with parameters of type Metric
 Distance Distance.add(Distance other, Metric metric)
          Adds the given Distance to the current one and forces the result to be in a given Metric.
 Distance Distance.in(Metric metric)
          Returns a new Distance in the given Metric.
 

Constructors in org.springframework.data.geo with parameters of type Metric
Distance(double value, Metric metric)
          Creates a new Distance with the given 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 GeoResults.
 


Spring Data Core

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.