![]() |
DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
A comparer that is used within IIndex<T> to compares two values which are indices to data that is being compared. More...
Public Member Functions | |
| int | CompareValue (T index, DataObject value) |
| Compares a value contained in the underlying index at the given position and the More... | |
| int | Compare (T index1, T index2) |
| Comnpares two values referenced by the indices given. More... | |
A comparer that is used within IIndex<T> to compares two values which are indices to data that is being compared.
For example, an instance of IIndex<T> may contains indices to cells in the column of a table. This object is used to make sorted lists, to lookup the index values in the list for sorting and searching.
Definition at line 29 of file IIndexComparer_T.cs.
| int Deveel.Data.Index.IIndexComparer< T >.Compare | ( | T | index1, |
| T | index2 | ||
| ) |
Comnpares two values referenced by the indices given.
| index1 | The offset within the underlying index at which to get the first value to compare. |
| index2 | The offset within the underlying index at which to get the second value to compare. |
| int Deveel.Data.Index.IIndexComparer< T >.CompareValue | ( | T | index, |
| DataObject | value | ||
| ) |
Compares a value contained in the underlying index at the given position and the
| index | The offset within the underlying index at which to get the first value to compare. |
| value | The value to compare with the one retrieved from the underlying index at the given position. |
1.8.10