public final class AlterChOther extends ChParserAbstract
Parser for ClickHouse ALTER statements that handle policies, users, and roles. Processes ALTER POLICY, ALTER USER, and ALTER ROLE statements.
  • Constructor Details

    • AlterChOther

      public AlterChOther(CHParser.Alter_stmtContext ctx, ChDatabase db, ISettings settings)
      Creates a parser for ClickHouse ALTER statements.
      Parameters:
      ctx - the ANTLR parse tree context for the ALTER statement
      db - the ClickHouse database schema being processed
      settings - 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:
      parseObject in class ParserAbstract<ChDatabase>