#pragma once #include #include #include #include #include namespace DB { /** Поток для вывода данных в формате JSONCompact. */ class JSONCompactRowOutputStream : public JSONRowOutputStream { public: JSONCompactRowOutputStream(WriteBuffer & ostr_, const Block & sample_); void writeField(const Field & field); void writeFieldDelimiter(); void writeRowStartDelimiter(); void writeRowEndDelimiter(); }; }