/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
yt/cpp/mapreduce/io/node_table_writer.h
34 строки
917 B
Anton Myagkov
Update ydb version to 24.4 (#4579)
07 фев 2026, 11:59
Не верифицирован
07 фев 2026, 11:59
2c21cae
Код
Авторство
О чём код?
#pragma once #include <yt/cpp/mapreduce/interface/io.h> #include <library/cpp/yson/public.h> namespace NYT { class IProxyOutput; //////////////////////////////////////////////////////////////////////////////// class TNodeTableWriter : public INodeWriterImpl { public: explicit TNodeTableWriter(THolder<IProxyOutput> output, ::NYson::EYsonFormat format = ::NYson::EYsonFormat::Binary); ~TNodeTableWriter() override; void AddRow(const TNode& row, size_t tableIndex) override; void AddRow(TNode&& 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<IProxyOutput> Output_; TVector<THolder<::NYson::TYsonWriter>> Writers_; }; //////////////////////////////////////////////////////////////////////////////// } // namespace NYT