|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.util.packed.MonotonicBlockPackedReader
public final class MonotonicBlockPackedReader
Provides random access to a stream written with
MonotonicBlockPackedWriter
.
Constructor Summary | |
---|---|
MonotonicBlockPackedReader(IndexInput in,
int packedIntsVersion,
int blockSize,
long valueCount,
boolean direct)
Sole constructor. |
Method Summary | |
---|---|
long |
get(long index)
Get value at index . |
long |
ramBytesUsed()
Returns the approximate RAM bytes used |
long |
size()
Returns the number of values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonotonicBlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct) throws IOException
IOException
Method Detail |
---|
public long get(long index)
index
.
public long size()
public long ramBytesUsed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |