MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getReadBuffer

Method getReadBuffer

src/Backups/BackupEntryFromImmutableFile.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26BackupEntryFromImmutableFile::~BackupEntryFromImmutableFile() = default;
27
28std::unique_ptr<SeekableReadBuffer> BackupEntryFromImmutableFile::getReadBuffer(const ReadSettings & read_settings) const
29{
30 if (copy_encrypted)
31 return disk->readEncryptedFile(file_path, read_settings);
32 return disk->readFile(file_path, read_settings);
33}
34
35UInt64 BackupEntryFromImmutableFile::getSize() const
36{

Callers

nothing calls this directly

Calls 2

readEncryptedFileMethod · 0.45
readFileMethod · 0.45

Tested by

no test coverage detected