#pragma once #include #include namespace DB { class ReadBuffer; /** A stream for inputting data in a binary line-by-line format. */ class BinaryRowInputFormat : public IRowInputFormat { public: BinaryRowInputFormat(ReadBuffer & in_, Block header, Params params, bool with_names_, bool with_types_); bool readRow(MutableColumns & columns, RowReadExtension &) override; void readPrefix() override; String getName() const override { return "BinaryRowInputFormat"; } private: bool with_names; bool with_types; }; }