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 TypeFieldDescriptionprivate final float[]private static final longprivate final intprivate final byte[]private final long[]private final intprivate final long[]private static final DirectMonotonicReader.MetaFields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturn 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, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Field Details
-
SINGLE_ZERO_BLOCK
-
BASE_RAM_BYTES_USED
private static final long BASE_RAM_BYTES_USED -
blockShift
private final int blockShift -
numBlocks
private final int numBlocks -
mins
private final long[] mins -
avgs
private final float[] avgs -
bpvs
private final byte[] bpvs -
offsets
private final long[] offsets
-
-
Constructor Details
-
Meta
Meta(long numValues, int blockShift)
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()Description copied from interface:AccountableReturn the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsedin interfaceAccountable
-