Class ChCreateRole
java.lang.Object
org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract<ChDatabase>
org.pgcodekeeper.core.database.ch.parser.statement.ChParserAbstract
org.pgcodekeeper.core.database.ch.parser.statement.ChCreateRole
Parser for ClickHouse CREATE ROLE statements.
Handles role creation including storage type configuration and support for multiple roles in one statement.
-
Constructor Summary
ConstructorsConstructorDescriptionChCreateRole(CHParser.Create_role_stmtContext ctx, ChDatabase db, ISettings settings) Creates a parser for ClickHouse CREATE ROLE statements. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.database.ch.parser.statement.ChParserAbstract
getIdentifiersMethods inherited from class org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract
getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
ChCreateRole
Creates a parser for ClickHouse CREATE ROLE statements.- Parameters:
ctx- the ANTLR parse tree context for the CREATE ROLE statementdb- the ClickHouse database schema being processedsettings- parsing configuration settings
-
-
Method Details
-
parseObject
public void parseObject()Description copied from class:ParserAbstractParses a database object from the current context. Must be implemented by concrete subclasses to handle specific object types.- Specified by:
parseObjectin classParserAbstract<ChDatabase>
-