Module org.apache.lucene.core
Package org.apache.lucene.util.packed
Class DirectMonotonicReader.Meta
java.lang.Object
org.apache.lucene.util.packed.DirectMonotonicReader.Meta
- All Implemented Interfaces:
Accountable
- Enclosing class:
DirectMonotonicReader
In-memory metadata that needs to be kept around for
DirectMonotonicReader
to read data
from disk.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final float[]
private static final long
(package private) final int
(package private) final byte[]
(package private) final long[]
(package private) final int
(package private) final long[]
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Return the memory usage of this object in bytes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Field Details
-
BASE_RAM_BYTES_USED
private static final long BASE_RAM_BYTES_USED -
blockShift
final int blockShift -
numBlocks
final int numBlocks -
mins
final long[] mins -
avgs
final float[] avgs -
bpvs
final byte[] bpvs -
offsets
final long[] offsets
-
-
Constructor Details
-
Meta
Meta(long numValues, int blockShift)
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()Description copied from interface:Accountable
Return the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsed
in interfaceAccountable
-