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

Method copy

src/processor/result/result_set_descriptor.cpp:19–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19std::unique_ptr<ResultSetDescriptor> ResultSetDescriptor::copy() const {
20 std::vector<std::unique_ptr<DataChunkDescriptor>> dataChunkDescriptorsCopy;
21 dataChunkDescriptorsCopy.reserve(dataChunkDescriptors.size());
22 for (auto& dataChunkDescriptor : dataChunkDescriptors) {
23 dataChunkDescriptorsCopy.push_back(
24 std::make_unique<DataChunkDescriptor>(*dataChunkDescriptor));
25 }
26 return std::make_unique<ResultSetDescriptor>(std::move(dataChunkDescriptorsCopy));
27}
28
29} // namespace processor
30} // namespace lbug

Callers 15

runMethod · 0.45
ResultSetDescriptorMethod · 0.45
ResultSetMethod · 0.45
FactorizedTableSchemaMethod · 0.45
claimLocalTableMethod · 0.45
createFTableScanMethod · 0.45
getAggregateInputInfosFunction · 0.45
getAggFunctionsFunction · 0.45
mapAggregateMethod · 0.45
createHashAggregateMethod · 0.45
mapLimitMethod · 0.45

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected