MCPcopy Create free account
hub / github.com/ByConity/ByConity / writeFile

Method writeFile

src/Storages/MergeTree/GinIndexDataPartHelper.cpp:38–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38std::unique_ptr<WriteBufferFromFileBase> GinDataLocalPartHelper::writeFile(const String& file_name,
39 size_t buf_size, WriteMode write_mode)
40{
41 return disk->writeFile(std::filesystem::path(relative_path) / file_name,
42 WriteSettings {
43 .buffer_size = buf_size,
44 .mode = write_mode
45 }
46 );
47}
48
49bool GinDataLocalPartHelper::exists(const String& file_name) const
50{

Callers 15

mutateMethod · 0.45
LogBlockOutputStreamMethod · 0.45
StreamMethod · 0.45
checkDataMethod · 0.45
StreamMethod · 0.45
initMethod · 0.45
StreamMethod · 0.45
initPrimaryIndexMethod · 0.45
storeMethod · 0.45
MergeTreeDataMethod · 0.45

Calls 1

ExceptionClass · 0.50

Tested by

no test coverage detected