public static final class FieldStats.Date extends FieldStats.Long
FieldStats.Date, FieldStats.Double, FieldStats.Float, FieldStats.Long, FieldStats.TextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsmaxValue, minValueEMPTY_PARAMS| Constructor and Description |
|---|
Date() |
Date(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
long minValue,
long maxValue,
FormatDateTimeFormatter dateFormatter) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMaxValue() |
String |
getMinValue() |
void |
readFrom(StreamInput in) |
protected void |
toInnerXContent(XContentBuilder builder) |
void |
writeTo(StreamOutput out) |
appendgetDensity, getDocCount, getMaxDoc, getSumDocFreq, getSumTotalTermFreq, read, toXContentpublic Date()
public Date(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
long minValue,
long maxValue,
FormatDateTimeFormatter dateFormatter)
public String getMinValue()
getMinValue in class FieldStats.Longpublic String getMaxValue()
getMaxValue in class FieldStats.Longprotected void toInnerXContent(XContentBuilder builder) throws IOException
toInnerXContent in class FieldStats<Long>IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class FieldStats.LongIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class FieldStats.LongIOExceptionCopyright © 2009–2016. All rights reserved.