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. |
Collection<Accountable> |
getChildResources()
Returns nested resources of this class.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
String |
toString() |
getpublic 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 Accountablepublic Collection<Accountable> getChildResources()
AccountablegetChildResources in interface AccountableAccountablesCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.