Class PgDropStatement
java.lang.Object
org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract<PgDatabase>
org.pgcodekeeper.core.database.pg.parser.statement.PgParserAbstract
org.pgcodekeeper.core.database.pg.parser.statement.PgDropStatement
Parser for PostgreSQL DROP statements.
This class handles parsing of various DROP statements including DROP TABLE, DROP FUNCTION, DROP PROCEDURE, DROP AGGREGATE, DROP TRIGGER, DROP RULE, DROP POLICY, DROP OPERATOR, DROP CAST, DROP USER MAPPING, and other database object types.
-
Constructor Summary
ConstructorsConstructorDescriptionPgDropStatement(SQLParser.Schema_dropContext ctx, PgDatabase db, ISettings settings) Constructs a new DropStatement parser. -
Method Summary
Modifier and TypeMethodDescriptionvoidProcesses a DROP FUNCTION, DROP PROCEDURE, or DROP AGGREGATE statement.voidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.database.pg.parser.statement.PgParserAbstract
fillOptionParams, fillOptionParams, getIdentifiers, getIdentifiers, getIdentifiers, getTypeName, parseArguments, parseOperatorSignature, parseSignature, unquoteQuotedStringMethods inherited from class org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract
getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
PgDropStatement
Constructs a new DropStatement parser.- Parameters:
ctx- the schema drop 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>
-
dropFunction
Processes a DROP FUNCTION, DROP PROCEDURE, or DROP AGGREGATE statement.- Parameters:
ctx- the drop function statement context
-