ROADMAP v0.4.0 - Legacy catalog statement executor (deprecated, use DDLStatementCoordinator)
(
&self,
statement: &CatalogStatement,
)
| 3284 | )] |
| 3285 | #[allow(dead_code)] // ROADMAP v0.4.0 - Legacy catalog statement executor (deprecated, use DDLStatementCoordinator) |
| 3286 | fn execute_catalog_statement( |
| 3287 | &self, |
| 3288 | statement: &CatalogStatement, |
| 3289 | ) -> Result<QueryResult, ExecutionError> { |
| 3290 | let start_time = std::time::Instant::now(); |
| 3291 | |
| 3292 | let result = match statement { |
| 3293 | CatalogStatement::CreateSchema(_) => { |
| 3294 | Err(ExecutionError::UnsupportedOperator("CREATE SCHEMA is now handled by dedicated executor structs via DDLStatementCoordinator".to_string())) |
| 3295 | }, |
| 3296 | CatalogStatement::DropSchema(_) => { |
| 3297 | Err(ExecutionError::UnsupportedOperator("DROP SCHEMA is now handled by dedicated executor structs via DDLStatementCoordinator".to_string())) |
| 3298 | }, |
| 3299 | CatalogStatement::CreateGraph(_) => { |
| 3300 | Err(ExecutionError::UnsupportedOperator("CREATE GRAPH is now handled by dedicated executor structs via DDLStatementCoordinator".to_string())) |
| 3301 | }, |
| 3302 | CatalogStatement::DropGraph(_) => { |
| 3303 | Err(ExecutionError::UnsupportedOperator("DROP GRAPH is now handled by dedicated executor structs via DDLStatementCoordinator".to_string())) |
| 3304 | }, |
| 3305 | CatalogStatement::TruncateGraph(_) => { |
| 3306 | Err(ExecutionError::UnsupportedOperator("TRUNCATE GRAPH is now handled by dedicated executor structs via DDLStatementCoordinator".to_string())) |
| 3307 | }, |
| 3308 | CatalogStatement::ClearGraph(_) => { |
| 3309 | Err(ExecutionError::UnsupportedOperator("CLEAR GRAPH is now handled by dedicated executor structs via DDLStatementCoordinator".to_string())) |
| 3310 | }, |
| 3311 | CatalogStatement::CreateGraphType(_) => { |
| 3312 | Err(ExecutionError::UnsupportedOperator("CREATE GRAPH TYPE is now handled by dedicated executor structs via DDLStatementCoordinator".to_string())) |
| 3313 | }, |
| 3314 | CatalogStatement::DropGraphType(_) => { |
| 3315 | Err(ExecutionError::UnsupportedOperator("DROP GRAPH TYPE is now handled by dedicated executor structs via DDLStatementCoordinator".to_string())) |
| 3316 | }, |
| 3317 | CatalogStatement::AlterGraphType(_) => { |
| 3318 | Err(ExecutionError::UnsupportedOperator("ALTER GRAPH TYPE is now handled by dedicated executor structs via DDLStatementCoordinator".to_string())) |
| 3319 | }, |
| 3320 | CatalogStatement::CreateUser(_) => { |
| 3321 | Err(ExecutionError::UnsupportedOperator("CREATE USER is now handled by CreateUserExecutor via DDLStatementCoordinator".to_string())) |
| 3322 | }, |
| 3323 | CatalogStatement::DropUser(_) => { |
| 3324 | Err(ExecutionError::UnsupportedOperator("DROP USER is now handled by DropUserExecutor via DDLStatementCoordinator".to_string())) |
| 3325 | }, |
| 3326 | CatalogStatement::CreateRole(_) => { |
| 3327 | Err(ExecutionError::UnsupportedOperator("CREATE ROLE is now handled by CreateRoleExecutor via DDLStatementCoordinator".to_string())) |
| 3328 | }, |
| 3329 | CatalogStatement::DropRole(_) => { |
| 3330 | Err(ExecutionError::UnsupportedOperator("DROP ROLE is now handled by DropRoleExecutor via DDLStatementCoordinator".to_string())) |
| 3331 | }, |
| 3332 | CatalogStatement::GrantRole(_) => { |
| 3333 | Err(ExecutionError::UnsupportedOperator("GRANT ROLE is now handled by GrantRoleExecutor via DDLStatementCoordinator".to_string())) |
| 3334 | }, |
| 3335 | CatalogStatement::RevokeRole(_) => { |
| 3336 | Err(ExecutionError::UnsupportedOperator("REVOKE ROLE is now handled by RevokeRoleExecutor via DDLStatementCoordinator".to_string())) |
| 3337 | }, |
| 3338 | CatalogStatement::CreateProcedure(_) => { |
| 3339 | Err(ExecutionError::UnsupportedOperator("CREATE PROCEDURE is now handled by CreateProcedureExecutor via DDLStatementCoordinator".to_string())) |
| 3340 | }, |
| 3341 | CatalogStatement::DropProcedure(_) => { |
| 3342 | Err(ExecutionError::UnsupportedOperator("DROP PROCEDURE is now handled by DropProcedureExecutor via DDLStatementCoordinator".to_string())) |
| 3343 | }, |