Class GpCreateExternalTable


public final class GpCreateExternalTable extends PgTableAbstract
Parser for Greenplum CREATE EXTERNAL TABLE statements.

This class handles parsing of Greenplum-specific external table definitions including location specifications, execution commands, format options (CSV, text, custom), encoding settings, error logging, and distribution clauses. External tables provide access to data in external files or through custom protocols.

  • Constructor Details

    • GpCreateExternalTable

      public GpCreateExternalTable(PgDatabase db, org.antlr.v4.runtime.CommonTokenStream stream, SQLParser.Create_table_external_statementContext ctx, ISettings settings)
      Constructs a new CreateGpExternalTable parser.
      Parameters:
      db - the PostgreSQL database object
      stream - the token stream for parsing
      ctx - the CREATE EXTERNAL TABLE statement context
      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>