| 866 | } |
| 867 | |
| 868 | bool NodeTable::lookupPKRange(const Transaction* transaction, ValueVector* lowerBoundVector, |
| 869 | uint64_t lowerBoundPos, bool lowerInclusive, ValueVector* upperBoundVector, |
| 870 | uint64_t upperBoundPos, bool upperInclusive, idx_t maxResults, |
| 871 | std::vector<offset_t>& results) const { |
| 872 | auto* pkIndex = tryGetPrimaryKeyIndex(); |
| 873 | if (pkIndex == nullptr) { |
| 874 | return false; |
| 875 | } |
| 876 | return pkIndex->scanPrimaryKeyRange(lowerBoundVector, lowerBoundPos, lowerInclusive, |
| 877 | upperBoundVector, upperBoundPos, upperInclusive, maxResults, results, |
| 878 | [&](offset_t offset) { return isVisibleNoLock(transaction, offset); }); |
| 879 | } |
| 880 | |
| 881 | bool NodeTable::lookupIndexRange(const Transaction* transaction, const std::string& indexName, |
| 882 | ValueVector* lowerBoundVector, uint64_t lowerBoundPos, bool lowerInclusive, |
no test coverage detected