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.
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 PagedMutable : AbstractPagedMutable<PagedMutable>
Constructors
PagedMutable(long, int, int, float)
Create a new PagedMutable instance.
Declaration
public PagedMutable(long size, int pageSize, int bitsPerValue, float acceptableOverheadRatio)
Parameters
Type | Name | Description |
---|---|---|
long | size | The number of values to store. |
int | pageSize | The number of values per page. |
int | bitsPerValue | The number of bits per value. |
float | acceptableOverheadRatio | An acceptable overhead ratio. |
Methods
BaseRamBytesUsed()
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.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
protected override long BaseRamBytesUsed()
Returns
Type | Description |
---|---|
long |
Overrides
NewMutable(int, int)
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.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
protected override PackedInt32s.Mutable NewMutable(int valueCount, int bitsPerValue)
Parameters
Type | Name | Description |
---|---|---|
int | valueCount | |
int | bitsPerValue |
Returns
Type | Description |
---|---|
PackedInt32s.Mutable |
Overrides
NewUnfilledCopy(long)
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.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
protected override PagedMutable NewUnfilledCopy(long newSize)
Parameters
Type | Name | Description |
---|---|---|
long | newSize |
Returns
Type | Description |
---|---|
PagedMutable |