MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / writeLine

Method writeLine

src/Processors/Formats/Impl/CSVRowOutputFormat.cpp:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void CSVRowOutputFormat::writeLine(const std::vector<String> & values)
24{
25 for (size_t i = 0; i < values.size(); ++i)
26 {
27 writeCSVString(values[i], out);
28 if (i + 1 != values.size())
29 writeFieldDelimiter();
30 }
31 writeRowEndDelimiter();
32}
33
34void CSVRowOutputFormat::writePrefix()
35{

Callers

nothing calls this directly

Calls 3

writeCSVStringFunction · 0.85
writeFieldDelimiterFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected