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
public static class DirectMonotonicReader.Meta extends java.lang.Object implements Accountable
In-memory metadata that needs to be kept around forDirectMonotonicReaderto read data from disk.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) float[]avgsprivate static longBASE_RAM_BYTES_USED(package private) intblockShift(package private) byte[]bpvs(package private) long[]mins(package private) intnumBlocks(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 longramBytesUsed()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:AccountableReturn the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsedin interfaceAccountable
-
-