SparseIndexTKeyInitialize Method
Creates a sparse index on the tree.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void Initialize(
BinaryStreamPointerBase stream,
int blockSize,
Func<uint> getNextNewNodeIndex,
byte rootNodeLevel,
uint rootNodeIndexAddress
)
Public Sub Initialize (
stream As BinaryStreamPointerBase,
blockSize As Integer,
getNextNewNodeIndex As Func(Of UInteger),
rootNodeLevel As Byte,
rootNodeIndexAddress As UInteger
)
public:
void Initialize(
BinaryStreamPointerBase^ stream,
int blockSize,
Func<unsigned int>^ getNextNewNodeIndex,
unsigned char rootNodeLevel,
unsigned int rootNodeIndexAddress
)
function Initialize(stream, blockSize, getNextNewNodeIndex, rootNodeLevel, rootNodeIndexAddress);
Parameters
- stream BinaryStreamPointerBase
- The stream to use to write the index
- blockSize Int32
- The size of each node that will be used by this index.
- getNextNewNodeIndex FuncUInt32
- A method to use when additional nodes must be allocated.
- rootNodeLevel Byte
- the level of the root node.
- rootNodeIndexAddress UInt32
- the address location for the root node.
| Exception | Throw of duplicate calls are made to this function |
| ArgumentOutOfRangeException | Thrown if the block size is not large enough to store at least 4 elements. |