Definition at line 111 of file BlindSearchIndex.cs.
Definition at line 133 of file BlindSearchIndex.cs.
136 int size = ranges.Length;
141 for (
int i = 0; i < ranges.Length; ++i) {
readonly byte[] lowerFlags
readonly BlindSearchIndex scheme
readonly byte[] upperFlags
readonly DataObject[] lowerCells
void SetupRange(int i, IndexRange range)
Set up a range.
readonly DataObject[] upperCells
IEnumerable<int> Deveel.Data.Index.BlindSearchIndex.RangeChecker.Resolve |
( |
| ) |
|
|
inline |
Resolves the ranges.
- Returns
Definition at line 220 of file BlindSearchIndex.cs.
223 var list =
new List<int>();
226 int compareTally = 0;
229 while (e.MoveNext()) {
230 int row = e.Current.RowId.RowNumber;
232 for (
int i = 0; i < size; ++i) {
240 result = (compare < 0);
242 result = (compare <= 0);
244 throw new InvalidOperationException(
"Incorrect flag.");
254 result = (compare > 0);
256 result = (compare >= 0);
258 throw new InvalidOperationException(
"Incorrect flag.");
270 return list.AsEnumerable();
readonly byte[] lowerFlags
readonly BlindSearchIndex scheme
const byte CheckLesserEqualOrGreaterEqual
const byte CheckLesserOrGreater
readonly byte[] upperFlags
int CompareTo(DataObject other)
DataObject GetValue(long row)
readonly DataObject[] lowerCells
readonly DataObject[] upperCells
void DoInsertSort(IList< int > list, int row)
Resolves a cell.
- Parameters
-
- Returns
Definition at line 157 of file BlindSearchIndex.cs.
158 if (ob.Equals(IndexRange.FirstInSet)) {
163 if (ob.Equals(IndexRange.LastInSet)) {
readonly BlindSearchIndex scheme
IEnumerable< int > sortedSet
The sorted list of all items in the set created as a cache for finding the first and last values...
DataObject GetValue(long row)
void Deveel.Data.Index.BlindSearchIndex.RangeChecker.ResolveSortedSet |
( |
| ) |
|
|
inlineprivate |
Definition at line 146 of file BlindSearchIndex.cs.
readonly BlindSearchIndex scheme
override IEnumerable< int > SelectAll()
IEnumerable< int > sortedSet
The sorted list of all items in the set created as a cache for finding the first and last values...
void Deveel.Data.Index.BlindSearchIndex.RangeChecker.SetupRange |
( |
int |
i, |
|
|
IndexRange |
range |
|
) |
| |
|
inlineprivate |
Set up a range.
- Parameters
-
Definition at line 176 of file BlindSearchIndex.cs.
177 var l = range.StartValue;
178 var lf = range.StartOffset;
179 var u = range.EndValue;
180 var uf = range.EndOffset;
183 if (l.Equals(IndexRange.FirstInSet) &&
193 throw new InvalidOperationException(
"Incorrect lower flag.");
199 if (u.Equals(IndexRange.LastInSet) &&
209 throw new InvalidOperationException(
"Incorrect upper flag.");
readonly byte[] lowerFlags
DataObject ResolveCell(DataObject ob)
Resolves a cell.
const byte CheckLesserEqualOrGreaterEqual
const byte CheckLesserOrGreater
readonly byte[] upperFlags
readonly DataObject[] lowerCells
RangeFieldOffset
The absolute offset of a field in a range of a selection.
readonly DataObject[] upperCells
const byte Deveel.Data.Index.BlindSearchIndex.RangeChecker.CheckLesserEqualOrGreaterEqual = 2 |
|
private |
const byte Deveel.Data.Index.BlindSearchIndex.RangeChecker.CheckLesserOrGreater = 1 |
|
private |
readonly DataObject [] Deveel.Data.Index.BlindSearchIndex.RangeChecker.lowerCells |
|
private |
readonly byte [] Deveel.Data.Index.BlindSearchIndex.RangeChecker.lowerFlags |
|
private |
const byte Deveel.Data.Index.BlindSearchIndex.RangeChecker.NoCheck = 0 |
|
private |
readonly BlindSearchIndex Deveel.Data.Index.BlindSearchIndex.RangeChecker.scheme |
|
private |
IEnumerable<int> Deveel.Data.Index.BlindSearchIndex.RangeChecker.sortedSet |
|
private |
The sorted list of all items in the set created as a cache for finding the first and last values.
Definition at line 118 of file BlindSearchIndex.cs.
readonly DataObject [] Deveel.Data.Index.BlindSearchIndex.RangeChecker.upperCells |
|
private |
readonly byte [] Deveel.Data.Index.BlindSearchIndex.RangeChecker.upperFlags |
|
private |
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