Class BlockPackedReader
Provides random access to a stream written with BlockPackedWriter.
This is a Lucene.NET INTERNAL API, use at your own risk
Inherited Members
Namespace: Lucene.Net.Util.Packed
Assembly: Lucene.Net.dll
Syntax
public sealed class BlockPackedReader : Int64Values
Constructors
| Improve this Doc View SourceBlockPackedReader(IndexInput, Int32, Int32, Int64, Boolean)
Sole constructor.
Declaration
public BlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, bool direct)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | in | |
System.Int32 | packedIntsVersion | |
System.Int32 | blockSize | |
System.Int64 | valueCount | |
System.Boolean | direct |
Methods
| Improve this Doc View SourceGet(Int64)
Declaration
public override long Get(long index)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | index |
Returns
Type | Description |
---|---|
System.Int64 |
Overrides
| Improve this Doc View SourceRamBytesUsed()
Returns approximate RAM bytes used.
Declaration
public long RamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |