| 42 | } |
| 43 | |
| 44 | bool LocalNodeTable::isVisible(const Transaction* transaction, offset_t offset) const { |
| 45 | auto [nodeGroupIdx, offsetInGroup] = |
| 46 | StorageUtils::getNodeGroupIdxAndOffsetInChunk(offset - startOffset); |
| 47 | auto* nodeGroup = nodeGroups.getNodeGroup(nodeGroupIdx); |
| 48 | if (nodeGroup->isDeleted(transaction, offsetInGroup)) { |
| 49 | return false; |
| 50 | } |
| 51 | return nodeGroup->isInserted(transaction, offsetInGroup); |
| 52 | } |
| 53 | |
| 54 | offset_t LocalNodeTable::validateUniquenessConstraint(const Transaction* transaction, |
| 55 | const ValueVector& pkVector) const { |
nothing calls this directly
no test coverage detected