Class AlterOther
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.AlterOther
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
ConstructorsConstructorDescriptionAlterOther(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.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
-
AlterOther
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>
-