| 826 | } |
| 827 | |
| 828 | OutputFormatPtr 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 | |
| 835 | String FormatFactory::getContentType(const String & name, const std::optional<FormatSettings> & settings) const |
| 836 | { |