NodeHeaderTKey Class

Contains basic data about a node in the SortedTree.

Definition

Namespace: SnapDB.Snap.Tree.Specialized
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public class NodeHeader<TKey>
where TKey : new(), SnapTypeBase<TKey>
Inheritance
Object    NodeHeaderTKey

Type Parameters

TKey
The key that the SortedTree contains.

Constructors

NodeHeaderTKey The constructor that is used for inheriting. Must call Initialize before using it.

Properties

HeaderSize Gets the byte offset of the header size.
RemainingBytes Gets the number of remaining bytes in the current data block.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Save Saves the node header data to a memory location pointed to by a byte pointer.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

BlockSize The size, in bytes, of the node block.
IndexSize The size, in bytes, of an index field.
KeySize The size, in bytes, of a key.
LeftSiblingNodeIndex The index of the left sibling node.
Level The level of the node within the B-tree structure.
LowerKey The lower key associated with the node.
NodeIndex The index of the node.
OffsetOfLeftSibling The offset of the left sibling node index field within the node header.
OffsetOfLowerBounds The offset of the lower bounds field within the node header.
OffsetOfNodeLevel The offset of the node level field within the node header.
OffsetOfRecordCount The offset of the record count field within the node header.
OffsetOfRightSibling The offset of the right sibling node index field within the node header.
OffsetOfValidBytes The offset of the valid bytes field within the node header.
OffsetOfVersion The offset of the version field within the node header.
RecordCount The number of records within the node.
RightSiblingNodeIndex The index of the right sibling node.
UpperKey The upper key associated with the node.
ValidBytes The number of valid bytes within the node.
Version The version of the node header.

See Also