Class CreateFdw
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.CreateFdw
Parser for PostgreSQL CREATE FOREIGN DATA WRAPPER statements.
This class handles parsing of foreign data wrapper definitions including handler and validator functions, and wrapper-specific options. Foreign data wrappers provide access to external data sources.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateFdw(SQLParser.Create_foreign_data_wrapper_statementContext ctx, PgDatabase db, ISettings settings) Constructs a new CreateFdw 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
-
Field Details
-
VALIDATOR_SIGNATURE
Function signature for foreign data wrapper validator functions.- See Also:
-
HANDLER_SIGNATURE
Function signature for foreign data wrapper handler functions.- See Also:
-
-
Constructor Details
-
CreateFdw
public CreateFdw(SQLParser.Create_foreign_data_wrapper_statementContext ctx, PgDatabase db, ISettings settings) Constructs a new CreateFdw parser.- Parameters:
ctx- the CREATE FOREIGN DATA WRAPPER statement contextdb- the PostgreSQL database objectsettings- 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>
-