public static final class FieldStats.Text extends FieldStats<org.apache.lucene.util.BytesRef>
FieldStats.Date, FieldStats.Double, FieldStats.Float, FieldStats.Long, FieldStats.TextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsmaxValue, minValueEMPTY_PARAMS| Constructor and Description |
|---|
Text() |
Text(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
org.apache.lucene.util.BytesRef minValue,
org.apache.lucene.util.BytesRef maxValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(FieldStats stats)
Merges the provided stats into this stats instance.
|
String |
getMaxValue() |
String |
getMinValue() |
void |
readFrom(StreamInput in) |
protected void |
toInnerXContent(XContentBuilder builder) |
void |
writeTo(StreamOutput out) |
getDensity, getDocCount, getMaxDoc, getSumDocFreq, getSumTotalTermFreq, read, toXContentpublic Text()
public Text(long maxDoc,
long docCount,
long sumDocFreq,
long sumTotalTermFreq,
org.apache.lucene.util.BytesRef minValue,
org.apache.lucene.util.BytesRef maxValue)
public String getMinValue()
getMinValue in class FieldStats<org.apache.lucene.util.BytesRef>public String getMaxValue()
getMaxValue in class FieldStats<org.apache.lucene.util.BytesRef>public void append(FieldStats stats)
FieldStatsappend in class FieldStats<org.apache.lucene.util.BytesRef>protected void toInnerXContent(XContentBuilder builder) throws IOException
toInnerXContent in class FieldStats<org.apache.lucene.util.BytesRef>IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class FieldStats<org.apache.lucene.util.BytesRef>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class FieldStats<org.apache.lucene.util.BytesRef>IOExceptionCopyright © 2009–2016. All rights reserved.