public final class BlockPackedReader extends LongValues implements Accountable
BlockPackedWriter.IDENTITY| Constructor and Description |
|---|
BlockPackedReader(IndexInput in,
int packedIntsVersion,
int blockSize,
long valueCount,
boolean direct)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
get(long index)
Get value at
index. |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
String |
toString() |
getclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildResourcespublic BlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct) throws IOException
IOExceptionpublic long get(long index)
LongValuesindex.get in class LongValuespublic long ramBytesUsed()
AccountableramBytesUsed in interface AccountableCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.