public class MonotonicBlockPackedReader extends LongValues implements Accountable
MonotonicBlockPackedWriter.IDENTITY| Modifier and Type | Method and Description |
|---|---|
protected long |
decodeDelta(long delta) |
long |
get(long index)
Get value at
index. |
Collection<Accountable> |
getChildResources()
Returns nested resources of this class.
|
static MonotonicBlockPackedReader |
of(IndexInput in,
int packedIntsVersion,
int blockSize,
long valueCount,
boolean direct)
Sole constructor.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
long |
size()
Returns the number of values
|
String |
toString() |
getpublic static MonotonicBlockPackedReader of(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct) throws IOException
IOExceptionpublic long get(long index)
LongValuesindex.get in class LongValuesprotected long decodeDelta(long delta)
public long size()
public long ramBytesUsed()
AccountableramBytesUsed in interface Accountablepublic Collection<Accountable> getChildResources()
AccountablegetChildResources in interface AccountableAccountablesCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.