Package org.apache.lucene.util.packed
Class BlockPackedReader
java.lang.Object
org.apache.lucene.index.NumericDocValues
org.apache.lucene.util.LongValues
org.apache.lucene.util.packed.BlockPackedReader
Provides random access to a stream written with 
BlockPackedWriter.- 
Field SummaryFields inherited from class org.apache.lucene.index.NumericDocValuesEMPTY
- 
Constructor SummaryConstructorsConstructorDescriptionBlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct) Sole constructor.
- 
Method SummaryModifier and TypeMethodDescriptionlongget(long index) Get value atindex.longReturns approximate RAM bytes usedMethods inherited from class org.apache.lucene.util.LongValuesget
- 
Constructor Details- 
BlockPackedReaderpublic BlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct) throws IOException Sole constructor.- Throws:
- IOException
 
 
- 
- 
Method Details- 
getpublic long get(long index) Description copied from class:LongValuesGet value atindex.- Specified by:
- getin class- LongValues
 
- 
ramBytesUsedpublic long ramBytesUsed()Returns approximate RAM bytes used
 
-