ClickHouse/src/IO/WriteSettings.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
573 B
C++
Raw Normal View History

2022-03-21 08:52:48 +00:00
#pragma once
2022-03-14 18:40:53 +00:00
#include <Common/Throttler_fwd.h>
2022-03-14 18:40:53 +00:00
namespace DB
{
2022-04-07 16:46:46 +00:00
/// Settings to be passed to IDisk::writeFile()
2022-03-14 18:40:53 +00:00
struct WriteSettings
{
/// Bandwidth throttler to use during writing
2022-07-14 15:33:22 +00:00
ThrottlerPtr remote_throttler;
2022-07-16 20:49:15 +00:00
/// Filesystem cache settings
2022-03-30 11:47:44 +00:00
bool enable_filesystem_cache_on_write_operations = false;
2022-05-14 12:26:04 +00:00
bool enable_filesystem_cache_log = false;
2022-06-10 10:33:29 +00:00
bool is_file_cache_persistent = false;
bool s3_allow_parallel_part_upload = true;
/// Monitoring
bool for_object_storage = false; // to choose which profile events should be incremented
2022-03-14 18:40:53 +00:00
};
}