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

Function combineFunc

src/function/export/export_csv_function.cpp:256–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256static void combineFunc(ExportFuncSharedState& sharedState, ExportFuncLocalState& localState) {
257 auto& serializer = localState.cast<ExportCSVLocalState>().serializer;
258 auto& exportCSVSharedState = sharedState.cast<ExportCSVSharedState>();
259 if (serializer->getSize() > 0) {
260 exportCSVSharedState.writeRows(serializer->getBlobData(), serializer->getSize());
261 serializer->clear();
262 }
263}
264
265static void finalizeFunc(ExportFuncSharedState&) {}
266

Callers 1

combineStateMethod · 0.50

Calls 3

writeRowsMethod · 0.80
getSizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected