Class CreateForeignTable
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.CreateForeignTable
Parser for PostgreSQL CREATE FOREIGN TABLE statements.
This class handles parsing of foreign table definitions including columns, partitioning information, server references, and foreign table options. Foreign tables provide access to data stored in external data sources through foreign data wrappers.
-
Constructor Summary
ConstructorsConstructorDescriptionCreateForeignTable(SQLParser.Create_foreign_table_statementContext ctx, PgDatabase db, org.antlr.v4.runtime.CommonTokenStream stream, ISettings settings) Constructs a new CreateForeignTable 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
-
CreateForeignTable
public CreateForeignTable(SQLParser.Create_foreign_table_statementContext ctx, PgDatabase db, org.antlr.v4.runtime.CommonTokenStream stream, ISettings settings) Constructs a new CreateForeignTable parser.- Parameters:
ctx- the CREATE FOREIGN TABLE statement contextdb- the PostgreSQL database objectstream- the token stream for parsingsettings- 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>
-