mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
44ca56c731
StorageBuffer.
29 lines
536 B
C++
29 lines
536 B
C++
#include <DataStreams/AddingDefaultBlockOutputStream.h>
|
|
#include <Interpreters/addMissingDefaults.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void AddingDefaultBlockOutputStream::write(const Block & block)
|
|
{
|
|
output->write(addMissingDefaults(block, output_block.getNamesAndTypesList(), column_defaults, context));
|
|
}
|
|
|
|
void AddingDefaultBlockOutputStream::flush()
|
|
{
|
|
output->flush();
|
|
}
|
|
|
|
void AddingDefaultBlockOutputStream::writePrefix()
|
|
{
|
|
output->writePrefix();
|
|
}
|
|
|
|
void AddingDefaultBlockOutputStream::writeSuffix()
|
|
{
|
|
output->writeSuffix();
|
|
}
|
|
|
|
}
|