Class CreateGpExternalTable
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.TableAbstract
org.pgcodekeeper.core.parsers.antlr.pg.statement.CreateGpExternalTable
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
ConstructorsConstructorDescriptionCreateGpExternalTable(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.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
-
CreateGpExternalTable
public CreateGpExternalTable(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>
-