org.elasticsearch.search.facet.terms.bytes
Class InternalByteTermsFacet.ByteEntry

java.lang.Object
  extended by org.elasticsearch.search.facet.terms.bytes.InternalByteTermsFacet.ByteEntry
All Implemented Interfaces:
Comparable<TermsFacet.Entry>, TermsFacet.Entry
Enclosing class:
InternalByteTermsFacet

public static class InternalByteTermsFacet.ByteEntry
extends Object
implements TermsFacet.Entry


Constructor Summary
InternalByteTermsFacet.ByteEntry(byte 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

InternalByteTermsFacet.ByteEntry

public InternalByteTermsFacet.ByteEntry(byte 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.