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, wait
getChildResources
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.IOException
public long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.