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

Method store

bolt/exec/tests/HashTableTest.cpp:465–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463 }
464
465 void store(RowContainer& rowContainer, const RowVectorPtr& data) {
466 std::vector<DecodedVector> decodedVectors;
467 for (auto& vector : data->children()) {
468 decodedVectors.emplace_back(*vector);
469 }
470
471 std::vector<char*> rows;
472 for (auto i = 0; i < data->size(); ++i) {
473 auto* row = rowContainer.newRow();
474
475 for (auto j = 0; j < decodedVectors.size(); ++j) {
476 rowContainer.store(decodedVectors[j], i, row, j);
477 }
478 }
479 }
480
481 void testProbe() {
482 auto lookup = std::make_unique<HashLookup>(

Callers 14

TEST_FFunction · 0.45
DEBUG_ONLY_TEST_FFunction · 0.45
DEBUG_ONLY_TEST_FFunction · 0.45
copyVectorsToTableMethod · 0.45
DEBUG_ONLY_TEST_PFunction · 0.45
setupSpillDataMethod · 0.45
writeSpillDataMethod · 0.45
DEBUG_ONLY_TEST_FFunction · 0.45
setupSpillDataMethod · 0.45
writeSpillDataMethod · 0.45
TEST_PFunction · 0.45
DEBUG_ONLY_TEST_PFunction · 0.45

Calls 3

childrenMethod · 0.45
sizeMethod · 0.45
newRowMethod · 0.45

Tested by

no test coverage detected