Class GpCreateExternalTable
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.PgTableAbstract
org.pgcodekeeper.core.database.pg.parser.statement.GpCreateExternalTable
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 Summary
ConstructorsConstructorDescriptionGpCreateExternalTable(PgDatabase db, org.antlr.v4.runtime.CommonTokenStream stream, SQLParser.Create_table_external_statementContext ctx, ISettings settings) Constructs a new CreateGpExternalTable 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
-
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 objectstream- the token stream for parsingctx- the CREATE EXTERNAL TABLE statement contextsettings- 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>
-