SelectIndex
An implementation of select that uses an index.
Requires that the index be usable for the predicate.
(Discussed previously)
Constructor
The SelectIndex constructor describes the search.
SelectIndex::SelectIndex(
Index* index,
Comparsion comparison,
vector<Value> values)
where:
- index: The index to be searched.
- comparison: One of LE, LT, EQ, GT, GE.
- values: A vector of key values. Number of
values ≤ number of index key columns.
|