Property | Type | Description | |
---|---|---|---|
KidsBeforeModification | byte[] | ||
KidsInNode | |||
Pointer | byte[] | ||
ToChangeParentNode | bool | ||
ToRemoveFromParentNode | bool | ||
ToWrite | bool | ||
Value | byte |
Method | Description | |
---|---|---|
GetKidAsValue ( bool searchForAValue, int kid ) : |
||
LTrieGenerationNode ( |
||
ReadSelf ( bool useCache, byte generationMapLine ) : void | ||
RemoveAllKids ( ) : void | ||
RemoveKid ( byte kid, bool lastElementOfTheKey, byte &key, bool &WasRemoved, bool retrieveDeletedValue, byte &deletedValue ) : bool |
Pointer to the removing key value can be null, if such key never existed
|
|
RemoveKidPointer ( byte kid ) : void | ||
SetupKidPointer ( byte kid, byte ptr ) : void | ||
SetupKidWithValue ( byte kid, bool lastElementOfTheKey, byte &fullKey, byte &value, bool useExistingPointerToValue, bool &WasUpdated, bool dontUpdateIfExists ) : |
|
|
SetupKidWithValuePartially ( byte kid, bool lastElementOfTheKey, byte &fullKey, byte &value, bool useExistingPointerToValue, uint startIndex, long &valueStartPtr, bool &WasUpdated ) : |
||
WriteSelf ( byte generationMapLine ) : void |
Method | Description | |
---|---|---|
GetQuantityOfReservationSlots ( ) : int |
Calculating Quantity of Reservations slots for 0 and 1 Evolutions.
|
|
TryOverWriteValue ( byte ptr, byte &value, byte &fullKey ) : byte[] |
Returns pointer to the newly stored value
|
|
TryOverWriteValuePartially ( byte ptr, byte &value, byte &fullKey, uint startIndex, long &valueStartPtr ) : byte[] |
Returns pointer to the newly stored value
|
|
WriteKidValue ( byte &fullKey, byte &value, bool tryToOverwrite, byte overWritePointer ) : byte[] | ||
WriteKidValuePartially ( byte &fullKey, byte &value, bool tryToOverwrite, byte overWritePointer, uint startIndex, long &valueStartPtr ) : byte[] |
public GetKidAsValue ( bool searchForAValue, int kid ) : |
||
searchForAValue | bool | |
kid | int | |
return |
public LTrieGenerationNode ( |
||
rootNode | ||
return | System |
public ReadSelf ( bool useCache, byte generationMapLine ) : void | ||
useCache | bool | |
generationMapLine | byte | |
return | void |
public RemoveKid ( byte kid, bool lastElementOfTheKey, byte &key, bool &WasRemoved, bool retrieveDeletedValue, byte &deletedValue ) : bool | ||
kid | byte | |
lastElementOfTheKey | bool | |
key | byte | |
WasRemoved | bool | indicates that value existed if true |
retrieveDeletedValue | bool | indicates if we must also return deleted value |
deletedValue | byte | |
return | bool |
public SetupKidPointer ( byte kid, byte ptr ) : void | ||
kid | byte | |
ptr | byte | |
return | void |
public SetupKidWithValue ( byte kid, bool lastElementOfTheKey, byte &fullKey, byte &value, bool useExistingPointerToValue, bool &WasUpdated, bool dontUpdateIfExists ) : |
||
kid | byte | |
lastElementOfTheKey | bool | |
fullKey | byte | |
value | byte | |
useExistingPointerToValue | bool | |
WasUpdated | bool | true means that value existed and was updated |
dontUpdateIfExists | bool | When true - if value exists, we dont update it. If WasUpdated = true then we value exists, if false - we have inserted new one |
return |
public SetupKidWithValuePartially ( byte kid, bool lastElementOfTheKey, byte &fullKey, byte &value, bool useExistingPointerToValue, uint startIndex, long &valueStartPtr, bool &WasUpdated ) : |
||
kid | byte | |
lastElementOfTheKey | bool | |
fullKey | byte | |
value | byte | |
useExistingPointerToValue | bool | |
startIndex | uint | |
valueStartPtr | long | |
WasUpdated | bool | |
return |
public WriteSelf ( byte generationMapLine ) : void | ||
generationMapLine | byte | |
return | void |
public LTrieKidsInNode,DBreeze.LianaTrie KidsInNode | ||
return |