Spring Data Solr

org.springframework.data.solr.core.geo
Class Distance

java.lang.Object
  extended by org.springframework.data.geo.Distance
      extended by org.springframework.data.solr.core.geo.Distance
All Implemented Interfaces:
Serializable

Deprecated. Will be removed in 1.3. Use Distance instead.

public class Distance
extends org.springframework.data.geo.Distance

Distance implementation to be used for spatial queries taking solr's usage of metric system into account.

Author:
Christoph Strobl
See Also:
Serialized Form

Nested Class Summary
static class Distance.Unit
          Deprecated.  
 
Constructor Summary
Distance(double value)
          Deprecated.  
Distance(double value, Distance.Unit unit)
          Deprecated.  
Distance(double value, org.springframework.data.geo.Metric metric)
          Deprecated.  
 
Method Summary
 
Methods inherited from class org.springframework.data.geo.Distance
add, add, equals, getMetric, getNormalizedValue, getValue, hashCode, in, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Distance

public Distance(double value)
Deprecated. 

Distance

public Distance(double value,
                org.springframework.data.geo.Metric metric)
Deprecated. 

Distance

public Distance(double value,
                Distance.Unit unit)
Deprecated. 

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.