blob: cf88eaf28786920616b06cae7e6320e43236f94d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include <yt/cpp/mapreduce/interface/io.h>
namespace NYT {
class IProxyOutput;
////////////////////////////////////////////////////////////////////////////////
class TYaMRTableWriter
: public IYaMRWriterImpl
{
public:
explicit TYaMRTableWriter(THolder<IProxyOutput> output);
~TYaMRTableWriter() override;
void AddRow(const TYaMRRow& row, size_t tableIndex) override;
void AddRow(TYaMRRow&& row, size_t tableIndex) override;
size_t GetTableCount() const override;
void FinishTable(size_t) override;
void Abort() override;
private:
THolder<IProxyOutput> Output_;
};
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT
|