#pragma once #include namespace NYT { class IProxyOutput; //////////////////////////////////////////////////////////////////////////////// class TYaMRTableWriter : public IYaMRWriterImpl { public: explicit TYaMRTableWriter(THolder output); ~TYaMRTableWriter() override; void AddRow(const TYaMRRow& row, size_t tableIndex) override; void AddRow(TYaMRRow&& row, size_t tableIndex) override; size_t GetBufferMemoryUsage() const override; size_t GetTableCount() const override; void FinishTable(size_t) override; void Abort() override; private: THolder Output_; }; //////////////////////////////////////////////////////////////////////////////// } // namespace NYT