#include #include #include namespace DB { BinaryRowInputStream::BinaryRowInputStream(ReadBuffer & istr_) : istr(istr_) { } bool BinaryRowInputStream::read(Block & block) { if (istr.eof()) return false; size_t columns = block.columns(); for (size_t i = 0; i < columns; ++i) block.getByPosition(i).type->deserializeBinary(*block.getByPosition(i).column.get(), istr); return true; } }