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