#pragma once #include #include #include #include namespace DB { /** Поток для ввода данных в бинарном построчном формате. */ class BinaryRowInputStream : public IRowInputStream { public: BinaryRowInputStream(ReadBuffer & istr_, const Block & sample_); bool read(Row & row); RowInputStreamPtr clone() { return new BinaryRowInputStream(istr, sample); } private: ReadBuffer & istr; const Block sample; DataTypes data_types; }; }