public class InternalCountHistogramFacet extends InternalHistogramFacet
| Modifier and Type | Class and Description |
|---|---|
static class |
InternalCountHistogramFacet
A histogram entry representing a single entry within the result of a histogram facet.
|
InternalFacet.ReduceContext , InternalFacet.Stream , InternalFacet.Streams HistogramFacet.ComparatorType , HistogramFacet.Entry ToXContent.DelegatingMapParams , ToXContent.MapParams , ToXContent.Params TYPEEMPTY_PARAMS| Constructor and Description |
|---|
InternalCountHistogramFacet(String
|
| Modifier and Type | Method and Description |
|---|---|
List |
getEntries()
An ordered list of histogram facet entries.
|
Iterator |
iterator()
|
void |
readFrom(StreamInput
|
static InternalCountHistogramFacet |
readHistogramFacet(StreamInput
|
Facet |
reduce(InternalFacet
|
static void |
registerStreams()
|
BytesReference |
streamType()
|
XContentBuilder |
toXContent(XContentBuilder
|
void |
writeTo(StreamOutput
|
getTypegetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic InternalCountHistogramFacet(Stringname, HistogramFacet .ComparatorType comparatorType, InternalCountHistogramFacet .CountEntry [] entries)
public static void registerStreams()
public BytesReferencestreamType()
public List<InternalCountHistogramFacet .CountEntry > getEntries()
HistogramFacet
public Iterator<HistogramFacet .Entry > iterator()
public Facetreduce(InternalFacet .ReduceContext context)
public XContentBuildertoXContent(XContentBuilder builder, ToXContent .Params params) throws IOException
IOException
public static InternalCountHistogramFacetreadHistogramFacet(StreamInput in) throws IOException
IOException
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
readFrom in class
InternalFacet
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
writeTo in class
InternalFacet
IOException