Class UpdateStatement
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.UpdateStatement
PostgreSQL UPDATE statement parser that handles data modification operations.
Extends
PgParserAbstract to provide parsing functionality for
UPDATE statements which modify existing rows in a table. This parser
automatically marks the operation as dangerous due to data modification risks.-
Constructor Summary
ConstructorsConstructorDescriptionUpdateStatement(SQLParser.Update_stmt_for_psqlContext ctx, PgDatabase db, ISettings settings) Constructs an UPDATE statement 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
-
UpdateStatement
public UpdateStatement(SQLParser.Update_stmt_for_psqlContext ctx, PgDatabase db, ISettings settings) Constructs an UPDATE statement parser.- Parameters:
ctx- the ANTLR parser context for the UPDATE statementdb- 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>
-