BufferedArchiveStreamTKey, TValue Class

Represents a buffered stream for reading data from an archive table, where TKey and TValue are specific SnapTypeBase types.

Definition

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

Type Parameters

TKey
The key type for the archive data.
TValue
The value type for the archive data.

Constructors

BufferedArchiveStreamTKey, TValue Creates an instance of the BufferedArchiveStream class with the specified index and table.

Properties

Index An index value that is used to disassociate the archive file.

Methods

Dispose Disposes of the resources used by the BufferedArchiveStream.
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)
SeekToKeyAndUpdateCacheValue Seeks to the specified key in the scanner and updates the cached value.
SkipToNextKeyAndUpdateCachedValue Skips to the next key in the scanner and updates the cached value.
ToStringReturns a string that represents the current object.
(Inherited from Object)
UpdateCachedValue Updates the cached value by peeking at the next key-value pair in the scanner.

Fields

CacheIsValid Gets or sets a flag indicating whether the cache is valid.
CacheKey Gets or sets the cached key.
CacheValue Gets or sets the cached value.
Scanner Gets or sets the sorted tree scanner used for reading data.

See Also