| 1 | #pragma once | 
|---|---|
| 2 | |
| 3 | #include <Core/Types.h> | 
| 4 | |
| 5 | #include <map> | 
| 6 | #include <memory> | 
| 7 | |
| 8 | namespace DB | 
| 9 | { | 
| 10 | |
| 11 | class IStorage; | 
| 12 | |
| 13 | using StoragePtr = std::shared_ptr<IStorage>; | 
| 14 | using StorageWeakPtr = std::weak_ptr<IStorage>; | 
| 15 | using Tables = std::map<String, StoragePtr>; | 
| 16 | |
| 17 | } | 
| 18 | 
