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

Function populateLookupRows

bolt/exec/HashTable.cpp:2258–2267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2256
2257namespace {
2258void populateLookupRows(
2259 const SelectivityVector& rows,
2260 raw_vector<vector_size_t>& lookupRows) {
2261 if (rows.isAllSelected()) {
2262 std::iota(lookupRows.begin(), lookupRows.end(), 0);
2263 } else {
2264 lookupRows.clear();
2265 rows.applyToSelected([&](auto row) { lookupRows.push_back(row); });
2266 }
2267}
2268} // namespace
2269
2270template <bool ignoreNullKeys>

Callers 3

directAddRowsMethod · 0.85
prepareForGroupProbeMethod · 0.85
prepareForJoinProbeMethod · 0.85

Calls 7

isAllSelectedMethod · 0.80
applyToSelectedMethod · 0.80
iotaFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected