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() |
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
public Collection<Accountable> getChildResources()
Accountable
getChildResources
in interface Accountable
Accountables
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.