mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +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 write(const Block & block) { consume(Chunk(block.getColumns(), block.rows())); }
|
||||||
|
|
||||||
void writePrefix() {}
|
void doWritePrefix() {}
|
||||||
void writeSuffix() { finalize(); }
|
void doWriteSuffix() { finalize(); }
|
||||||
|
|
||||||
void setTotals(const Block & totals) { consume(Chunk(totals.getColumns(), totals.rows())); }
|
void setTotals(const Block & totals) { consume(Chunk(totals.getColumns(), totals.rows())); }
|
||||||
void setExtremes(const Block & extremes) { consume(Chunk(extremes.getColumns(), extremes.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);
|
output_format->write(block);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OutputStreamToOutputFormat::writePrefix() { output_format->writePrefix(); }
|
void OutputStreamToOutputFormat::writePrefix() { output_format->doWritePrefix(); }
|
||||||
void OutputStreamToOutputFormat::writeSuffix() { output_format->writeSuffix(); }
|
void OutputStreamToOutputFormat::writeSuffix() { output_format->doWriteSuffix(); }
|
||||||
|
|
||||||
void OutputStreamToOutputFormat::flush() { output_format->flush(); }
|
void OutputStreamToOutputFormat::flush() { output_format->flush(); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user