Uses of Interface
dev.frostlake.executor.commands.CommandHandler
Packages that use CommandHandler
-
Uses of CommandHandler in dev.frostlake.executor.commands
Classes in dev.frostlake.executor.commands that implement CommandHandlerModifier and TypeClassDescriptionclassHandlesALTER <object-type> …statements for DATABASE / SCHEMA / MASKING & ROW ACCESS POLICY / TABLE / VIEW / STREAM / TASK / PIPE / WAREHOUSE / STAGE / USER / ROLE / SESSION / TAG, extracted verbatim fromSQLCommandVisitor.visitAlterStatement(dev.frostlake.parser.FrostlakeParser.AlterStatementContext).classHandles Snowflake ScriptingBEGIN … [EXCEPTION …] ENDblocks, extracted verbatim fromSQLCommandVisitor.visitBeginEndBlock(dev.frostlake.parser.FrostlakeParser.BeginEndBlockContext)together with its cohesive exception-handling helpers (bindHandlerErrorVariables,shouldHandleException,matchesSnowflakeException— each used only by this path).classParses column / data-type / constraint / default-value grammar into metastore models — extracted fromDDLCommandHandler(CREATE TABLE, CREATE FUNCTION/PROCEDURE parameters, DROP FUNCTION arg types, ALTER) so those handlers share one parser.classHandlesCOMMENT ON <object-type> …statements, extracted verbatim fromSQLCommandVisitor.visitCommentStatement(dev.frostlake.parser.FrostlakeParser.CommentStatementContext).classHandles CREATE for infrastructure objects — TASK, PIPE, SEQUENCE, WAREHOUSE, STAGE — extracted fromDDLCommandHandler, which keeps the CREATE dispatch and delegates here.classHandles the namespace CREATE shapes — DATABASE and SCHEMA (including CLONE) — extracted fromDDLCommandHandler, which keeps the CREATE dispatch and delegates here.classHandles the SELECT-backed CREATE shapes — VIEW, MATERIALIZED VIEW, and DYNAMIC TABLE — extracted fromDDLCommandHandler, which keeps the CREATE dispatch and delegates here.classHandles CREATE FUNCTION and CREATE PROCEDURE (UDF / stored-procedure creation across SQL/JS/Python/Java/ Scala), extracted fromDDLCommandHandler, which keeps the CREATE dispatch and delegates here.classHandles CREATE for security / governance objects — TAG, MASKING POLICY, ROW ACCESS POLICY, USER, ROLE — extracted fromDDLCommandHandler, which keeps the CREATE dispatch and delegates here.classHandles CREATE TABLE (plain, CLONE, and CREATE TABLE AS SELECT), extracted fromDDLCommandHandler, which keeps the CREATE dispatch and delegates here.classHandler for DDL (Data Definition Language) commands: CREATE, DROP, ALTER, USE, TRUNCATE, COMMENTclassHandler for DML (Data Manipulation Language) commands: INSERT, UPDATE, DELETE, MERGEclassHandles DROP statements (DROP TABLE/VIEW/DATABASE/SCHEMA/STREAM/TASK/SEQUENCE/...), extracted fromDDLCommandHandler, which keeps the public dispatch and delegates here.classHandlesGRANT …andREVOKE …statements, extracted verbatim fromSQLCommandVisitor.visitGrantStatement(dev.frostlake.parser.FrostlakeParser.GrantStatementContext)andSQLCommandVisitor.visitRevokeStatement(dev.frostlake.parser.FrostlakeParser.RevokeStatementContext).classHandler for Query commands: SELECT statementsclassHandler for SHOW and DESCRIBE commands: SHOW DATABASES, SHOW SCHEMAS, SHOW TABLES, DESCRIBE TABLE, etc.