SortedTreeTableTKey, TValue Class

Represents an individual table contained within the file.

Definition

Namespace: SnapDB.Snap.Storage
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class SortedTreeTable<TKey, TValue> : IDisposable
where TKey : new(), SnapTypeBase<TKey>
where TValue : new(), SnapTypeBase<TValue>
Inheritance
Object    SortedTreeTableTKey, TValue
Implements
IDisposable

Type Parameters

TKey
The key type used in the sorted tree table.
TValue
The value type used in the sorted tree table.

Properties

ArchiveId Gets the unique identifier (ID) of the archive associated with this table.
BaseFile Gets the archive file where this table exists.
FirstKey The first key. Note: Values only update on commit.
IsDisposed Determines if the archive file has been disposed.
LastKey The last key. Note: Values only update on commit.

Methods

AcquireReadSnapshot Acquires a read snapshot of the current archive file.
BeginEdit Begins an edit of the current archive table.
BeginRead Allows the user to get a read snapshot on the table.
Dispose Closes the archive file. If there is a current transaction, that transaction is immediately rolled back and disposed.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also