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.
|
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)
PackedInts.Reader
get
in class PackedInts.ReaderImpl
public long ramBytesUsed()
Accountable