Class AppendingPackedInt64Buffer
Utility class to buffer a list of signed longs in memory. This class only supports appending and is optimized for non-negative numbers with a uniform distribution over a fixed (limited) range.
NOTE: This was AppendingPackedLongBuffer in Lucene
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Inheritance
System.Object
AppendingPackedInt64Buffer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Util.Packed
Assembly: Lucene.Net.dll
Syntax
public sealed class AppendingPackedInt64Buffer : AbstractAppendingInt64Buffer
Constructors
| Improve this Doc View SourceAppendingPackedInt64Buffer()
Create an AppendingPackedInt64Buffer with initialPageCount=16, pageSize=1024 and acceptableOverheadRatio=DEFAULT.
Declaration
public AppendingPackedInt64Buffer()
AppendingPackedInt64Buffer(Int32, Int32, Single)
Initialize a AppendingPackedInt64Buffer.
Declaration
public AppendingPackedInt64Buffer(int initialPageCount, int pageSize, float acceptableOverheadRatio)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | initialPageCount | The initial number of pages. |
System.Int32 | pageSize | The size of a single page. |
System.Single | acceptableOverheadRatio | An acceptable overhead ratio per value. |
AppendingPackedInt64Buffer(Single)
Create an AppendingPackedInt64Buffer with initialPageCount=16, pageSize=1024.
Declaration
public AppendingPackedInt64Buffer(float acceptableOverheadRatio)
Parameters
Type | Name | Description |
---|---|---|
System.Single | acceptableOverheadRatio |