mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 13:10:48 +00:00
parent
afd6639e46
commit
d9626e73c3
@ -10,6 +10,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// This handler establishes connection to database, and retrieves whether schema is allowed.
|
/// This handler establishes connection to database, and retrieves whether schema is allowed.
|
||||||
class SchemaAllowedHandler : public HTTPRequestHandler, WithContext
|
class SchemaAllowedHandler : public HTTPRequestHandler, WithContext
|
||||||
{
|
{
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class IDataType;
|
class IDataType;
|
||||||
|
|
||||||
using DataTypePtr = std::shared_ptr<const IDataType>;
|
using DataTypePtr = std::shared_ptr<const IDataType>;
|
||||||
|
@ -17,6 +17,8 @@ namespace Poco { class Logger; }
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/** Every two seconds checks configuration files for update.
|
/** Every two seconds checks configuration files for update.
|
||||||
* If configuration is changed, then config will be reloaded by ConfigProcessor
|
* If configuration is changed, then config will be reloaded by ConfigProcessor
|
||||||
* and the reloaded config will be applied via Updater functor.
|
* and the reloaded config will be applied via Updater functor.
|
||||||
|
@ -11,6 +11,8 @@ namespace DB
|
|||||||
class ExpressionActions;
|
class ExpressionActions;
|
||||||
using ExpressionActionsPtr = std::shared_ptr<ExpressionActions>;
|
using ExpressionActionsPtr = std::shared_ptr<ExpressionActions>;
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/** This stream adds three types of columns into block
|
/** This stream adds three types of columns into block
|
||||||
* 1. Columns, that are missed inside request, but present in table without defaults (missed columns)
|
* 1. Columns, that are missed inside request, but present in table without defaults (missed columns)
|
||||||
* 2. Columns, that are missed inside request, but present in table with defaults (columns with default values)
|
* 2. Columns, that are missed inside request, but present in table with defaults (columns with default values)
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/** This class allows one to launch queries on remote replicas of one shard and get results
|
/** This class allows one to launch queries on remote replicas of one shard and get results
|
||||||
*/
|
*/
|
||||||
class RemoteBlockInputStream : public IBlockInputStream
|
class RemoteBlockInputStream : public IBlockInputStream
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
class Throttler;
|
class Throttler;
|
||||||
using ThrottlerPtr = std::shared_ptr<Throttler>;
|
using ThrottlerPtr = std::shared_ptr<Throttler>;
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@ namespace DB
|
|||||||
|
|
||||||
|
|
||||||
class DatabaseLazyIterator;
|
class DatabaseLazyIterator;
|
||||||
|
class Context;
|
||||||
|
|
||||||
/** Lazy engine of databases.
|
/** Lazy engine of databases.
|
||||||
* Works like DatabaseOrdinary, but stores in memory only cache.
|
* Works like DatabaseOrdinary, but stores in memory only cache.
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
std::pair<String, StoragePtr> createTableFromAST(
|
std::pair<String, StoragePtr> createTableFromAST(
|
||||||
ASTCreateQuery ast_create_query,
|
ASTCreateQuery ast_create_query,
|
||||||
const String & database_name,
|
const String & database_name,
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class ExternalDictionariesLoader;
|
class ExternalDictionariesLoader;
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// A base class for databases that manage their own list of tables.
|
/// A base class for databases that manage their own list of tables.
|
||||||
class DatabaseWithOwnTablesBase : public IDatabase, protected WithContext
|
class DatabaseWithOwnTablesBase : public IDatabase, protected WithContext
|
||||||
{
|
{
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
enum class MySQLDataTypesSupport;
|
enum class MySQLDataTypesSupport;
|
||||||
|
|
||||||
/** Real-time access to table list and table structure from remote MySQL
|
/** Real-time access to table list and table structure from remote MySQL
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Real-time access to table list and table structure from remote PostgreSQL.
|
/** Real-time access to table list and table structure from remote PostgreSQL.
|
||||||
* All tables are created after pull-out structure from remote PostgreSQL.
|
* All tables are created after pull-out structure from remote PostgreSQL.
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Extracts information about where the format schema file is from passed context and keep it.
|
/// Extracts information about where the format schema file is from passed context and keep it.
|
||||||
class FormatSchemaInfo
|
class FormatSchemaInfo
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
namespace ErrorCodes
|
namespace ErrorCodes
|
||||||
{
|
{
|
||||||
extern const int ILLEGAL_COLUMN;
|
extern const int ILLEGAL_COLUMN;
|
||||||
|
@ -18,6 +18,11 @@ namespace Aws::Http::Standard
|
|||||||
class StandardHttpResponse;
|
class StandardHttpResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace DB
|
||||||
|
{
|
||||||
|
class Context;
|
||||||
|
}
|
||||||
|
|
||||||
namespace DB::S3
|
namespace DB::S3
|
||||||
{
|
{
|
||||||
class ClientFactory;
|
class ClientFactory;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
using DatabaseAndTable = std::pair<DatabasePtr, StoragePtr>;
|
using DatabaseAndTable = std::pair<DatabasePtr, StoragePtr>;
|
||||||
class AccessRightsElements;
|
class AccessRightsElements;
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
class InterpreterFactory
|
class InterpreterFactory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -22,6 +22,7 @@ namespace DB
|
|||||||
|
|
||||||
struct SubqueryForSet;
|
struct SubqueryForSet;
|
||||||
class InterpreterSelectWithUnionQuery;
|
class InterpreterSelectWithUnionQuery;
|
||||||
|
class Context;
|
||||||
class QueryPlan;
|
class QueryPlan;
|
||||||
|
|
||||||
struct TreeRewriterResult;
|
struct TreeRewriterResult;
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
class AccessControlManager;
|
class AccessControlManager;
|
||||||
|
class Context;
|
||||||
class AccessRightsElements;
|
class AccessRightsElements;
|
||||||
struct IAccessEntity;
|
struct IAccessEntity;
|
||||||
using AccessEntityPtr = std::shared_ptr<const IAccessEntity>;
|
using AccessEntityPtr = std::shared_ptr<const IAccessEntity>;
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
class InterpreterShowPrivilegesQuery : public IInterpreter
|
class InterpreterShowPrivilegesQuery : public IInterpreter
|
||||||
{
|
{
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Return a list of tables or databases meets specified conditions.
|
/** Return a list of tables or databases meets specified conditions.
|
||||||
* Interprets a query through replacing it to SELECT query from system.tables or system.databases.
|
* Interprets a query through replacing it to SELECT query from system.tables or system.databases.
|
||||||
*/
|
*/
|
||||||
|
@ -13,6 +13,7 @@ namespace Poco { class Logger; }
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class AccessRightsElements;
|
class AccessRightsElements;
|
||||||
class ASTSystemQuery;
|
class ASTSystemQuery;
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ namespace DB
|
|||||||
{
|
{
|
||||||
|
|
||||||
class ASTSelectQuery;
|
class ASTSelectQuery;
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// AST transformer. It replaces multiple joins to (subselect + join) track.
|
/// AST transformer. It replaces multiple joins to (subselect + join) track.
|
||||||
/// 'select * from t1 join t2 on ... join t3 on ... join t4 on ...' would be rewritten with
|
/// 'select * from t1 join t2 on ... join t3 on ... join t4 on ...' would be rewritten with
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class QueryPlan;
|
class QueryPlan;
|
||||||
|
|
||||||
class QueryPipeline;
|
class QueryPipeline;
|
||||||
|
@ -12,6 +12,7 @@ namespace DB
|
|||||||
class ASTSelectQuery;
|
class ASTSelectQuery;
|
||||||
class ASTIdentifier;
|
class ASTIdentifier;
|
||||||
struct ASTTablesInSelectQueryElement;
|
struct ASTTablesInSelectQueryElement;
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
class QueryNormalizer
|
class QueryNormalizer
|
||||||
|
@ -16,6 +16,7 @@ namespace DB
|
|||||||
|
|
||||||
struct Range;
|
struct Range;
|
||||||
|
|
||||||
|
class Context;
|
||||||
class IFunctionBase;
|
class IFunctionBase;
|
||||||
using FunctionBasePtr = std::shared_ptr<IFunctionBase>;
|
using FunctionBasePtr = std::shared_ptr<IFunctionBase>;
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ static constexpr char const * TABLE_WITH_UUID_NAME_PLACEHOLDER = "_";
|
|||||||
|
|
||||||
class ASTQueryWithTableAndOutput;
|
class ASTQueryWithTableAndOutput;
|
||||||
class ASTIdentifier;
|
class ASTIdentifier;
|
||||||
|
class Context;
|
||||||
|
|
||||||
// TODO(ilezhankin): refactor and merge |ASTTableIdentifier|
|
// TODO(ilezhankin): refactor and merge |ASTTableIdentifier|
|
||||||
struct StorageID
|
struct StorageID
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class ASTSelectQuery;
|
class ASTSelectQuery;
|
||||||
struct DatabaseAndTableWithAlias;
|
struct DatabaseAndTableWithAlias;
|
||||||
class Block;
|
class Block;
|
||||||
|
@ -21,6 +21,8 @@ namespace ErrorCodes
|
|||||||
extern const int LOGICAL_ERROR;
|
extern const int LOGICAL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ORDER-PRESERVING parallel parsing of data formats.
|
* ORDER-PRESERVING parallel parsing of data formats.
|
||||||
* It splits original data into chunks. Then each chunk is parsed by different thread.
|
* It splits original data into chunks. Then each chunk is parsed by different thread.
|
||||||
|
@ -9,6 +9,7 @@ namespace DB
|
|||||||
{
|
{
|
||||||
|
|
||||||
class WriteBuffer;
|
class WriteBuffer;
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Prints the result in the form of beautiful tables.
|
/** Prints the result in the form of beautiful tables.
|
||||||
|
@ -9,6 +9,7 @@ namespace DB
|
|||||||
{
|
{
|
||||||
|
|
||||||
class WriteBuffer;
|
class WriteBuffer;
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Stream to output data in format "each value in separate row".
|
/** Stream to output data in format "each value in separate row".
|
||||||
|
@ -11,6 +11,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
class HTTPServer : public Poco::Net::TCPServer
|
class HTTPServer : public Poco::Net::TCPServer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class IServer;
|
class IServer;
|
||||||
|
|
||||||
/// Replies "Ok.\n" if all replicas on this server don't lag too much. Otherwise output lag information.
|
/// Replies "Ok.\n" if all replicas on this server don't lag too much. Otherwise output lag information.
|
||||||
|
@ -157,6 +157,8 @@ struct AlterCommand
|
|||||||
/// Return string representation of AlterCommand::Type
|
/// Return string representation of AlterCommand::Type
|
||||||
String alterTypeToString(const AlterCommand::Type type);
|
String alterTypeToString(const AlterCommand::Type type);
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Vector of AlterCommand with several additional functions
|
/// Vector of AlterCommand with several additional functions
|
||||||
class AlterCommands : public std::vector<AlterCommand>
|
class AlterCommands : public std::vector<AlterCommand>
|
||||||
{
|
{
|
||||||
|
@ -22,6 +22,7 @@ namespace Poco
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class StorageDistributed;
|
class StorageDistributed;
|
||||||
|
|
||||||
/** If insert_sync_ is true, the write is synchronous. Uses insert_timeout_ if it is not zero.
|
/** If insert_sync_ is true, the write is synchronous. Uses insert_timeout_ if it is not zero.
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class IFunction;
|
class IFunction;
|
||||||
using FunctionBasePtr = std::shared_ptr<IFunctionBase>;
|
using FunctionBasePtr = std::shared_ptr<IFunctionBase>;
|
||||||
class ExpressionActions;
|
class ExpressionActions;
|
||||||
|
@ -38,6 +38,7 @@ namespace DB
|
|||||||
class AlterCommands;
|
class AlterCommands;
|
||||||
class MergeTreePartsMover;
|
class MergeTreePartsMover;
|
||||||
class MutationCommands;
|
class MutationCommands;
|
||||||
|
class Context;
|
||||||
struct JobAndPool;
|
struct JobAndPool;
|
||||||
|
|
||||||
/// Auxiliary struct holding information about the future merged or mutated part.
|
/// Auxiliary struct holding information about the future merged or mutated part.
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class WriteBuffer;
|
class WriteBuffer;
|
||||||
class ReadBuffer;
|
class ReadBuffer;
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ namespace DB
|
|||||||
* common prefix, which is needed for
|
* common prefix, which is needed for
|
||||||
* performing reading in order of PK.
|
* performing reading in order of PK.
|
||||||
*/
|
*/
|
||||||
|
class Context;
|
||||||
|
|
||||||
class ReadInOrderOptimizer
|
class ReadInOrderOptimizer
|
||||||
{
|
{
|
||||||
|
@ -14,6 +14,8 @@ namespace rocksdb
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
class StorageEmbeddedRocksDB final : public ext::shared_ptr_helper<StorageEmbeddedRocksDB>, public IStorage
|
class StorageEmbeddedRocksDB final : public ext::shared_ptr_helper<StorageEmbeddedRocksDB>, public IStorage
|
||||||
{
|
{
|
||||||
friend struct ext::shared_ptr_helper<StorageEmbeddedRocksDB>;
|
friend struct ext::shared_ptr_helper<StorageEmbeddedRocksDB>;
|
||||||
|
@ -19,6 +19,7 @@ namespace DB
|
|||||||
{
|
{
|
||||||
|
|
||||||
struct Settings;
|
struct Settings;
|
||||||
|
class Context;
|
||||||
|
|
||||||
class IVolume;
|
class IVolume;
|
||||||
using VolumePtr = std::shared_ptr<IVolume>;
|
using VolumePtr = std::shared_ptr<IVolume>;
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class ASTCreateQuery;
|
class ASTCreateQuery;
|
||||||
class ASTStorage;
|
class ASTStorage;
|
||||||
struct StorageID;
|
struct StorageID;
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
struct ClientAuthentificationBuilder
|
struct ClientAuthentificationBuilder
|
||||||
{
|
{
|
||||||
String access_key_id;
|
String access_key_id;
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Base class for system tables whose all columns have String type.
|
/** Base class for system tables whose all columns have String type.
|
||||||
*/
|
*/
|
||||||
|
@ -7,6 +7,7 @@ namespace DB
|
|||||||
{
|
{
|
||||||
|
|
||||||
class AsynchronousMetrics;
|
class AsynchronousMetrics;
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements system table asynchronous_metrics, which allows to get values of periodically (asynchronously) updated metrics.
|
/** Implements system table asynchronous_metrics, which allows to get values of periodically (asynchronously) updated metrics.
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** System table "build_options" with many params used for clickhouse building
|
/** System table "build_options" with many params used for clickhouse building
|
||||||
*/
|
*/
|
||||||
class StorageSystemBuildOptions final : public ext::shared_ptr_helper<StorageSystemBuildOptions>, public IStorageSystemOneBlock<StorageSystemBuildOptions>
|
class StorageSystemBuildOptions final : public ext::shared_ptr_helper<StorageSystemBuildOptions>, public IStorageSystemOneBlock<StorageSystemBuildOptions>
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class Cluster;
|
class Cluster;
|
||||||
|
|
||||||
/** Implements system table 'clusters'
|
/** Implements system table 'clusters'
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/** Implements system table 'columns', that allows to get information about columns for every table.
|
/** Implements system table 'columns', that allows to get information about columns for every table.
|
||||||
*/
|
*/
|
||||||
class StorageSystemColumns final : public ext::shared_ptr_helper<StorageSystemColumns>, public IStorage
|
class StorageSystemColumns final : public ext::shared_ptr_helper<StorageSystemColumns>, public IStorage
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** System table "contributors" with list of clickhouse contributors
|
/** System table "contributors" with list of clickhouse contributors
|
||||||
*/
|
*/
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `current_roles` system table, which allows you to get information about current roles.
|
/// Implements `current_roles` system table, which allows you to get information about current roles.
|
||||||
class StorageSystemCurrentRoles final : public ext::shared_ptr_helper<StorageSystemCurrentRoles>, public IStorageSystemOneBlock<StorageSystemCurrentRoles>
|
class StorageSystemCurrentRoles final : public ext::shared_ptr_helper<StorageSystemCurrentRoles>, public IStorageSystemOneBlock<StorageSystemCurrentRoles>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** System table "distributed_ddl_queue" with list of queries that are currently in the DDL worker queue.
|
/** System table "distributed_ddl_queue" with list of queries that are currently in the DDL worker queue.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements `databases` system table, which allows you to get information about all databases.
|
/** Implements `databases` system table, which allows you to get information about all databases.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
class StorageSystemDictionaries final : public ext::shared_ptr_helper<StorageSystemDictionaries>, public IStorageSystemOneBlock<StorageSystemDictionaries>
|
class StorageSystemDictionaries final : public ext::shared_ptr_helper<StorageSystemDictionaries>, public IStorageSystemOneBlock<StorageSystemDictionaries>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements the system table `disks`, which allows you to get information about all disks.
|
/** Implements the system table `disks`, which allows you to get information about all disks.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements the `distribution_queue` system table, which allows you to view the INSERT queues for the Distributed tables.
|
/** Implements the `distribution_queue` system table, which allows you to view the INSERT queues for the Distributed tables.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `enabled_roles` system table, which allows you to get information about enabled roles.
|
/// Implements `enabled_roles` system table, which allows you to get information about enabled roles.
|
||||||
class StorageSystemEnabledRoles final : public ext::shared_ptr_helper<StorageSystemEnabledRoles>, public IStorageSystemOneBlock<StorageSystemEnabledRoles>
|
class StorageSystemEnabledRoles final : public ext::shared_ptr_helper<StorageSystemEnabledRoles>, public IStorageSystemOneBlock<StorageSystemEnabledRoles>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements `events` system table, which allows you to obtain information for profiling.
|
/** Implements `events` system table, which allows you to obtain information for profiling.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements `functions`system table, which allows you to get a list
|
/** Implements `functions`system table, which allows you to get a list
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `grants` system table, which allows you to get information about grants.
|
/// Implements `grants` system table, which allows you to get information about grants.
|
||||||
class StorageSystemGrants final : public ext::shared_ptr_helper<StorageSystemGrants>, public IStorageSystemOneBlock<StorageSystemGrants>
|
class StorageSystemGrants final : public ext::shared_ptr_helper<StorageSystemGrants>, public IStorageSystemOneBlock<StorageSystemGrants>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** System table "licenses" with list of licenses of 3rd party libraries
|
/** System table "licenses" with list of licenses of 3rd party libraries
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Information about macros for introspection.
|
/** Information about macros for introspection.
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** implements system table "merge_tree_settings" and "replicated_merge_tree_settings",
|
/** implements system table "merge_tree_settings" and "replicated_merge_tree_settings",
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
class StorageSystemMerges final : public ext::shared_ptr_helper<StorageSystemMerges>, public IStorageSystemOneBlock<StorageSystemMerges>
|
class StorageSystemMerges final : public ext::shared_ptr_helper<StorageSystemMerges>, public IStorageSystemOneBlock<StorageSystemMerges>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements `metrics` system table, which provides information about the operation of the server.
|
/** Implements `metrics` system table, which provides information about the operation of the server.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
class StorageSystemModels final : public ext::shared_ptr_helper<StorageSystemModels>, public IStorageSystemOneBlock<StorageSystemModels>
|
class StorageSystemModels final : public ext::shared_ptr_helper<StorageSystemModels>, public IStorageSystemOneBlock<StorageSystemModels>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/// Implements the `mutations` system table, which provides information about the status of mutations
|
/// Implements the `mutations` system table, which provides information about the status of mutations
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements a table engine for the system table "numbers".
|
/** Implements a table engine for the system table "numbers".
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements storage for the system table One.
|
/** Implements storage for the system table One.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements system table 'parts' which allows to get information about data parts for tables of MergeTree family.
|
/** Implements system table 'parts' which allows to get information about data parts for tables of MergeTree family.
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
struct StoragesInfo
|
struct StoragesInfo
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements system table 'parts_columns' which allows to get information about
|
/** Implements system table 'parts_columns' which allows to get information about
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `privileges` system table, which allows you to get information about access types.
|
/// Implements `privileges` system table, which allows you to get information about access types.
|
||||||
class StorageSystemPrivileges final : public ext::shared_ptr_helper<StorageSystemPrivileges>, public IStorageSystemOneBlock<StorageSystemPrivileges>
|
class StorageSystemPrivileges final : public ext::shared_ptr_helper<StorageSystemPrivileges>, public IStorageSystemOneBlock<StorageSystemPrivileges>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements `processes` system table, which allows you to get information about the queries that are currently executing.
|
/** Implements `processes` system table, which allows you to get information about the queries that are currently executing.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `quota_limits` system table, which allows you to get information about the limits set for quotas.
|
/// Implements `quota_limits` system table, which allows you to get information about the limits set for quotas.
|
||||||
class StorageSystemQuotaLimits final : public ext::shared_ptr_helper<StorageSystemQuotaLimits>, public IStorageSystemOneBlock<StorageSystemQuotaLimits>
|
class StorageSystemQuotaLimits final : public ext::shared_ptr_helper<StorageSystemQuotaLimits>, public IStorageSystemOneBlock<StorageSystemQuotaLimits>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
struct QuotaUsage;
|
struct QuotaUsage;
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/** Implements the `quotas` system tables, which allows you to get information about quotas.
|
/** Implements the `quotas` system tables, which allows you to get information about quotas.
|
||||||
*/
|
*/
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/** Implements the `quotas_usage` system table, which allows you to get information about
|
/** Implements the `quotas_usage` system table, which allows you to get information about
|
||||||
* how all users use the quotas.
|
* how all users use the quotas.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements `replicas` system table, which provides information about the status of the replicated tables.
|
/** Implements `replicas` system table, which provides information about the status of the replicated tables.
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// system.replicated_fetches table. Takes data from context.getReplicatedFetchList()
|
/// system.replicated_fetches table. Takes data from context.getReplicatedFetchList()
|
||||||
class StorageSystemReplicatedFetches final : public ext::shared_ptr_helper<StorageSystemReplicatedFetches>, public IStorageSystemOneBlock<StorageSystemReplicatedFetches >
|
class StorageSystemReplicatedFetches final : public ext::shared_ptr_helper<StorageSystemReplicatedFetches>, public IStorageSystemOneBlock<StorageSystemReplicatedFetches >
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements the `replication_queue` system table, which allows you to view the replication queues for the replicated tables.
|
/** Implements the `replication_queue` system table, which allows you to view the replication queues for the replicated tables.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `role_grants` system table, which allows you to get information about granted roles.
|
/// Implements `role_grants` system table, which allows you to get information about granted roles.
|
||||||
class StorageSystemRoleGrants final : public ext::shared_ptr_helper<StorageSystemRoleGrants>, public IStorageSystemOneBlock<StorageSystemRoleGrants>
|
class StorageSystemRoleGrants final : public ext::shared_ptr_helper<StorageSystemRoleGrants>, public IStorageSystemOneBlock<StorageSystemRoleGrants>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `roles` system table, which allows you to get information about roles.
|
/// Implements `roles` system table, which allows you to get information about roles.
|
||||||
class StorageSystemRoles final : public ext::shared_ptr_helper<StorageSystemRoles>, public IStorageSystemOneBlock<StorageSystemRoles>
|
class StorageSystemRoles final : public ext::shared_ptr_helper<StorageSystemRoles>, public IStorageSystemOneBlock<StorageSystemRoles>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/// Implements `row_policies` system table, which allows you to get information about row policies.
|
/// Implements `row_policies` system table, which allows you to get information about row policies.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** implements system table "settings", which allows to get information about the current settings.
|
/** implements system table "settings", which allows to get information about the current settings.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `settings_profile_elements` system table, which allows you to get information about elements of settings profiles.
|
/// Implements `settings_profile_elements` system table, which allows you to get information about elements of settings profiles.
|
||||||
class StorageSystemSettingsProfileElements final : public ext::shared_ptr_helper<StorageSystemSettingsProfileElements>, public IStorageSystemOneBlock<StorageSystemSettingsProfileElements>
|
class StorageSystemSettingsProfileElements final : public ext::shared_ptr_helper<StorageSystemSettingsProfileElements>, public IStorageSystemOneBlock<StorageSystemSettingsProfileElements>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `settings_profiles` system table, which allows you to get information about profiles.
|
/// Implements `settings_profiles` system table, which allows you to get information about profiles.
|
||||||
class StorageSystemSettingsProfiles final : public ext::shared_ptr_helper<StorageSystemSettingsProfiles>, public IStorageSystemOneBlock<StorageSystemSettingsProfiles>
|
class StorageSystemSettingsProfiles final : public ext::shared_ptr_helper<StorageSystemSettingsProfiles>, public IStorageSystemOneBlock<StorageSystemSettingsProfiles>
|
||||||
|
@ -14,7 +14,7 @@ class Logger;
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/// Allows to introspect stack trace of all server threads.
|
/// Allows to introspect stack trace of all server threads.
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements the system table `storage`, which allows you to get information about all disks.
|
/** Implements the system table `storage`, which allows you to get information about all disks.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements the system table `tables`, which allows you to get information about all tables.
|
/** Implements the system table `tables`, which allows you to get information about all tables.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** System table "time_zones" with list of timezones pulled from /contrib/cctz/testdata/zoneinfo
|
/** System table "time_zones" with list of timezones pulled from /contrib/cctz/testdata/zoneinfo
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `users_directories` system table, which allows you to get information about user directories.
|
/// Implements `users_directories` system table, which allows you to get information about user directories.
|
||||||
class StorageSystemUserDirectories final : public ext::shared_ptr_helper<StorageSystemUserDirectories>, public IStorageSystemOneBlock<StorageSystemUserDirectories>
|
class StorageSystemUserDirectories final : public ext::shared_ptr_helper<StorageSystemUserDirectories>, public IStorageSystemOneBlock<StorageSystemUserDirectories>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/// Implements `users` system table, which allows you to get information about users.
|
/// Implements `users` system table, which allows you to get information about users.
|
||||||
class StorageSystemUsers final : public ext::shared_ptr_helper<StorageSystemUsers>, public IStorageSystemOneBlock<StorageSystemUsers>
|
class StorageSystemUsers final : public ext::shared_ptr_helper<StorageSystemUsers>, public IStorageSystemOneBlock<StorageSystemUsers>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
|
|
||||||
/** Implements `zookeeper` system table, which allows you to view the data in ZooKeeper for debugging purposes.
|
/** Implements `zookeeper` system table, which allows you to view the data in ZooKeeper for debugging purposes.
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
class AsynchronousMetrics;
|
class AsynchronousMetrics;
|
||||||
class IDatabase;
|
class IDatabase;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
struct StorageID;
|
struct StorageID;
|
||||||
|
|
||||||
/// Find the names and types of the table columns on any server in the cluster.
|
/// Find the names and types of the table columns on any server in the cluster.
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
/** Interface for table functions.
|
/** Interface for table functions.
|
||||||
*
|
*
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
class ColumnsDescription;
|
class ColumnsDescription;
|
||||||
|
class Context;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* function(source, format, structure) - creates a temporary storage from formatted source
|
* function(source, format, structure) - creates a temporary storage from formatted source
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
class Context;
|
||||||
|
|
||||||
/* file(path, format, structure) - creates a temporary storage from file
|
/* file(path, format, structure) - creates a temporary storage from file
|
||||||
*
|
*
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class Context;
|
||||||
|
|
||||||
using TableFunctionCreator = std::function<TableFunctionPtr()>;
|
using TableFunctionCreator = std::function<TableFunctionPtr()>;
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user