Class AlterChOther
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract<ChDatabase>
org.pgcodekeeper.core.parsers.antlr.ch.statement.ChParserAbstract
org.pgcodekeeper.core.parsers.antlr.ch.statement.AlterChOther
Parser for ClickHouse ALTER statements that handle policies, users, and roles.
Processes ALTER POLICY, ALTER USER, and ALTER ROLE statements.
-
Constructor Summary
ConstructorsConstructorDescriptionAlterChOther(CHParser.Alter_stmtContext ctx, ChDatabase db, ISettings settings) Creates a parser for ClickHouse ALTER statements. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses the ALTER statement and processes the appropriate database object type.Methods inherited from class org.pgcodekeeper.core.parsers.antlr.ch.statement.ChParserAbstract
getIdentifiersMethods inherited from class org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract
fillOptionParams, fillOptionParams, getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
AlterChOther
Creates a parser for ClickHouse ALTER statements.- Parameters:
ctx- the ANTLR parse tree context for the ALTER statementdb- the ClickHouse database schema being processedsettings- parsing configuration settings
-
-
Method Details
-
parseObject
public void parseObject()Parses the ALTER statement and processes the appropriate database object type. Handles ALTER POLICY, ALTER USER, or ALTER ROLE statements based on the context.- Specified by:
parseObjectin classParserAbstract<ChDatabase>
-