public static class FieldStats.Date extends FieldStats<java.lang.Long>
FieldStats.Date, FieldStats.Double, FieldStats.GeoPoint, FieldStats.Ip, FieldStats.Long, FieldStats.TextWriteable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsmaxValue, minValueEMPTY_PARAMS| Constructor and Description |
|---|
Date(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable) |
Date(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable,
FormatDateTimeFormatter formatter,
long minValue,
long maxValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Long o1,
java.lang.Long o2) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getMaxValueAsString() |
java.lang.String |
getMinValueAsString() |
int |
hashCode() |
java.lang.Long |
valueOf(java.lang.String value,
java.lang.String fmt) |
void |
writeMinMax(StreamOutput out) |
accumulate, getDensity, getDisplayType, getDocCount, getMaxDoc, getMaxValue, getMinValue, getSumDocFreq, getSumTotalTermFreq, hasMinMax, isAggregatable, isSearchable, match, readFrom, toInnerXContent, toXContent, updateMinMax, writeToclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic Date(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable)
public Date(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable,
FormatDateTimeFormatter formatter,
long minValue,
long maxValue)
public int compare(java.lang.Long o1,
java.lang.Long o2)
compare in class FieldStats<java.lang.Long>public void writeMinMax(StreamOutput out) throws java.io.IOException
writeMinMax in class FieldStats<java.lang.Long>java.io.IOExceptionpublic java.lang.Long valueOf(java.lang.String value,
java.lang.String fmt)
valueOf in class FieldStats<java.lang.Long>value - The string to be parsedfmt - A string describing how to parse the specified value. Whether this parameter is supported
depends on the implementation. If optionalFormat is specified and the implementation
doesn't support it an UnsupportedOperationException is thrownpublic java.lang.String getMinValueAsString()
getMinValueAsString in class FieldStats<java.lang.Long>public java.lang.String getMaxValueAsString()
getMaxValueAsString in class FieldStats<java.lang.Long>public boolean equals(java.lang.Object o)
equals in class FieldStats<java.lang.Long>public int hashCode()
hashCode in class FieldStats<java.lang.Long>