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

Method getDefaultJSONEachRowOutputFormat

src/Formats/FormatFactory.cpp:828–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826}
827
828OutputFormatPtr FormatFactory::getDefaultJSONEachRowOutputFormat(WriteBuffer & buf, const Block & sample) const
829{
830 const auto & output_getter = getCreators("JSONEachRow").output_creator;
831 chassert(output_getter);
832 return output_getter(buf, sample, {}, {});
833}
834
835String FormatFactory::getContentType(const String & name, const std::optional<FormatSettings> & settings) const
836{

Callers 1

dumpBlockToJSONFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected