public static final class FieldStats.Text extends FieldStats<org.apache.lucene.util.BytesRef>
FieldStats.Date, FieldStats.Double, FieldStats.Float, FieldStats.Long, FieldStats.Text
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
maxValue, minValue
EMPTY_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, toXContent
public 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)
FieldStats
append
in class FieldStats<org.apache.lucene.util.BytesRef>
protected void toInnerXContent(XContentBuilder builder) throws IOException
toInnerXContent
in class FieldStats<org.apache.lucene.util.BytesRef>
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class FieldStats<org.apache.lucene.util.BytesRef>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class FieldStats<org.apache.lucene.util.BytesRef>
IOException
Copyright © 2009–2016. All rights reserved.