Class AbstractAppendingInt64Buffer
Common functionality shared by AppendingDeltaPackedInt64Buffer and MonotonicAppendingInt64Buffer.
NOTE: This was AbstractAppendingLongBuffer in LuceneInheritance
AbstractAppendingInt64Buffer
      
      
      
  Inherited Members
Namespace: Lucene.Net.Util.Packed
Assembly: Lucene.Net.dll
Syntax
public abstract class AbstractAppendingInt64Buffer : Int64Values
  Properties
Count
Get the number of values that have been added to the buffer.
NOTE: This was size() in Lucene.Declaration
public long Count { get; }
  Property Value
| Type | Description | 
|---|---|
| long | 
PageSize
Common functionality shared by AppendingDeltaPackedInt64Buffer and MonotonicAppendingInt64Buffer.
NOTE: This was AbstractAppendingLongBuffer in LuceneDeclaration
public int PageSize { get; }
  Property Value
| Type | Description | 
|---|---|
| int | 
Methods
Add(long)
Append a value to this buffer.
Declaration
public void Add(long l)
  Parameters
| Type | Name | Description | 
|---|---|---|
| long | l | 
Freeze()
Pack all pending values in this buffer. Subsequent calls to Add(long) will fail.
Declaration
public virtual void Freeze()
  Get(long)
Get value at index.
Declaration
public override sealed long Get(long index)
  Parameters
| Type | Name | Description | 
|---|---|---|
| long | index | 
Returns
| Type | Description | 
|---|---|
| long | 
Overrides
Get(long, long[], int, int)
Bulk get: read at least one and at most lenlongs starting
from index into arr[off:off+len] and return
the actual number of values that have been read.
Declaration
public int Get(long index, long[] arr, int off, int len)
  Parameters
| Type | Name | Description | 
|---|---|---|
| long | index | |
| long[] | arr | |
| int | off | |
| int | len | 
Returns
| Type | Description | 
|---|---|
| int | 
GetIterator()
Return an iterator over the values of this buffer.
Declaration
public virtual AbstractAppendingInt64Buffer.Iterator GetIterator()
  Returns
| Type | Description | 
|---|---|
| AbstractAppendingInt64Buffer.Iterator | 
RamBytesUsed()
Return the number of bytes used by this instance.
Declaration
public virtual long RamBytesUsed()
  Returns
| Type | Description | 
|---|---|
| long |