Class AppendingDeltaPackedInt64Buffer
Utility class to buffer a list of signed longs in memory. This class only supports appending and is optimized for the case where values are close to each other.
NOTE: This was AppendingDeltaPackedLongBuffer in Lucene
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
AppendingDeltaPackedInt64Buffer
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 AppendingDeltaPackedInt64Buffer : AbstractAppendingInt64Buffer
Constructors
| Improve this Doc View SourceAppendingDeltaPackedInt64Buffer()
Create an AppendingDeltaPackedInt64Buffer with initialPageCount=16, pageSize=1024 and acceptableOverheadRatio=DEFAULT.
Declaration
public AppendingDeltaPackedInt64Buffer()
AppendingDeltaPackedInt64Buffer(Int32, Int32, Single)
Create AppendingDeltaPackedInt64Buffer.
Declaration
public AppendingDeltaPackedInt64Buffer(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. |
AppendingDeltaPackedInt64Buffer(Single)
Create an AppendingDeltaPackedInt64Buffer with initialPageCount=16, pageSize=1024.
Declaration
public AppendingDeltaPackedInt64Buffer(float acceptableOverheadRatio)
Parameters
Type | Name | Description |
---|---|---|
System.Single | acceptableOverheadRatio |
Methods
| Improve this Doc View SourceRamBytesUsed()
Declaration
public override long RamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |