MCPcopy Create free account
hub / github.com/cwida/FastLanes / to_csv

Method to_csv

src/csv/csv.cpp:18–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 const auto& vec = chunk.vecs[col_id].get();
17 visit(overloaded {[&]<typename PT>(const up<TypedVector<PT>>& typed_vector) {
18 stream << typed_vector->m_data[row_id];
19 },
20 [](auto&) {
21 FLS_UNREACHABLE();
22 }},
23 vec);
24
25 if (col_id < chunk.vecs.size() - 1) { stream << "|"; };
26 if (col_id == chunk.vecs.size() - 1) { stream << "\n"; };
27 };
28 }
29 File::write(file_path, stream.str());
30}
31} // namespace fastlanes

Callers 8

bind_table_readerFunction · 0.45
mainFunction · 0.45
bridge_shim.hppFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
generate_1Function · 0.45

Calls 3

ToStrFunction · 0.50
sizeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected