GenericEncodedNodeTKey, TValue Constructor
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public GenericEncodedNode(
PairEncodingBase<TKey, TValue> encoding,
byte level
)
public:
GenericEncodedNode(
PairEncodingBase<TKey, TValue>^ encoding,
unsigned char level
)
SnapDB.Snap.Tree.GenericEncodedNode = function(encoding, level);
Parameters
- encoding PairEncodingBaseTKey, TValue
- The encoding method used for key-value pairs in the node.
- level Byte
- The level of the node within the tree structure.
This constructor creates a new node with the specified level and initializes key and value instances for use in the node.
It associates the provided encoding method with the node and sets up event handlers for node index changes and cache clearing.
The level should typically be 0, as this type of node is typically used at the leaf level of the tree.