MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / clear

Method clear

src/storage/local_storage/local_node_table.cpp:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void LocalNodeTable::clear(MemoryManager& mm) {
114 auto& nodeTable = dynamic_cast_checked<const NodeTable&>(table);
115 hashIndex = std::make_unique<LocalHashIndex>(mm,
116 nodeTable.getColumn(nodeTable.getPKColumnID()).getDataType().getPhysicalType(),
117 overflowFileHandle);
118 nodeGroups.clear();
119}
120
121bool LocalNodeTable::lookupPK(const Transaction* transaction, const ValueVector* keyVector,
122 sel_t pos, offset_t& result) const {

Callers 3

rollbackMethod · 0.45
initializeScanMethod · 0.45
scanMethod · 0.45

Calls 3

getDataTypeMethod · 0.80
getColumnMethod · 0.80
getPhysicalTypeMethod · 0.45

Tested by

no test coverage detected