mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
26 lines
403 B
C++
26 lines
403 B
C++
#pragma once
|
|
|
|
#include <Core/Field.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
class IAST;
|
|
using ASTPtr = std::shared_ptr<IAST>;
|
|
|
|
/// Information about a backup.
|
|
struct BackupInfo
|
|
{
|
|
String backup_engine_name;
|
|
String id_arg;
|
|
std::vector<Field> args;
|
|
|
|
String toString() const;
|
|
static BackupInfo fromString(const String & str);
|
|
|
|
ASTPtr toAST() const;
|
|
static BackupInfo fromAST(const IAST & ast);
|
|
};
|
|
|
|
}
|