public class InternalFullDateHistogramFacet extends InternalDateHistogramFacet
| Modifier and Type | Class and Description |
|---|---|
static class |
InternalFullDateHistogramFacet.FullEntry
A histogram entry representing a single entry within the result of a histogram facet.
|
InternalFacet.ReduceContext, InternalFacet.Stream, InternalFacet.StreamsDateHistogramFacet.ComparatorType, DateHistogramFacet.EntryToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsTYPEEMPTY_PARAMS| Constructor and Description |
|---|
InternalFullDateHistogramFacet(String name,
DateHistogramFacet.ComparatorType comparatorType,
List<InternalFullDateHistogramFacet.FullEntry> entries) |
| Modifier and Type | Method and Description |
|---|---|
List<InternalFullDateHistogramFacet.FullEntry> |
getEntries()
An ordered list of histogram facet entries.
|
Iterator<DateHistogramFacet.Entry> |
iterator() |
void |
readFrom(StreamInput in) |
static InternalFullDateHistogramFacet |
readHistogramFacet(StreamInput in) |
Facet |
reduce(InternalFacet.ReduceContext context) |
static void |
registerStreams() |
BytesReference |
streamType() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getTypegetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic InternalFullDateHistogramFacet(String name, DateHistogramFacet.ComparatorType comparatorType, List<InternalFullDateHistogramFacet.FullEntry> entries)
public static void registerStreams()
public BytesReference streamType()
streamType in class InternalFacetpublic List<InternalFullDateHistogramFacet.FullEntry> getEntries()
DateHistogramFacetpublic Iterator<DateHistogramFacet.Entry> iterator()
public Facet reduce(InternalFacet.ReduceContext context)
reduce in class InternalFacetpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionpublic static InternalFullDateHistogramFacet readHistogramFacet(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class InternalFacetIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class InternalFacetIOExceptionCopyright © 2009–2016. All rights reserved.