Class CreateExtension
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract<PgDatabase>
org.pgcodekeeper.core.parsers.antlr.pg.statement.PgParserAbstract
org.pgcodekeeper.core.parsers.antlr.pg.statement.CreateExtension
Parser for PostgreSQL CREATE EXTENSION statements.
This class handles parsing of extension creation statements, including the extension name and optional schema specification where the extension should be installed.
-
Constructor Summary
ConstructorsConstructorDescriptionCreateExtension(SQLParser.Create_extension_statementContext ctx, PgDatabase db, ISettings settings) Constructs a new CreateExtension parser. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.parsers.antlr.pg.statement.PgParserAbstract
getIdentifiers, getIdentifiers, getIdentifiers, getTypeName, parseArguments, parseOperatorSignature, parseSignature, unquoteQuotedStringMethods inherited from class org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract
fillOptionParams, fillOptionParams, getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
CreateExtension
public CreateExtension(SQLParser.Create_extension_statementContext ctx, PgDatabase db, ISettings settings) Constructs a new CreateExtension parser.- Parameters:
ctx- the CREATE EXTENSION statement contextdb- the PostgreSQL database objectsettings- the ISettings object
-
-
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<PgDatabase>
-