Click or drag to resize

BTreeBaseKey, Value Methods

The BTreeBaseKey, Value generic type exposes the following members.

Methods
  NameDescription
Public methodAdd(Key)
Adds an element to the set and returns a value that indicates if it was successfully added
Public methodAdd(Key, Value)
Add a key with an associated value to a BTreeMap
Public methodAdd(Key, Value, Byte)
Adds a key and value to the map and returns a value that indicates if it was successfully added
Public methodAddFast
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
Public methodAddWithComparisonArray
Adds an element to the set and returns a value that indicates if it was successfully added
Public methodClear
Removes all elements from the set.
Public methodContains(Key)
Determines whether the set contains a specific element.
Public methodContains(Key, Byte)
Determines whether the set contains a specific element.
Public methodCopyTo
Copies a range of elements from the BTreeBase to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodFlushTransients
Adds all queued up to be added objects after presorting them transiently
(Overrides OptimizedPersistableFlushTransients.)
Public methodGetEnumerator
Enumerates all contained Key objects in sorted order
Public methodGetKeyId(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.
Public methodGetKeyId(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.
Public methodInitializeAfterRead
Sets up some transient variables
(Overrides OptimizedPersistableInitializeAfterRead(SessionBase).)
Public methodInitializeAfterRecreate
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).)
Public methodInitNew
Internal use only
Public methodIterator
Initializes an iterator to find the keys of this set
Public methodRemove(Key)
Removes a specified item from the set.
Public methodRemove(Key, Byte)
Removes a specified item from the set.
Public methodSearchTransients
Public methodTryGetKey(Key, Key)
Gets the value matching persistent key with the specified key.
Public methodTryGetKey(Key, Byte, Key)
Gets the value associated with the specified key.
Top
Extension Methods
  NameDescription
Public Extension MethodToStringDetails(SessionBase, Boolean)Overloaded.
Object details as a string
(Defined by Utilities.)
Public Extension MethodToStringDetails(Schema, TypeVersion, Boolean)Overloaded.
Currently only used by Database Manager
(Defined by Utilities.)
Top
See Also