Use IInputFormat and IOutputFormat by default.

This commit is contained in:
Nikolai Kochetov 2019-07-25 12:28:33 +03:00
parent a22540d010
commit 69f860a5ef
2 changed files with 4 additions and 4 deletions

View File

@ -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())); }

View File

@ -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(); }