public static final class CachedOrdinalsReader.CachedOrds
extends java.lang.Object
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() |
public 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.IOExceptionData In Motion GmbH all rights reserved