public class DefaultSortedSetDocValuesReaderState extends SortedSetDocValuesReaderState
SortedSetDocValuesFacetCounts. You must ensure the original
IndexReader passed to the constructor is not closed whenever you use this class!SortedSetDocValuesReaderState.OrdRange| Modifier and Type | Field and Description |
|---|---|
IndexReader |
reader
IndexReader passed to the constructor. |
NULL_ACCOUNTABLE| Constructor and Description |
|---|
DefaultSortedSetDocValuesReaderState(IndexReader reader)
Creates this, pulling doc values from the default
FacetsConfig.DEFAULT_INDEX_FIELD_NAME. |
DefaultSortedSetDocValuesReaderState(IndexReader reader,
String field)
Creates this, pulling doc values from the specified
field.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Accountable> |
getChildResources()
Returns nested resources of this class.
|
SortedSetDocValues |
getDocValues()
Return top-level doc values.
|
String |
getField()
Indexed field we are reading.
|
SortedSetDocValuesReaderState.OrdRange |
getOrdRange(String dim)
Returns the
SortedSetDocValuesReaderState.OrdRange for this dimension. |
Map<String,SortedSetDocValuesReaderState.OrdRange> |
getPrefixToOrdRange()
Returns mapping from prefix to
SortedSetDocValuesReaderState.OrdRange. |
IndexReader |
getReader()
Returns top-level index reader.
|
int |
getSize()
Number of unique labels.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
String |
toString() |
public final IndexReader reader
IndexReader passed to the constructor.public DefaultSortedSetDocValuesReaderState(IndexReader reader) throws IOException
FacetsConfig.DEFAULT_INDEX_FIELD_NAME.IOExceptionpublic DefaultSortedSetDocValuesReaderState(IndexReader reader, String field) throws IOException
IOExceptionpublic long ramBytesUsed()
public Collection<Accountable> getChildResources()
Accountablespublic SortedSetDocValues getDocValues() throws IOException
getDocValues in class SortedSetDocValuesReaderStateIOExceptionpublic Map<String,SortedSetDocValuesReaderState.OrdRange> getPrefixToOrdRange()
SortedSetDocValuesReaderState.OrdRange.getPrefixToOrdRange in class SortedSetDocValuesReaderStatepublic SortedSetDocValuesReaderState.OrdRange getOrdRange(String dim)
SortedSetDocValuesReaderState.OrdRange for this dimension.getOrdRange in class SortedSetDocValuesReaderStatepublic String getField()
getField in class SortedSetDocValuesReaderStatepublic IndexReader getReader()
SortedSetDocValuesReaderStategetReader in class SortedSetDocValuesReaderStatepublic int getSize()
getSize in class SortedSetDocValuesReaderStateCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.