public static class InternalTermsStatsLongFacet.LongEntry extends Object implements TermsStatsFacet.Entry
| Constructor and Description |
|---|
LongEntry(long term,
long count,
long totalCount,
double total,
double min,
double max) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TermsStatsFacet.Entry o) |
long |
getCount() |
double |
getMax() |
double |
getMean() |
double |
getMin() |
Text |
getTerm() |
Number |
getTermAsNumber() |
double |
getTotal() |
long |
getTotalCount() |
public LongEntry(long term,
long count,
long totalCount,
double total,
double min,
double max)
public Text getTerm()
getTerm in interface TermsStatsFacet.Entrypublic Number getTermAsNumber()
getTermAsNumber in interface TermsStatsFacet.Entrypublic long getCount()
getCount in interface TermsStatsFacet.Entrypublic long getTotalCount()
getTotalCount in interface TermsStatsFacet.Entrypublic double getMin()
getMin in interface TermsStatsFacet.Entrypublic double getMax()
getMax in interface TermsStatsFacet.Entrypublic double getTotal()
getTotal in interface TermsStatsFacet.Entrypublic double getMean()
getMean in interface TermsStatsFacet.Entrypublic int compareTo(TermsStatsFacet.Entry o)
compareTo in interface Comparable<TermsStatsFacet.Entry>Copyright © 2009–2016. All rights reserved.