org.elasticsearch.search.facet.geodistance
Class GeoDistanceFacet.Entry

java.lang.Object
  extended by org.elasticsearch.search.facet.geodistance.GeoDistanceFacet.Entry
Enclosing interface:
GeoDistanceFacet

public static class GeoDistanceFacet.Entry
extends java.lang.Object


Constructor Summary
GeoDistanceFacet.Entry(double from, double to, long count, double total)
           
 
Method Summary
 long count()
           
 double from()
           
 long getCount()
           
 double getFrom()
           
 double getMean()
          The mean of this facet interval.
 double getTo()
           
 double getTotal()
           
 double mean()
          The mean of this facet interval.
 double to()
           
 double total()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoDistanceFacet.Entry

public GeoDistanceFacet.Entry(double from,
                              double to,
                              long count,
                              double total)
Method Detail

from

public double from()

getFrom

public double getFrom()

to

public double to()

getTo

public double getTo()

count

public long count()

getCount

public long getCount()

total

public double total()

getTotal

public double getTotal()

mean

public double mean()
The mean of this facet interval.


getMean

public double getMean()
The mean of this facet interval.