Class CreateChSchema
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.CreateChSchema
Parser for ClickHouse CREATE DATABASE statements.
Handles database (schema) creation including engine specifications and comments.
-
Constructor Summary
ConstructorsConstructorDescriptionCreateChSchema(CHParser.Create_database_stmtContext ctx, ChDatabase db, ISettings settings) Creates a parser for ClickHouse CREATE DATABASE statements. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.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
-
CreateChSchema
Creates a parser for ClickHouse CREATE DATABASE statements.- Parameters:
ctx- the ANTLR parse tree context for the CREATE DATABASE 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>
-