class DirectPackedReader extends PackedInts.ReaderImpl
Modifier and Type | Field and Description |
---|---|
(package private) int |
bitsPerValue |
(package private) IndexInput |
in |
(package private) long |
startPointer |
(package private) long |
valueMask |
valueCount
Constructor and Description |
---|
DirectPackedReader(int bitsPerValue,
int valueCount,
IndexInput in) |
Modifier and Type | Method and Description |
---|---|
long |
get(int index)
Returns the numeric value for the specified document ID.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
size
get
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
final IndexInput in
final int bitsPerValue
final long startPointer
final long valueMask
DirectPackedReader(int bitsPerValue, int valueCount, IndexInput in)
public long get(int index)
NumericDocValues
get
in class PackedInts.ReaderImpl
index
- document ID to lookuppublic long ramBytesUsed()
Accountable