mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +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;
|
|
};
|
|
|
|
}
|