FixedSizeNodeScannerTKey, TValueInternalRead(TKey, TValue, MatchFilterBaseTKey, TValue) Method
Reads and filters key-value pairs from the internal byte buffer, advancing the read pointer.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected override bool InternalRead(
TKey key,
TValue value,
MatchFilterBase<TKey, TValue>? filter
)
Protected Overrides Function InternalRead (
key As TKey,
value As TValue,
filter As MatchFilterBase(Of TKey, TValue)
) As Boolean
protected:
virtual bool InternalRead(
TKey key,
TValue value,
MatchFilterBase<TKey, TValue>^ filter
) override
function InternalRead(key, value, filter);
- key TKey
- The key to read the value into.
- value TValue
- The value to read from the buffer.
- filter MatchFilterBaseTKey, TValue
- Optional filter to determine if the key-value pair is accepted.
Booleantrue if a matching key-value pair is found; otherwise,
false.
This method reads key-value pairs from the internal byte buffer.
It deserializes the key and value, advances the read pointer, and increments the index of the next key-value pair.
If a filter is provided, it is used to determine if the key-value pair should be accepted.
If a matching pair is found, the method returns true; otherwise, it continues reading until a match is found or the end of the buffer is reached, returning false.