org.elasticsearch.search.facet.range
Interface RangeFacet

All Superinterfaces:
Facet, java.lang.Iterable<RangeFacet.Entry>
All Known Implementing Classes:
InternalRangeFacet

public interface RangeFacet
extends Facet, java.lang.Iterable<RangeFacet.Entry>


Nested Class Summary
static class RangeFacet.Entry
           
 
Nested classes/interfaces inherited from interface org.elasticsearch.search.facet.Facet
Facet.Type
 
Method Summary
 java.util.List<RangeFacet.Entry> entries()
          An ordered list of range facet entries.
 java.util.List<RangeFacet.Entry> getEntries()
          An ordered list of range facet entries.
 java.lang.String getKeyFieldName()
          The key field name used with this facet.
 java.lang.String getValueFieldName()
          The value field name used with this facet.
 java.lang.String keyFieldName()
          The key field name used with this facet.
 java.lang.String valueFieldName()
          The value field name used with this facet.
 
Methods inherited from interface org.elasticsearch.search.facet.Facet
getName, getType, name, type
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

keyFieldName

java.lang.String keyFieldName()
The key field name used with this facet.


getKeyFieldName

java.lang.String getKeyFieldName()
The key field name used with this facet.


valueFieldName

java.lang.String valueFieldName()
The value field name used with this facet.


getValueFieldName

java.lang.String getValueFieldName()
The value field name used with this facet.


entries

java.util.List<RangeFacet.Entry> entries()
An ordered list of range facet entries.


getEntries

java.util.List<RangeFacet.Entry> getEntries()
An ordered list of range facet entries.