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

Method fillRowBatch

src/processor/operator/arrow_result_collector.cpp:292–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292bool ArrowResultCollector::fillRowBatch(ArrowRowBatch& rowBatch) {
293 while (rowBatch.size() < info.chunkSize) {
294 localState.fillTuple();
295 updateCSRMetadata(info.csrTrackingInfo, *localState.tuple, localState);
296 rowBatch.append(*localState.tuple);
297 if (!localState.advance()) {
298 return false;
299 }
300 }
301 return true;
302}
303
304void ArrowResultCollector::initLocalStateInternal(ResultSet* resultSet, ExecutionContext*) {
305 // Assign a unique batch_index for this local collector. The atomic

Callers

nothing calls this directly

Calls 5

updateCSRMetadataFunction · 0.85
fillTupleMethod · 0.80
sizeMethod · 0.45
appendMethod · 0.45
advanceMethod · 0.45

Tested by

no test coverage detected