mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Use IInputFormat and IOutputFormat by default.
This commit is contained in:
parent
a22540d010
commit
69f860a5ef
@ -64,8 +64,8 @@ public:
|
||||
|
||||
void write(const Block & block) { consume(Chunk(block.getColumns(), block.rows())); }
|
||||
|
||||
void writePrefix() {}
|
||||
void writeSuffix() { finalize(); }
|
||||
void doWritePrefix() {}
|
||||
void doWriteSuffix() { finalize(); }
|
||||
|
||||
void setTotals(const Block & totals) { consume(Chunk(totals.getColumns(), totals.rows())); }
|
||||
void setExtremes(const Block & extremes) { consume(Chunk(extremes.getColumns(), extremes.rows())); }
|
||||
|
@ -14,8 +14,8 @@ void OutputStreamToOutputFormat::write(const Block & block)
|
||||
output_format->write(block);
|
||||
}
|
||||
|
||||
void OutputStreamToOutputFormat::writePrefix() { output_format->writePrefix(); }
|
||||
void OutputStreamToOutputFormat::writeSuffix() { output_format->writeSuffix(); }
|
||||
void OutputStreamToOutputFormat::writePrefix() { output_format->doWritePrefix(); }
|
||||
void OutputStreamToOutputFormat::writeSuffix() { output_format->doWriteSuffix(); }
|
||||
|
||||
void OutputStreamToOutputFormat::flush() { output_format->flush(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user