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

Method write

src/function/gds/output_writer.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void PathsOutputWriter::write(FactorizedTable& fTable, table_id_t tableID, LimitCounter* counter) {
70 auto& sparseGraph = bfsGraph.cast<SparseBFSGraph>();
71 for (auto& [offset, _] : sparseGraph.getCurrentData()) {
72 write(fTable, {offset, tableID}, counter);
73 }
74 if (info.lowerBound == 0 && sourceNodeID_.tableID == tableID) {
75 write(fTable, sourceNodeID_, counter);
76 }
77}
78
79void PathsOutputWriter::write(FactorizedTable& fTable, nodeID_t dstNodeID, LimitCounter* counter) {
80 if (!inOutputNodeMask(dstNodeID.offset)) {

Callers 2

scanTableDataToChunkFunction · 0.45
writeStringFunction · 0.45

Calls 1

writeFunction · 0.50

Tested by

no test coverage detected