blob: baa163fb8fd2f0bab7723e55865ddf502fd77509 (
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
|
#pragma once
#include "data_statistics.h"
#include "ready_event_reader_base.h"
namespace NYT::NChunkClient {
////////////////////////////////////////////////////////////////////////////////
struct IReaderBase
: public virtual IReadyEventReaderBase
{
virtual NProto::TDataStatistics GetDataStatistics() const = 0;
virtual TCodecStatistics GetDecompressionStatistics() const = 0;
virtual bool IsFetchingCompleted() const = 0;
virtual std::vector<TChunkId> GetFailedChunkIds() const = 0;
};
DEFINE_REFCOUNTED_TYPE(IReaderBase)
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NChunkClient
|