blob: f97629721a7e24f77cfbd83f09538cdedcafec20 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#include "io.h"
#include <yt/cpp/mapreduce/interface/logging/yt_log.h>
#include <util/string/cast.h>
namespace NYT {
////////////////////////////////////////////////////////////////////////////////
TMaybe<size_t> IReaderImplBase::GetReadByteCount() const
{
return Nothing();
}
i64 IReaderImplBase::GetTabletIndex() const
{
Y_FAIL("Unimplemented");
}
bool IReaderImplBase::IsEndOfStream() const
{
Y_FAIL("Unimplemented");
}
bool IReaderImplBase::IsRawReaderExhausted() const
{
Y_FAIL("Unimplemented");
}
////////////////////////////////////////////////////////////////////////////////
namespace NDetail {
void LogTableReaderStatistics(ui64 rowCount, TMaybe<size_t> byteCount)
{
TString byteCountStr = (byteCount ? ::ToString(*byteCount) : "<unknown>");
YT_LOG_DEBUG("Table reader has read %v rows, %v bytes",
rowCount,
byteCountStr);
}
} // namespace NDetail
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT
|