Class BlockPackedReader
Provides random access to a stream written with BlockPackedWriter.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Util.Packed
Assembly: Lucene.Net.dll
Syntax
public sealed class BlockPackedReader : Int64Values
Constructors
BlockPackedReader(IndexInput, int, int, long, bool)
Sole constructor.
Declaration
public BlockPackedReader(IndexInput @in, int packedIntsVersion, int blockSize, long valueCount, bool direct)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | in | |
int | packedIntsVersion | |
int | blockSize | |
long | valueCount | |
bool | direct |
Methods
Get(long)
Get value at index
.
Declaration
public override long Get(long index)
Parameters
Type | Name | Description |
---|---|---|
long | index |
Returns
Type | Description |
---|---|
long |
Overrides
RamBytesUsed()
Returns approximate RAM bytes used.
Declaration
public long RamBytesUsed()
Returns
Type | Description |
---|---|
long |