Class MsAlterOther
java.lang.Object
org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract<MsDatabase>
org.pgcodekeeper.core.database.ms.parser.statement.MsParserAbstract
org.pgcodekeeper.core.database.ms.parser.statement.MsAlterOther
Parser for Microsoft SQL ALTER statements that handle schemas, users, and sequences.
Processes ALTER SCHEMA, ALTER USER, and ALTER SEQUENCE statements with appropriate
danger warnings for potentially destructive operations like RESTART WITH.
-
Constructor Summary
ConstructorsConstructorDescriptionMsAlterOther(TSQLParser.Schema_alterContext ctx, MsDatabase db, ISettings settings) Creates a parser for Microsoft SQL ALTER statements. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract
getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
MsAlterOther
Creates a parser for Microsoft SQL ALTER statements.- Parameters:
ctx- the ANTLR parse tree context for the ALTER 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>
-