Property | Type | Description | |
---|---|---|---|
EmptyPointer | byte[] | ||
LinkToZeroNode | byte[] | ||
RecordsCount | ulong | ||
Tree |
Method | Description | |
---|---|---|
AddKey ( byte &key, byte &value, bool &WasUpdated, bool dontUpdateIfExists ) : byte[] |
|
|
LTrieRootNode ( |
||
RemoveAll ( bool withFileRecreation ) : void |
Check TransactionCommit in case of RemoveAll with file Recreation. Note if some other threads are reading parallel data, exception will be thrown in their transaction. It's correct.
|
|
RemoveKey ( byte &key, bool &WasRemoved, bool retrieveDeletedValue, byte &deletedValue ) : void |
Will return pointer to the value of the removing kid (if it existed). Otherwise NULL.
|
|
RollBack ( ) : void | ||
Save_GM_nodes_Starting_From ( int index ) : void | ||
TransactionalCommit ( ) : void | ||
TransactionalRollBack ( ) : void |
Method | Description | |
---|---|---|
DeserializeRootNode ( ) : void |
bytes[] to objects
|
|
ReadRootNode ( ) : void | ||
SerializeRootNode ( ) : byte[] |
Root to byte[]
|
public AddKey ( byte &key, byte &value, bool &WasUpdated, bool dontUpdateIfExists ) : byte[] | ||
key | byte | |
value | byte | |
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 | byte[] |
public RemoveAll ( bool withFileRecreation ) : void | ||
withFileRecreation | bool | |
return | void |
public RemoveKey ( byte &key, bool &WasRemoved, bool retrieveDeletedValue, byte &deletedValue ) : void | ||
key | byte | |
WasRemoved | bool | indicates that value existed if true |
retrieveDeletedValue | bool | indicates if we should bind deleted value to the result |
deletedValue | byte | interesting only if WasRemoved = true and retrieveDeletedValue is true |
return | void |
public Save_GM_nodes_Starting_From ( int index ) : void | ||
index | int | |
return | void |