UnionTreeStreamTKey, TValue Class

Represents a partial union of multiple tree streams of the same TKey and TValue types.

Definition

Namespace: SnapDB.Snap
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class UnionTreeStream<TKey, TValue> : TreeStream<TKey, TValue>
where TKey : new(), SnapTypeBase<TKey>
where TValue : new(), SnapTypeBase<TValue>
Inheritance
Object    TreeStreamTKey, TValue    UnionTreeStreamTKey, TValue

Type Parameters

TKey
The key type.
TValue
The value type.

Constructors

UnionTreeStreamTKey, TValue Initializes a new instance of the UnionTreeStreamTKey, TValue class.

Properties

Eos Boolean indicating that the end of the stream has been read or class has been disposed.
(Inherited from TreeStreamTKey, TValue)
IsAlwaysSequential Gets a value indicating whether this stream is always sequential.
(Overrides TreeStreamTKey, TValueIsAlwaysSequential)
NeverContainsDuplicates Gets a value indicating that this stream never contains duplicate values.
(Overrides TreeStreamTKey, TValueNeverContainsDuplicates)

Methods

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

See Also