diff options
| author | max42 <[email protected]> | 2023-06-30 11:13:34 +0300 |
|---|---|---|
| committer | max42 <[email protected]> | 2023-06-30 11:13:34 +0300 |
| commit | 3e1899838408bbad47622007aa382bc8a2b01f87 (patch) | |
| tree | 0f21c1e6add187ddb6c3ccc048a7d640ce03fb87 /yt/cpp/mapreduce/io/counting_raw_reader.cpp | |
| parent | 5463eb3f5e72a86f858a3d27c886470a724ede34 (diff) | |
Revert "YT-19324: move YT provider to ydb/library/yql"
This reverts commit ca272f12fdd0e8d5c3e957fc87939148f1caaf72, reversing
changes made to 49f8acfc8b0b5c0071b804423bcf53fda26c7c12.
Diffstat (limited to 'yt/cpp/mapreduce/io/counting_raw_reader.cpp')
| -rw-r--r-- | yt/cpp/mapreduce/io/counting_raw_reader.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/yt/cpp/mapreduce/io/counting_raw_reader.cpp b/yt/cpp/mapreduce/io/counting_raw_reader.cpp deleted file mode 100644 index 6a918bdddb9..00000000000 --- a/yt/cpp/mapreduce/io/counting_raw_reader.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "counting_raw_reader.h" - -namespace NYT { -namespace NDetail { - -//////////////////////////////////////////////////////////////////////////////// - -bool TCountingRawTableReader::Retry(const TMaybe<ui32>& rangeIndex, const TMaybe<ui64>& rowIndex) -{ - return Reader_->Retry(rangeIndex, rowIndex); -} - -void TCountingRawTableReader::ResetRetries() -{ - Reader_->ResetRetries(); -} - -bool TCountingRawTableReader::HasRangeIndices() const -{ - return Reader_->HasRangeIndices(); -} - -size_t TCountingRawTableReader::GetReadByteCount() const -{ - return ReadByteCount_; -} - -size_t TCountingRawTableReader::DoRead(void* buf, size_t len) -{ - auto readLen = Reader_->Read(buf, len); - ReadByteCount_ += readLen; - return readLen; -} - -//////////////////////////////////////////////////////////////////////////////// - -} // namespace NDetail -} // namespace NYT |
