public static final class FieldStats.Date extends FieldStats.Long
FieldStats.Date, FieldStats.Double, FieldStats.Float, FieldStats.Long, FieldStats.Text
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
maxValue, minValue
EMPTY_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) |
append
getDensity, getDocCount, getMaxDoc, getSumDocFreq, getSumTotalTermFreq, read, toXContent
public Date()
public Date(long maxDoc, long docCount, long sumDocFreq, long sumTotalTermFreq, long minValue, long maxValue, FormatDateTimeFormatter dateFormatter)
public String getMinValue()
getMinValue
in class FieldStats.Long
public String getMaxValue()
getMaxValue
in class FieldStats.Long
protected void toInnerXContent(XContentBuilder builder) throws IOException
toInnerXContent
in class FieldStats<Long>
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class FieldStats.Long
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class FieldStats.Long
IOException
Copyright © 2009–2015. All rights reserved.