SortedTreeNodeBaseTKey, TValueInitialize Method

Initializes the required parameters for this tree to function. Must be called once.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void Initialize(
	BinaryStreamPointerBase stream,
	int blockSize,
	Func<uint> getNextNewNodeIndex,
	SparseIndex<TKey> sparseIndex
)

Parameters

stream  BinaryStreamPointerBase
The binary stream to use.
blockSize  Int32
The size of each block.
getNextNewNodeIndex  FuncUInt32
A function to get the next new node index.
sparseIndex  SparseIndexTKey
The sparse index to use.

See Also