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.
|
get
public BlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct) throws IOException
IOException
public long get(long index)
LongValues
index
.get
in class LongValues
public long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.