#pragma once #include namespace DB { class ReadBuffer; /** Input format is a source, that reads data from ReadBuffer. */ class IInputFormat : public ISource { protected: /// Skip GCC warning: ‘maybe_unused’ attribute ignored #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wattributes" ReadBuffer & in [[maybe_unused]]; #pragma GCC diagnostic pop public: IInputFormat(Block header, ReadBuffer & in) : ISource(std::move(header)), in(in) { } }; }