public static final class CachedOrdinalsReader.CachedOrds extends java.lang.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.
|
| 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()
Return the memory usage of this object in bytes.
|
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 java.io.IOException
CachedOrdinalsReader.CachedOrds from the BinaryDocValues.
Assumes that the BinaryDocValues is not null.java.io.IOExceptionpublic long ramBytesUsed()
AccountableramBytesUsed in interface AccountableCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.