|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.search.facet.histogram.InternalCountHistogramFacet.CountEntry
public class InternalCountHistogramFacet.CountEntry
A histogram entry representing a single entry within the result of a histogram facet.
Constructor Summary | |
---|---|
InternalCountHistogramFacet.CountEntry(long key,
long count)
|
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 |
getMean()
The mean of this facet interval. |
double |
getTotal()
The sum / total of the value field that fall within this key "interval". |
long |
key()
The key value of the histogram. |
double |
mean()
The mean of this facet interval. |
double |
total()
The sum / total of the value field that fall within this key "interval". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalCountHistogramFacet.CountEntry(long key, long count)
Method Detail |
---|
public long key()
key
in interface HistogramFacet.Entry
public long getKey()
getKey
in interface HistogramFacet.Entry
public long count()
count
in interface HistogramFacet.Entry
public long getCount()
getCount
in interface HistogramFacet.Entry
public double total()
total
in interface HistogramFacet.Entry
public double getTotal()
getTotal
in interface HistogramFacet.Entry
public double mean()
mean
in interface HistogramFacet.Entry
public double getMean()
getMean
in interface HistogramFacet.Entry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |