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)
Get the long at the given index.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
sizegetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcesfinal IndexInput in
final int bitsPerValue
final long startPointer
final long valueMask
DirectPackedReader(int bitsPerValue,
int valueCount,
IndexInput in)
public long get(int index)
PackedInts.Readerget in class PackedInts.ReaderImplpublic long ramBytesUsed()
Accountable