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, wait
getChildResources
public 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
.IOException
public long ramBytesUsed()
ramBytesUsed
in interface Accountable
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.