SortedTreeScannerBaseTKey, TValueInternalReadWhile(TKey, TValue, TKey, MatchFilterBaseTKey, TValue) Method

Reads the next key and value from the node while applying a filter and the key is less than the upper bounds, and advances the cursor.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected abstract bool InternalReadWhile(
	TKey key,
	TValue value,
	TKey upperBounds,
	MatchFilterBase<TKey, TValue>? filter
)

Parameters

key  TKey
The key to read into.
value  TValue
The value to read into.
upperBounds  TKey
The upper bounds for key comparison.
filter  MatchFilterBaseTKey, TValue
The filter to apply during reading.

Return Value

Boolean
true if the read key and value pass the filter and meet the condition; otherwise, false.

See Also