mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
21 lines
431 B
C++
21 lines
431 B
C++
#pragma once
|
|
#include <Processors/Formats/Impl/JSONEachRowRowOutputFormat.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class JSONEachRowWithProgressRowOutputFormat : public JSONEachRowRowOutputFormat
|
|
{
|
|
public:
|
|
using JSONEachRowRowOutputFormat::JSONEachRowRowOutputFormat;
|
|
|
|
void writeRowStartDelimiter() override;
|
|
void writeRowEndDelimiter() override;
|
|
void onProgress(const Progress & value) override;
|
|
|
|
private:
|
|
Progress progress;
|
|
};
|
|
|
|
}
|