mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
27 lines
729 B
C++
27 lines
729 B
C++
#pragma once
|
|
|
|
#include <Interpreters/Cluster.h>
|
|
|
|
namespace DB
|
|
|
|
{
|
|
using ConfigurationPtr = Poco::AutoPtr<Poco::Util::AbstractConfiguration>;
|
|
|
|
using DatabaseAndTableName = std::pair<String, String>;
|
|
|
|
/// Hierarchical description of the tasks
|
|
struct ShardPartition;
|
|
struct TaskShard;
|
|
struct TaskTable;
|
|
struct TaskCluster;
|
|
struct ClusterPartition;
|
|
|
|
using TasksPartition = std::map<String, ShardPartition, std::greater<>>;
|
|
using ShardInfo = Cluster::ShardInfo;
|
|
using TaskShardPtr = std::shared_ptr<TaskShard>;
|
|
using TasksShard = std::vector<TaskShardPtr>;
|
|
using TasksTable = std::list<TaskTable>;
|
|
using ClusterPartitions = std::map<String, ClusterPartition, std::greater<>>;
|
|
}
|
|
|