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

Function translateToInnerRows

bolt/vector/SelectivityVector.cpp:71–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void translateToInnerRows(
72 const SelectivityVector& outerRows,
73 const vector_size_t* indices,
74 const uint64_t* nulls,
75 SelectivityVector& innerRows) {
76 outerRows.applyToSelected([&](vector_size_t row) {
77 if (!(nulls && bits::isBitNull(nulls, row))) {
78 innerRows.setValid(indices[row], true);
79 }
80 });
81 innerRows.updateBounds();
82}
83
84} // namespace bytedance::bolt

Callers 1

translateToInnerRowsMethod · 0.50

Calls 4

isBitNullFunction · 0.85
applyToSelectedMethod · 0.80
setValidMethod · 0.80
updateBoundsMethod · 0.80

Tested by

no test coverage detected