Class LegacyDirectMonotonicReader.Meta
- java.lang.Object
-
- org.apache.lucene.backward_codecs.packed.LegacyDirectMonotonicReader.Meta
-
- All Implemented Interfaces:
Accountable
- Enclosing class:
- LegacyDirectMonotonicReader
public static class LegacyDirectMonotonicReader.Meta extends java.lang.Object implements Accountable
In-memory metadata that needs to be kept around forLegacyDirectMonotonicReader
to read data from disk.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) float[]
avgs
private static long
BASE_RAM_BYTES_USED
(package private) int
blockShift
(package private) byte[]
bpvs
(package private) long[]
mins
(package private) int
numBlocks
(package private) long[]
offsets
-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Constructor Summary
Constructors Constructor Description Meta(long numValues, int blockShift)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
ramBytesUsed()
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
-
-
-
-
Method Detail
-
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
-
-