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.Entry
public Number getTermAsNumber()
getTermAsNumber
in interface TermsStatsFacet.Entry
public long getCount()
getCount
in interface TermsStatsFacet.Entry
public long getTotalCount()
getTotalCount
in interface TermsStatsFacet.Entry
public double getMin()
getMin
in interface TermsStatsFacet.Entry
public double getMax()
getMax
in interface TermsStatsFacet.Entry
public double getTotal()
getTotal
in interface TermsStatsFacet.Entry
public double getMean()
getMean
in interface TermsStatsFacet.Entry
public int compareTo(TermsStatsFacet.Entry other)
compareTo
in interface Comparable<TermsStatsFacet.Entry>
Copyright © 2009–2015. All rights reserved.