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

Method finalizeImpl

src/Processors/Formats/Impl/XMLRowOutputFormat.cpp:183–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182
183void XMLRowOutputFormat::finalizeImpl()
184{
185 writeCString("\t<rows>", *ostr);
186 writeIntText(row_count, *ostr);
187 writeCString("</rows>\n", *ostr);
188
189
190 writeRowsBeforeLimitAtLeast();
191 writeRowsBeforeAggregationAtLeast();
192
193 if (!exception_message.empty())
194 writeException();
195 else if (format_settings.write_statistics)
196 writeStatistics();
197
198 writeCString("</result>\n", *ostr);
199 ostr->next();
200}
201
202void XMLRowOutputFormat::resetFormatterImpl()
203{

Callers

nothing calls this directly

Calls 4

writeIntTextFunction · 0.85
writeExceptionFunction · 0.50
emptyMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected