org.elasticsearch.search.facet.datehistogram
Class InternalFullDateHistogramFacet.FullEntry

java.lang.Object
  extended by org.elasticsearch.search.facet.datehistogram.InternalFullDateHistogramFacet.FullEntry
All Implemented Interfaces:
DateHistogramFacet.Entry
Enclosing class:
InternalFullDateHistogramFacet

public static class InternalFullDateHistogramFacet.FullEntry
extends Object
implements DateHistogramFacet.Entry

A histogram entry representing a single entry within the result of a histogram facet.


Constructor Summary
InternalFullDateHistogramFacet.FullEntry(long time, long count, double min, double max, long totalCount, double total)
           
 
Method Summary
 long count()
          The number of hits that fall within that key "range" or "interval".
 long getCount()
          The number of hits that fall within that key "range" or "interval".
 double getMax()
          The maximum value.
 double getMean()
          The mean of this facet interval.
 double getMin()
          The minimum value.
 long getTime()
          The time bucket start (in milliseconds).
 double getTotal()
          The sum / total of the value field that fall within this key "interval".
 long getTotalCount()
          The total count of values aggregated to compute the total.
 double max()
          The maximum value.
 double mean()
          The mean of this facet interval.
 double min()
          The minimum value.
 long time()
          The time bucket start (in milliseconds).
 double total()
          The sum / total of the value field that fall within this key "interval".
 long totalCount()
          The total count of values aggregated to compute the total.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalFullDateHistogramFacet.FullEntry

public InternalFullDateHistogramFacet.FullEntry(long time,
                                                long count,
                                                double min,
                                                double max,
                                                long totalCount,
                                                double total)
Method Detail

time

public long time()
Description copied from interface: DateHistogramFacet.Entry
The time bucket start (in milliseconds).

Specified by:
time in interface DateHistogramFacet.Entry

getTime

public long getTime()
Description copied from interface: DateHistogramFacet.Entry
The time bucket start (in milliseconds).

Specified by:
getTime in interface DateHistogramFacet.Entry

count

public long count()
Description copied from interface: DateHistogramFacet.Entry
The number of hits that fall within that key "range" or "interval".

Specified by:
count in interface DateHistogramFacet.Entry

getCount

public long getCount()
Description copied from interface: DateHistogramFacet.Entry
The number of hits that fall within that key "range" or "interval".

Specified by:
getCount in interface DateHistogramFacet.Entry

total

public double total()
Description copied from interface: DateHistogramFacet.Entry
The sum / total of the value field that fall within this key "interval".

Specified by:
total in interface DateHistogramFacet.Entry

getTotal

public double getTotal()
Description copied from interface: DateHistogramFacet.Entry
The sum / total of the value field that fall within this key "interval".

Specified by:
getTotal in interface DateHistogramFacet.Entry

totalCount

public long totalCount()
Description copied from interface: DateHistogramFacet.Entry
The total count of values aggregated to compute the total.

Specified by:
totalCount in interface DateHistogramFacet.Entry

getTotalCount

public long getTotalCount()
Description copied from interface: DateHistogramFacet.Entry
The total count of values aggregated to compute the total.

Specified by:
getTotalCount in interface DateHistogramFacet.Entry

mean

public double mean()
Description copied from interface: DateHistogramFacet.Entry
The mean of this facet interval.

Specified by:
mean in interface DateHistogramFacet.Entry

getMean

public double getMean()
Description copied from interface: DateHistogramFacet.Entry
The mean of this facet interval.

Specified by:
getMean in interface DateHistogramFacet.Entry

min

public double min()
Description copied from interface: DateHistogramFacet.Entry
The minimum value.

Specified by:
min in interface DateHistogramFacet.Entry

getMin

public double getMin()
Description copied from interface: DateHistogramFacet.Entry
The minimum value.

Specified by:
getMin in interface DateHistogramFacet.Entry

max

public double max()
Description copied from interface: DateHistogramFacet.Entry
The maximum value.

Specified by:
max in interface DateHistogramFacet.Entry

getMax

public double getMax()
Description copied from interface: DateHistogramFacet.Entry
The maximum value.

Specified by:
getMax in interface DateHistogramFacet.Entry


Copyright © 2009-2012. All Rights Reserved.