aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Disks/ObjectStorages/DiskObjectStorageCommon.h
blob: 0bdbe0dfd369f775f5abad7b0c5e921d9ddb5a55 (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
#pragma once

#include <random>
#include <utility>

#include <Core/Types.h>
#include <Common/thread_local_rng.h>

#include <Disks/IDisk.h>


namespace DB
{

std::pair<String, DiskPtr> prepareForLocalMetadata(
    const String & name,
    const Poco::Util::AbstractConfiguration & config,
    const String & config_prefix,
    ContextPtr context);

bool isFileWithPersistentCache(const String & path);

}