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

Method load

bolt/vector/LazyVector.cpp:72–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70} // namespace
71
72void VectorLoader::load(
73 RowSet rows,
74 ValueHook* hook,
75 vector_size_t resultSize,
76 VectorPtr* result) {
77 {
78 LazyIoStatsRecorder recorder(result);
79 loadInternal(rows, hook, resultSize, result);
80 }
81 if (hook) {
82 // Record number of rows loaded directly into ValueHook bypassing
83 // materialization into vector. This counter can be used to understand
84 // whether aggregation pushdown is happening or not.
85 addThreadLocalRuntimeStat("loadedToValueHook", RuntimeCounter(rows.size()));
86 }
87}
88
89void VectorLoader::load(
90 const SelectivityVector& rows,

Callers 15

ensureLoadedRowsImplMethod · 0.45
loadVectorInternalMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
toShortJsonLockedMethod · 0.45
toJsonMethod · 0.45
toJsonMethod · 0.45
toJsonMethod · 0.45
toJsonMethod · 0.45

Calls 15

RuntimeCounterClass · 0.85
indicesOfSetBitsFunction · 0.85
sizeFunction · 0.85
isAllSelectedMethod · 0.80
countSelectedMethod · 0.80
allBitsMethod · 0.80
backMethod · 0.80
createFunction · 0.70
loadFunction · 0.50
sizeMethod · 0.45
emptyMethod · 0.45

Tested by 15

TEST_FFunction · 0.36
TEST_FFunction · 0.36
DEBUG_ONLY_TEST_FFunction · 0.36
DEBUG_ONLY_TEST_PFunction · 0.36
DEBUG_ONLY_TEST_FFunction · 0.36
TEST_FFunction · 0.36
DEBUG_ONLY_TEST_FFunction · 0.36
DEBUG_ONLY_TEST_FFunction · 0.36
DEBUG_ONLY_TEST_PFunction · 0.36
DEBUG_ONLY_TEST_FFunction · 0.36
DEBUG_ONLY_TEST_PFunction · 0.36