Uses of Class
org.elasticsearch.common.unit.DistanceUnit

Packages that use DistanceUnit
org.elasticsearch.common.unit   
org.elasticsearch.index.mapper.geo   
org.elasticsearch.index.query   
org.elasticsearch.index.search.geo   
org.elasticsearch.search.facet.geodistance   
org.elasticsearch.search.sort   
 

Uses of DistanceUnit in org.elasticsearch.common.unit
 

Methods in org.elasticsearch.common.unit that return DistanceUnit
static DistanceUnit DistanceUnit.fromString(String unit)
           
static DistanceUnit DistanceUnit.parseUnit(String distance, DistanceUnit defaultUnit)
           
static DistanceUnit DistanceUnit.readDistanceUnit(StreamInput in)
           
static DistanceUnit DistanceUnit.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DistanceUnit[] DistanceUnit.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.elasticsearch.common.unit with parameters of type DistanceUnit
static double DistanceUnit.convert(double distance, DistanceUnit from, DistanceUnit to)
          Converts the given distance from the given DistanceUnit, to the given DistanceUnit
static double DistanceUnit.parse(String distance, DistanceUnit defaultUnit, DistanceUnit to)
           
static DistanceUnit DistanceUnit.parseUnit(String distance, DistanceUnit defaultUnit)
           
static void DistanceUnit.writeDistanceUnit(StreamOutput out, DistanceUnit unit)
           
 

Uses of DistanceUnit in org.elasticsearch.index.mapper.geo
 

Methods in org.elasticsearch.index.mapper.geo with parameters of type DistanceUnit
 double GeoPointFieldData.arcDistance(int docId, DistanceUnit unit, double lat, double lon)
           
 double GeoPointFieldData.distance(int docId, DistanceUnit unit, double lat, double lon)
           
 double GeoPointFieldData.distanceGeohash(int docId, DistanceUnit unit, String geoHash)
           
 double GeoPointFieldData.factorDistance(int docId, DistanceUnit unit, double lat, double lon)
           
 

Uses of DistanceUnit in org.elasticsearch.index.query
 

Methods in org.elasticsearch.index.query with parameters of type DistanceUnit
 GeoDistanceFilterBuilder GeoDistanceFilterBuilder.distance(double distance, DistanceUnit unit)
           
 

Uses of DistanceUnit in org.elasticsearch.index.search.geo
 

Fields in org.elasticsearch.index.search.geo declared as DistanceUnit
protected  DistanceUnit GeoDistanceDataComparator.unit
           
 

Methods in org.elasticsearch.index.search.geo with parameters of type DistanceUnit
abstract  double GeoDistance.calculate(double sourceLatitude, double sourceLongitude, double targetLatitude, double targetLongitude, DistanceUnit unit)
           
static FieldDataType.ExtendedFieldComparatorSource GeoDistanceDataComparator.comparatorSource(String fieldName, double lat, double lon, DistanceUnit unit, GeoDistance geoDistance, FieldDataCache fieldDataCache, MapperService mapperService)
           
static GeoDistance.DistanceBoundingCheck GeoDistance.distanceBoundingCheck(double sourceLatitude, double sourceLongitude, double distance, DistanceUnit unit)
           
abstract  GeoDistance.FixedSourceDistance GeoDistance.fixedSourceDistance(double sourceLatitude, double sourceLongitude, DistanceUnit unit)
           
abstract  double GeoDistance.normalize(double distance, DistanceUnit unit)
           
 

Constructors in org.elasticsearch.index.search.geo with parameters of type DistanceUnit
GeoDistance.ArcFixedSourceDistance(double sourceLatitude, double sourceLongitude, DistanceUnit unit)
           
GeoDistance.FactorFixedSourceDistance(double sourceLatitude, double sourceLongitude, DistanceUnit unit)
           
GeoDistance.PlaneFixedSourceDistance(double sourceLatitude, double sourceLongitude, DistanceUnit unit)
           
GeoDistanceDataComparator(int numHits, String fieldName, double lat, double lon, DistanceUnit unit, GeoDistance geoDistance, FieldDataCache fieldDataCache, MapperService mapperService)
           
 

Uses of DistanceUnit in org.elasticsearch.search.facet.geodistance
 

Fields in org.elasticsearch.search.facet.geodistance declared as DistanceUnit
protected  DistanceUnit GeoDistanceFacetCollector.unit
           
 

Methods in org.elasticsearch.search.facet.geodistance with parameters of type DistanceUnit
 GeoDistanceFacetBuilder GeoDistanceFacetBuilder.unit(DistanceUnit unit)
          The distance unit to use.
 

Constructors in org.elasticsearch.search.facet.geodistance with parameters of type DistanceUnit
GeoDistanceFacetCollector(String facetName, String fieldName, double lat, double lon, DistanceUnit unit, GeoDistance geoDistance, GeoDistanceFacet.Entry[] entries, SearchContext context)
           
ScriptGeoDistanceFacetCollector(String facetName, String fieldName, double lat, double lon, DistanceUnit unit, GeoDistance geoDistance, GeoDistanceFacet.Entry[] entries, SearchContext context, String scriptLang, String script, Map<String,Object> params)
           
ValueGeoDistanceFacetCollector(String facetName, String fieldName, double lat, double lon, DistanceUnit unit, GeoDistance geoDistance, GeoDistanceFacet.Entry[] entries, SearchContext context, String valueFieldName)
           
 

Uses of DistanceUnit in org.elasticsearch.search.sort
 

Methods in org.elasticsearch.search.sort with parameters of type DistanceUnit
 GeoDistanceSortBuilder GeoDistanceSortBuilder.unit(DistanceUnit unit)
          The distance unit to use.
 



Copyright © 2009-2012. All Rights Reserved.