Class PagedMutable
A PagedMutable. This class slices data into fixed-size blocks which have the same number of bits per value. It can be a useful replacement for PackedInt32s.Mutable to store more than 2B values.
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
PagedMutable
Inherited Members
Namespace: Lucene.Net.Util.Packed
Assembly: Lucene.Net.dll
Syntax
public sealed class PagedMutable : AbstractPagedMutable<PagedMutable>
Constructors
| Improve this Doc View SourcePagedMutable(Int64, Int32, Int32, Single)
Create a new PagedMutable instance.
Declaration
public PagedMutable(long size, int pageSize, int bitsPerValue, float acceptableOverheadRatio)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | size | The number of values to store. |
System.Int32 | pageSize | The number of values per page. |
System.Int32 | bitsPerValue | The number of bits per value. |
System.Single | acceptableOverheadRatio | An acceptable overhead ratio. |
Methods
| Improve this Doc View SourceBaseRamBytesUsed()
Declaration
protected override long BaseRamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |
Overrides
Lucene.Net.Util.Packed.AbstractPagedMutable<Lucene.Net.Util.Packed.PagedMutable>.BaseRamBytesUsed()
|
Improve this Doc
View Source
NewMutable(Int32, Int32)
Declaration
protected override PackedInt32s.Mutable NewMutable(int valueCount, int bitsPerValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | valueCount | |
System.Int32 | bitsPerValue |
Returns
Type | Description |
---|---|
PackedInt32s.Mutable |
Overrides
Lucene.Net.Util.Packed.AbstractPagedMutable<Lucene.Net.Util.Packed.PagedMutable>.NewMutable(System.Int32, System.Int32)
|
Improve this Doc
View Source
NewUnfilledCopy(Int64)
Declaration
protected override PagedMutable NewUnfilledCopy(long newSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | newSize |
Returns
Type | Description |
---|---|
PagedMutable |
Overrides
Lucene.Net.Util.Packed.AbstractPagedMutable<Lucene.Net.Util.Packed.PagedMutable>.NewUnfilledCopy(System.Int64)