|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.search.facet.datehistogram.InternalCountAndTotalDateHistogramFacet.CountAndTotalEntry
public class InternalCountAndTotalDateHistogramFacet.CountAndTotalEntry
A histogram entry representing a single entry within the result of a histogram facet.
Constructor Summary | |
---|---|
InternalCountAndTotalDateHistogramFacet.CountAndTotalEntry(long time,
long count,
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 |
getMean()
The mean of this facet interval. |
long |
getTime()
The time bucket start (in milliseconds). |
double |
getTotal()
The sum / total of the value field that fall within this key "interval". |
double |
mean()
The mean of this facet interval. |
long |
time()
The time bucket start (in milliseconds). |
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 InternalCountAndTotalDateHistogramFacet.CountAndTotalEntry(long time, long count, double total)
Method Detail |
---|
public long time()
DateHistogramFacet.Entry
time
in interface DateHistogramFacet.Entry
public long getTime()
DateHistogramFacet.Entry
getTime
in interface DateHistogramFacet.Entry
public long count()
DateHistogramFacet.Entry
count
in interface DateHistogramFacet.Entry
public long getCount()
DateHistogramFacet.Entry
getCount
in interface DateHistogramFacet.Entry
public double total()
DateHistogramFacet.Entry
total
in interface DateHistogramFacet.Entry
public double getTotal()
DateHistogramFacet.Entry
getTotal
in interface DateHistogramFacet.Entry
public double mean()
DateHistogramFacet.Entry
mean
in interface DateHistogramFacet.Entry
public double getMean()
DateHistogramFacet.Entry
getMean
in interface DateHistogramFacet.Entry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |