Definition at line 25 of file BlindSearchIndex.cs.
Deveel.Data.Index.BlindSearchIndex.BlindSearchIndex |
( |
ITable |
table, |
|
|
int |
columnOffset |
|
) |
| |
|
inline |
void Deveel.Data.Index.BlindSearchIndex.AssertNotReadOnly |
( |
| ) |
|
|
inlineprivate |
Definition at line 34 of file BlindSearchIndex.cs.
36 throw new ArgumentException(
"Cannot mutate a read-only index.");
override ColumnIndex Deveel.Data.Index.BlindSearchIndex.Copy |
( |
ITable |
table, |
|
|
bool |
readOnly |
|
) |
| |
|
inlinevirtual |
void Deveel.Data.Index.BlindSearchIndex.DoInsertSort |
( |
IList< int > |
list, |
|
|
int |
row |
|
) |
| |
|
inlineprivate |
Definition at line 64 of file BlindSearchIndex.cs.
65 int listSize = list.Count;
70 if (point == listSize) {
73 list.Insert(point, row);
DataObject GetValue(long row)
int HighestSearch(DataObject ob, IList< int > list, int lower, int higher)
int Deveel.Data.Index.BlindSearchIndex.HighestSearch |
( |
DataObject |
ob, |
|
|
IList< int > |
list, |
|
|
int |
lower, |
|
|
int |
higher |
|
) |
| |
|
inlineprivate |
Definition at line 39 of file BlindSearchIndex.cs.
40 if ((higher - lower) <= 5) {
42 for (var i = higher; i >= lower; --i) {
43 int res = ob.CompareTo(
GetValue(list[i]));
51 var mid = (lower + higher)/2;
52 int compResult = ob.CompareTo(
GetValue(list[mid]));
DataObject GetValue(long row)
int HighestSearch(DataObject ob, IList< int > list, int lower, int higher)
override void Deveel.Data.Index.BlindSearchIndex.Insert |
( |
int |
rowNumber | ) |
|
|
inlinevirtual |
override void Deveel.Data.Index.BlindSearchIndex.Remove |
( |
int |
rowNumber | ) |
|
|
inlinevirtual |
override IEnumerable<int> Deveel.Data.Index.BlindSearchIndex.SelectAll |
( |
| ) |
|
|
inlinevirtual |
override IEnumerable<int> Deveel.Data.Index.BlindSearchIndex.SelectRange |
( |
IndexRange[] |
ranges | ) |
|
|
inlinevirtual |
override string Deveel.Data.Index.BlindSearchIndex.IndexType |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Index/BlindSearchIndex.cs