MCPcopy Create free account
hub / github.com/bytedance/bolt / allRows

Method allRows

bolt/exec/HashTable.cpp:1670–1678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1668
1669template <bool ignoreNullKeys>
1670std::vector<RowContainer*> HashTable<ignoreNullKeys>::allRows() const {
1671 std::vector<RowContainer*> rowContainers;
1672 rowContainers.reserve(otherTables_.size() + 1);
1673 rowContainers.push_back(rows_.get());
1674 for (auto& other : otherTables_) {
1675 rowContainers.push_back(other->rows_.get());
1676 }
1677 return rowContainers;
1678}
1679
1680template <bool ignoreNullKeys>
1681std::vector<HybridContainer*> HashTable<ignoreNullKeys>::allHybridContainers()

Callers 1

testCycleMethod · 0.80

Calls 4

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45
getMethod · 0.45

Tested by 1

testCycleMethod · 0.64