Class PgAlterOther
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.PgAlterOther
Parser for miscellaneous PostgreSQL ALTER statements.
This class handles parsing of various ALTER statements that don't have dedicated parsers, including ALTER DATABASE, ALTER SCHEMA, ALTER TYPE, ALTER OPERATOR, ALTER EXTENSION, ALTER FOREIGN DATA WRAPPER, ALTER POLICY, ALTER COLLATION, ALTER SERVER, ALTER USER MAPPING, ALTER EVENT TRIGGER, and ALTER STATISTICS.
-
Constructor Summary
ConstructorsConstructorDescriptionPgAlterOther(SQLParser.Schema_alterContext ctx, PgDatabase db, ISettings settings) Constructs a new AlterOther parser. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses 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
-
PgAlterOther
Constructs a new AlterOther parser.- Parameters:
ctx- the schema alter context containing the ALTER 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>
-