/ You must call under the alter_lock of the corresponding table. / Change the table structure in metadata. Throw Exception ( getEngineName() + ": renameTable() is not supported", ErrorCodes:: NOT_IMPLEMENTED) / Rename the table and possibly move the table to another database. Throw Exception ( "There is no DETACH TABLE PERMANENTLY query for Database" + getEngineName(), ErrorCodes:: NOT_IMPLEMENTED) Virtual void detachTablePermanently( ContextPtr /*context*/, const String & /*name*/) The database may not support this method. / Forget about the table without deleting it's data, but rename metadata file to prevent reloading it Throw Exception ( "There is no DETACH TABLE query for Database" + getEngineName(), ErrorCodes:: NOT_IMPLEMENTED) Virtual StoragePtr detachTable( ContextPtr /* context */, const String & /*name*/) / Forget about the table without deleting it, and return it. Throw Exception ( "There is no ATTACH TABLE query for Database" + getEngineName(), ErrorCodes:: NOT_IMPLEMENTED) Virtual const StoragePtr & table() const = 0 Įxplicit IDatabaseTablesIterator( const String & database_name_) : database_name ( database_name_) ) /// NOLINT / - it maintains a list of tables but tables are loaded lazily). / (a database with support for lazy tables loading / This method can return nullptr if it's Lazy database Using DictionariesWithID = std:: vector> Įxtern const int CANNOT_GET_CREATE_TABLE_QUERY
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |