public static class FieldStats.Text extends FieldStats<org.apache.lucene.util.BytesRef>
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 |
|---|
Text(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable) |
Text(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable,
org.apache.lucene.util.BytesRef minValue,
org.apache.lucene.util.BytesRef maxValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.apache.lucene.util.BytesRef o1,
org.apache.lucene.util.BytesRef o2) |
java.lang.String |
getMaxValueAsString() |
java.lang.String |
getMinValueAsString() |
protected void |
toInnerXContent(XContentBuilder builder) |
protected org.apache.lucene.util.BytesRef |
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, toXContent, updateMinMax, writeToclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic Text(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable)
public Text(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
boolean isSearchable,
boolean isAggregatable,
org.apache.lucene.util.BytesRef minValue,
org.apache.lucene.util.BytesRef maxValue)
public int compare(org.apache.lucene.util.BytesRef o1,
org.apache.lucene.util.BytesRef o2)
compare in class FieldStats<org.apache.lucene.util.BytesRef>public void writeMinMax(StreamOutput out) throws java.io.IOException
writeMinMax in class FieldStats<org.apache.lucene.util.BytesRef>java.io.IOExceptionprotected org.apache.lucene.util.BytesRef valueOf(java.lang.String value,
java.lang.String optionalFormat)
valueOf in class FieldStats<org.apache.lucene.util.BytesRef>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<org.apache.lucene.util.BytesRef>public java.lang.String getMaxValueAsString()
getMaxValueAsString in class FieldStats<org.apache.lucene.util.BytesRef>protected void toInnerXContent(XContentBuilder builder) throws java.io.IOException
toInnerXContent in class FieldStats<org.apache.lucene.util.BytesRef>java.io.IOException