public static class FieldStats.Double extends FieldStats<java.lang.Double>
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 |
|---|
Double(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable) |
Double(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable,
double minValue,
double maxValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Double o1,
java.lang.Double o2) |
java.lang.String |
getMaxValueAsString() |
java.lang.String |
getMinValueAsString() |
java.lang.Double |
valueOf(java.lang.String value,
java.lang.String optionalFormat) |
void |
writeMinMax(StreamOutput out) |
accumulate, equals, getDensity, getDisplayType, getDocCount, getMaxDoc, getMaxValue, getMinValue, getSumDocFreq, getSumTotalTermFreq, hashCode, hasMinMax, isAggregatable, isSearchable, match, readFrom, toInnerXContent, toXContent, updateMinMax, writeToclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic Double(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable)
public Double(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable,
double minValue,
double maxValue)
public int compare(java.lang.Double o1,
java.lang.Double o2)
compare in class FieldStats<java.lang.Double>public void writeMinMax(StreamOutput out) throws java.io.IOException
writeMinMax in class FieldStats<java.lang.Double>java.io.IOExceptionpublic java.lang.Double valueOf(java.lang.String value,
java.lang.String optionalFormat)
valueOf in class FieldStats<java.lang.Double>value - The string to be parsedoptionalFormat - 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.Double>public java.lang.String getMaxValueAsString()
getMaxValueAsString in class FieldStats<java.lang.Double>