mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
29 lines
898 B
C++
29 lines
898 B
C++
#pragma once
|
|
|
|
#include <Interpreters/Cluster.h>
|
|
|
|
namespace DB
|
|
{
|
|
using ConfigurationPtr = Poco::AutoPtr<Poco::Util::AbstractConfiguration>;
|
|
|
|
using DatabaseAndTableName = std::pair<String, String>;
|
|
using ListOfDatabasesAndTableNames = std::vector<DatabaseAndTableName>;
|
|
|
|
/// Hierarchical description of the tasks
|
|
struct ShardPartitionPiece;
|
|
struct ShardPartition;
|
|
struct TaskShard;
|
|
struct TaskTable;
|
|
struct TaskCluster;
|
|
struct ClusterPartition;
|
|
|
|
using PartitionPieces = std::vector<ShardPartitionPiece>;
|
|
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<>>;
|
|
}
|
|
|