org.elasticsearch.search.facet.histogram
Class InternalHistogramFacet

java.lang.Object
  extended by org.elasticsearch.search.facet.histogram.InternalHistogramFacet
All Implemented Interfaces:
Iterable<HistogramFacet.Entry>, Streamable, ToXContent, Facet, HistogramFacet, InternalFacet
Direct Known Subclasses:
InternalBoundedCountHistogramFacet, InternalBoundedFullHistogramFacet, InternalCountHistogramFacet, InternalFullHistogramFacet

public abstract class InternalHistogramFacet
extends Object
implements HistogramFacet, InternalFacet


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.search.facet.histogram.HistogramFacet
HistogramFacet.ComparatorType, HistogramFacet.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.histogram.HistogramFacet
TYPE
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
InternalHistogramFacet()
           
 
Method Summary
abstract  Facet reduce(String name, 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.histogram.HistogramFacet
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

InternalHistogramFacet

public InternalHistogramFacet()
Method Detail

registerStreams

public static void registerStreams()

reduce

public abstract Facet reduce(String name,
                             List<Facet> facets)


Copyright © 2009-2012. All Rights Reserved.