public final class AlterView extends PgParserAbstract
Parser for PostgreSQL ALTER VIEW statements.

This class handles parsing of view alterations including setting and dropping default values for view columns. These operations affect how the view behaves during INSERT operations.

  • Constructor Details

    • AlterView

      public AlterView(SQLParser.Alter_view_statementContext ctx, PgDatabase db, org.antlr.v4.runtime.CommonTokenStream stream, ISettings settings)
      Constructs a new AlterView parser.
      Parameters:
      ctx - the ALTER VIEW statement context
      db - the PostgreSQL database object
      stream - the token stream for parsing
      settings - the ISettings object
  • Method Details

    • parseObject

      public void parseObject()
      Description copied from class: ParserAbstract
      Parses a database object from the current context. Must be implemented by concrete subclasses to handle specific object types.
      Specified by:
      parseObject in class ParserAbstract<PgDatabase>