org.elasticsearch.search.facet.datehistogram
Class InternalDateHistogramFacet

java.lang.Object
  extended by org.elasticsearch.search.facet.datehistogram.InternalDateHistogramFacet
All Implemented Interfaces:
java.lang.Iterable<DateHistogramFacet.Entry>, Streamable, ToXContent, DateHistogramFacet, Facet, InternalFacet
Direct Known Subclasses:
InternalCountDateHistogramFacet, InternalFullDateHistogramFacet

public abstract class InternalDateHistogramFacet
extends java.lang.Object
implements DateHistogramFacet, InternalFacet


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.search.facet.datehistogram.DateHistogramFacet
DateHistogramFacet.ComparatorType, DateHistogramFacet.Entry
 
Nested classes/interfaces inherited from interface org.elasticsearch.search.facet.InternalFacet
InternalFacet.Stream, InternalFacet.Streams
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.search.facet.datehistogram.DateHistogramFacet
TYPE
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
InternalDateHistogramFacet()
           
 
Method Summary
abstract  Facet reduce(java.lang.String name, java.util.List<Facet> facets)
           
static void registerStreams()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.search.facet.datehistogram.DateHistogramFacet
entries, getEntries
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface org.elasticsearch.search.facet.InternalFacet
streamType
 
Methods inherited from interface org.elasticsearch.search.facet.Facet
getName, getType, name, type
 
Methods inherited from interface org.elasticsearch.common.io.stream.Streamable
readFrom, writeTo
 
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
 

Constructor Detail

InternalDateHistogramFacet

public InternalDateHistogramFacet()
Method Detail

registerStreams

public static void registerStreams()

reduce

public abstract Facet reduce(java.lang.String name,
                             java.util.List<Facet> facets)