public static class FieldStats.Ip extends FieldStats<java.net.InetAddress>
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 |
|---|
Ip(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable) |
Ip(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable,
java.net.InetAddress minValue,
java.net.InetAddress maxValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.net.InetAddress o1,
java.net.InetAddress o2) |
java.lang.String |
getMaxValueAsString() |
java.lang.String |
getMinValueAsString() |
java.net.InetAddress |
valueOf(java.lang.String value,
java.lang.String fmt) |
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 Ip(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable)
public Ip(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable,
java.net.InetAddress minValue,
java.net.InetAddress maxValue)
public int compare(java.net.InetAddress o1,
java.net.InetAddress o2)
compare in class FieldStats<java.net.InetAddress>public void writeMinMax(StreamOutput out) throws java.io.IOException
writeMinMax in class FieldStats<java.net.InetAddress>java.io.IOExceptionpublic java.net.InetAddress valueOf(java.lang.String value,
java.lang.String fmt)
valueOf in class FieldStats<java.net.InetAddress>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.net.InetAddress>public java.lang.String getMaxValueAsString()
getMaxValueAsString in class FieldStats<java.net.InetAddress>