MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getBatchSizes

Method getBatchSizes

src/storage/table/arrow_node_table.cpp:148–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148std::vector<size_t> ArrowNodeTable::getBatchSizes(
149 [[maybe_unused]] const transaction::Transaction* transaction) const {
150 std::vector<size_t> batchSizes;
151
152 for (const auto& array : arrays) {
153 batchSizes.push_back(getArrowBatchLength(array));
154 }
155
156 return batchSizes;
157}
158
159size_t ArrowNodeTable::getNumScanMorsels(
160 [[maybe_unused]] const transaction::Transaction* transaction) const {

Callers

nothing calls this directly

Calls 2

getArrowBatchLengthFunction · 0.70
push_backMethod · 0.45

Tested by

no test coverage detected