VelocityDbComparerKey Class |
Namespace: VelocityDb.Collection.Comparer
[SerializableAttribute] public class VelocityDbComparer<Key> : OptimizedPersistable, IComparer<Key>
The VelocityDbComparerKey type exposes the following members.
Name | Description | |
---|---|---|
VelocityDbComparerKey | Initializes a new instance of the VelocityDbComparerKey class |
Name | Description | |
---|---|---|
AddOidCompare |
The default compare compares the object Oid's but subclasses may not want to do so as a last compare before declaring objects as being equal.
| |
OidPartOfComparisonBytes |
Is the Oid part of the comparison bytes? If so, we don't need to do a separate Oid compare when Oid is part of compare
|
Name | Description | |
---|---|---|
Compare(Key, Key) |
If the Key objects implements IComparable then the NodeKeys are compared that way, otherwise the Id are compared
| |
Compare(Byte, Int32, Byte, Key) |
Internal use, compares comparison array bytes
| |
SetComparisonArrayFromObject |
Comparators that use comparison arrays need to override this function. Given a Key object, set the comparisonArray bytes
|
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.) |