FixedSizeNodeTKey, TValueSplit Method
Splits the node into two nodes and redistributes its key-value pairs.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected override void Split(
uint newNodeIndex,
TKey dividingKey
)
Protected Overrides Sub Split (
newNodeIndex As UInteger,
dividingKey As TKey
)
protected:
virtual void Split(
unsigned int newNodeIndex,
TKey dividingKey
) override
function Split(newNodeIndex, dividingKey);
Parameters
- newNodeIndex UInt32
- The index of the new node created during the split.
- dividingKey TKey
- The key that determines the split point.
This method splits the current node into two nodes and redistributes its key-value pairs.
The splitting point is determined by the dividingKey. Half of the records
remain in the original node, and the other half is moved to the new node.