public static final class CachedOrdinalsReader.CachedOrds extends Object implements Accountable
int[] arrays.| Modifier and Type | Field and Description |
|---|---|
int[] |
offsets
Index into
ordinals for each document. |
int[] |
ordinals
Holds ords for all docs.
|
NULL_ACCOUNTABLE| Constructor and Description |
|---|
CachedOrds(OrdinalsReader.OrdinalsSegmentReader source,
int maxDoc)
Creates a new
CachedOrdinalsReader.CachedOrds from the BinaryDocValues. |
| Modifier and Type | Method and Description |
|---|---|
long |
ramBytesUsed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcespublic final int[] offsets
ordinals for each document.public final int[] ordinals
public CachedOrds(OrdinalsReader.OrdinalsSegmentReader source, int maxDoc) throws IOException
CachedOrdinalsReader.CachedOrds from the BinaryDocValues.
Assumes that the BinaryDocValues is not null.IOExceptionpublic long ramBytesUsed()
ramBytesUsed in interface AccountableCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.