BTreeBaseKey, Value Methods |
The BTreeBaseKey, Value generic type exposes the following members.
Name | Description | |
---|---|---|
Add(Key) |
Adds an element to the set and returns a value that indicates if it was successfully added
| |
Add(Key, Value) |
Add a key with an associated value to a BTreeMap
| |
Add(Key, Value, Byte) |
Adds a key and value to the map and returns a value that indicates if it was successfully added
| |
AddFast |
Adds an element to an array of to be added objects.
The objects in this array are added when a call toFlushTransients is triggered by multiple events such as calling Count and when collection is committed and/or flushed to disk or when the array is full.
The array size is by default currently BTreeAddFastTransientBatchSize but you can get/set the desired size with TransientBatchSize | |
AddWithComparisonArray |
Adds an element to the set and returns a value that indicates if it was successfully added
| |
Clear |
Removes all elements from the set.
| |
Contains(Key) |
Determines whether the set contains a specific element.
| |
Contains(Key, Byte) |
Determines whether the set contains a specific element.
| |
CopyTo |
Copies a range of elements from the BTreeBase to a compatible one-dimensional array, starting at the specified index of the target array.
| |
FlushTransients |
Adds all queued up to be added objects after presorting them transiently
(Overrides OptimizedPersistableFlushTransients.) | |
GetEnumerator |
Enumerates all contained Key objects in sorted order
| |
GetKeyId(Key) |
When Key type implements IOptimizedPersistable, you can use this function to get the Id of the persistent object instead of the entire object.
Use for performance reasons in certain cases where reading the object isn't desired. To avoid opening the object, a comparison array which is flagged as complete key must be used.
| |
GetKeyId(Key, Byte) |
When Key type implements IOptimizedPersistable, you can use this function to get the Id of the persistent object instead of the entire object.
Use for performance reasons in certain cases where reading the object isn't desired. To avoid opening the object, a comparison array which is flagged as complete key must be used.
| |
InitializeAfterRead |
Sets up some transient variables
(Overrides OptimizedPersistableInitializeAfterRead(SessionBase).) | |
InitializeAfterRecreate |
This function is called when an object has been read from disk before all data members (fields) have been fully loaded. Override this to provide your own initializations of transient data.
(Overrides OptimizedPersistableInitializeAfterRecreate(SessionBase).) | |
InitNew |
Internal use only
| |
Iterator |
Initializes an iterator to find the keys of this set
| |
Remove(Key) |
Removes a specified item from the set.
| |
Remove(Key, Byte) |
Removes a specified item from the set.
| |
SearchTransients | ||
TryGetKey(Key, Key) |
Gets the value matching persistent key with the specified key.
| |
TryGetKey(Key, Byte, Key) |
Gets the value associated with the specified key.
|
Name | Description | |
---|---|---|
ToStringDetails(SessionBase, Boolean) | Overloaded.
Object details as a string
(Defined by Utilities.) | |
ToStringDetails(Schema, TypeVersion, Boolean) | Overloaded.
Currently only used by Database Manager
(Defined by Utilities.) |