Class AlterMsTable
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract<MsDatabase>
org.pgcodekeeper.core.parsers.antlr.ms.statement.MsParserAbstract
org.pgcodekeeper.core.parsers.antlr.ms.statement.MsTableAbstract
org.pgcodekeeper.core.parsers.antlr.ms.statement.AlterMsTable
Parser for Microsoft SQL ALTER TABLE statements.
Handles table modifications including constraint additions, column changes, trigger operations,
change tracking, and system versioning with appropriate danger warnings.
-
Constructor Summary
ConstructorsConstructorDescriptionAlterMsTable(TSQLParser.Alter_tableContext ctx, MsDatabase db, ISettings settings) Creates a parser for Microsoft SQL ALTER TABLE statements. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract
fillOptionParams, fillOptionParams, getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
AlterMsTable
Creates a parser for Microsoft SQL ALTER TABLE statements.- Parameters:
ctx- the ANTLR parse tree context for the ALTER TABLE statementdb- the Microsoft SQL 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<MsDatabase>
-