org.elasticsearch.search.facet.histogram.bounded
Class InternalBoundedFullHistogramFacet.FullEntry

java.lang.Object
  extended by org.elasticsearch.search.facet.histogram.bounded.InternalBoundedFullHistogramFacet.FullEntry
All Implemented Interfaces:
HistogramFacet.Entry
Enclosing class:
InternalBoundedFullHistogramFacet

public static class InternalBoundedFullHistogramFacet.FullEntry
extends Object
implements HistogramFacet.Entry

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


Constructor Summary
InternalBoundedFullHistogramFacet.FullEntry(long key, 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".
 long getKey()
          The key value of the histogram.
 double getMax()
          The maximum value.
 double getMean()
          The mean of this facet interval.
 double getMin()
          The minimum value.
 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.
 long key()
          The key value of the histogram.
 double max()
          The maximum value.
 double mean()
          The mean of this facet interval.
 double min()
          The minimum value.
 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

InternalBoundedFullHistogramFacet.FullEntry

public InternalBoundedFullHistogramFacet.FullEntry(long key,
                                                   long count,
                                                   double min,
                                                   double max,
                                                   long totalCount,
                                                   double total)
Method Detail

key

public long key()
Description copied from interface: HistogramFacet.Entry
The key value of the histogram.

Specified by:
key in interface HistogramFacet.Entry

getKey

public long getKey()
Description copied from interface: HistogramFacet.Entry
The key value of the histogram.

Specified by:
getKey in interface HistogramFacet.Entry

count

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

Specified by:
count in interface HistogramFacet.Entry

getCount

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

Specified by:
getCount in interface HistogramFacet.Entry

total

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

Specified by:
total in interface HistogramFacet.Entry

getTotal

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

Specified by:
getTotal in interface HistogramFacet.Entry

totalCount

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

Specified by:
totalCount in interface HistogramFacet.Entry

getTotalCount

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

Specified by:
getTotalCount in interface HistogramFacet.Entry

mean

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

Specified by:
mean in interface HistogramFacet.Entry

getMean

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

Specified by:
getMean in interface HistogramFacet.Entry

min

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

Specified by:
min in interface HistogramFacet.Entry

getMin

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

Specified by:
getMin in interface HistogramFacet.Entry

max

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

Specified by:
max in interface HistogramFacet.Entry

getMax

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

Specified by:
getMax in interface HistogramFacet.Entry


Copyright © 2009-2012. All Rights Reserved.