public static class DocValuesStats.SortedDocValuesStats extends DocValuesStats<BytesRef>
DocValuesStats.DoubleDocValuesStats, DocValuesStats.LongDocValuesStats, DocValuesStats.NumericDocValuesStats<T extends Number>, DocValuesStats.SortedDocValuesStats, DocValuesStats.SortedDoubleDocValuesStats, DocValuesStats.SortedLongDocValuesStats, DocValuesStats.SortedNumericDocValuesStats<T extends Number>, DocValuesStats.SortedSetDocValuesStats| Modifier and Type | Field and Description |
|---|---|
protected SortedDocValues |
sdv |
field, max, min| Modifier | Constructor and Description |
|---|---|
protected |
SortedDocValuesStats(String field) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAccumulate(int count)
Called after
DocValuesStats.accumulate(int) was processed and verified that the document has a value for
the field. |
protected boolean |
hasValue(int doc)
Returns whether the given document has a value for the requested DocValues field.
|
protected boolean |
init(LeafReaderContext context)
Initializes this object with the given reader context.
|
protected SortedDocValues sdv
protected SortedDocValuesStats(String field)
protected final boolean init(LeafReaderContext context) throws IOException
DocValuesStatsinit in class DocValuesStats<BytesRef>IOExceptionprotected final boolean hasValue(int doc)
throws IOException
DocValuesStatshasValue in class DocValuesStats<BytesRef>IOExceptionprotected void doAccumulate(int count)
throws IOException
DocValuesStatsDocValuesStats.accumulate(int) was processed and verified that the document has a value for
the field. Implementations should update the statistics based on the value of the current document.doAccumulate in class DocValuesStats<BytesRef>count - the updated number of documents with value for this field.IOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.