blob: 51ffd4d114489a4b8958d62ada32b98e47e4bd5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <base/types.h>
#include <memory>
namespace DB
{
class IArchiveWriter;
class WriteBuffer;
/// Starts writing a specified archive in the local filesystem.
std::shared_ptr<IArchiveWriter> createArchiveWriter(const String & path_to_archive);
/// Starts writing a specified archive, the archive is written by using a specified write buffer,
/// `path_to_archive` is used only to determine the archive's type.
std::shared_ptr<IArchiveWriter> createArchiveWriter(const String & path_to_archive, std::unique_ptr<WriteBuffer> archive_write_buffer);
}
|