org.elasticsearch.search.facet.terms.longs
Class InternalLongTermsFacet.LongEntry

java.lang.Object
  extended by org.elasticsearch.search.facet.terms.longs.InternalLongTermsFacet.LongEntry
All Implemented Interfaces:
Comparable<TermsFacet.Entry>, TermsFacet.Entry
Enclosing class:
InternalLongTermsFacet

public static class InternalLongTermsFacet.LongEntry
extends Object
implements TermsFacet.Entry


Constructor Summary
InternalLongTermsFacet.LongEntry(long term, int count)
           
 
Method Summary
 int compareTo(TermsFacet.Entry o)
           
 int count()
           
 int getCount()
           
 String getTerm()
           
 Number getTermAsNumber()
           
 String term()
           
 Number termAsNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalLongTermsFacet.LongEntry

public InternalLongTermsFacet.LongEntry(long term,
                                        int count)
Method Detail

term

public String term()
Specified by:
term in interface TermsFacet.Entry

getTerm

public String getTerm()
Specified by:
getTerm in interface TermsFacet.Entry

termAsNumber

public Number termAsNumber()
Specified by:
termAsNumber in interface TermsFacet.Entry

getTermAsNumber

public Number getTermAsNumber()
Specified by:
getTermAsNumber in interface TermsFacet.Entry

count

public int count()
Specified by:
count in interface TermsFacet.Entry

getCount

public int getCount()
Specified by:
getCount in interface TermsFacet.Entry

compareTo

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


Copyright © 2009-2012. All Rights Reserved.