org.elasticsearch.search.facet.termsstats.longs
Class InternalTermsStatsLongFacet.LongEntry

java.lang.Object
  extended by org.elasticsearch.search.facet.termsstats.longs.InternalTermsStatsLongFacet.LongEntry
All Implemented Interfaces:
java.lang.Comparable<TermsStatsFacet.Entry>, TermsStatsFacet.Entry
Enclosing class:
InternalTermsStatsLongFacet

public static class InternalTermsStatsLongFacet.LongEntry
extends java.lang.Object
implements TermsStatsFacet.Entry


Constructor Summary
InternalTermsStatsLongFacet.LongEntry(long term, long count, long totalCount, double total, double min, double max)
           
 
Method Summary
 int compareTo(TermsStatsFacet.Entry o)
           
 long count()
           
 long getCount()
           
 double getMax()
           
 double getMean()
           
 double getMin()
           
 java.lang.String getTerm()
           
 java.lang.Number getTermAsNumber()
           
 double getTotal()
           
 long getTotalCount()
           
 double max()
           
 double mean()
           
 double min()
           
 java.lang.String term()
           
 java.lang.Number termAsNumber()
           
 double total()
           
 long totalCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalTermsStatsLongFacet.LongEntry

public InternalTermsStatsLongFacet.LongEntry(long term,
                                             long count,
                                             long totalCount,
                                             double total,
                                             double min,
                                             double max)
Method Detail

term

public java.lang.String term()
Specified by:
term in interface TermsStatsFacet.Entry

getTerm

public java.lang.String getTerm()
Specified by:
getTerm in interface TermsStatsFacet.Entry

termAsNumber

public java.lang.Number termAsNumber()
Specified by:
termAsNumber in interface TermsStatsFacet.Entry

getTermAsNumber

public java.lang.Number getTermAsNumber()
Specified by:
getTermAsNumber in interface TermsStatsFacet.Entry

count

public long count()
Specified by:
count in interface TermsStatsFacet.Entry

getCount

public long getCount()
Specified by:
getCount in interface TermsStatsFacet.Entry

totalCount

public long totalCount()
Specified by:
totalCount in interface TermsStatsFacet.Entry

getTotalCount

public long getTotalCount()
Specified by:
getTotalCount in interface TermsStatsFacet.Entry

min

public double min()
Specified by:
min in interface TermsStatsFacet.Entry

getMin

public double getMin()
Specified by:
getMin in interface TermsStatsFacet.Entry

max

public double max()
Specified by:
max in interface TermsStatsFacet.Entry

getMax

public double getMax()
Specified by:
getMax in interface TermsStatsFacet.Entry

total

public double total()
Specified by:
total in interface TermsStatsFacet.Entry

getTotal

public double getTotal()
Specified by:
getTotal in interface TermsStatsFacet.Entry

mean

public double mean()
Specified by:
mean in interface TermsStatsFacet.Entry

getMean

public double getMean()
Specified by:
getMean in interface TermsStatsFacet.Entry

compareTo

public int compareTo(TermsStatsFacet.Entry o)
Specified by:
compareTo in interface java.lang.Comparable<TermsStatsFacet.Entry>