TreeStreamTKey, TValue Class

Represents a stream of KeyValues.

Definition

Namespace: SnapDB.Snap
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public abstract class TreeStream<TKey, TValue> : IDisposable
where TKey : class, new()
where TValue : class, new()
Inheritance
Object    TreeStreamTKey, TValue
Derived
More
Implements
IDisposable

Type Parameters

TKey
The key associated with the point.
TValue
The value associated with the point.

Constructors

TreeStreamTKey, TValueInitializes a new instance of the TreeStreamTKey, TValue class

Properties

Eos Boolean indicating that the end of the stream has been read or class has been disposed.
IsAlwaysSequential Gets if the stream is always in sequential order. Do not return true unless it is guaranteed that the data read from this stream is sequential.
NeverContainsDuplicates Gets if the stream will never return duplicate keys. Do not return true unless it is guaranteed that the data read from this stream will never contain duplicates.

Methods

Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Dispose(Boolean) Releases the unmanaged resources used by the TreeStreamTKey, TValue object and optionally releases the managed resources.
EndOfStreamReached Occurs when the end of the stream has been reached. The default behavior is to call Dispose.
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)
Read Advances the stream to the next value. If before the beginning of the stream, advances to the first value
ReadAsync Advances the stream to the next value. If before the beginning of the stream, advances to the first value
ReadNext Advances the stream to the next value. If before the beginning of the stream, advances to the first value
SetEos Sets the end-of-stream (EOS) flag, indicating whether the stream has reached its end.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also