Skip to main content

%Library.AbstractForeignServer

abstract class %Library.AbstractForeignServer

Method Inventory

Parameters

parameter CONNECTION;
parameter DELIMITEDIDS;
parameter FDWNAME;
parameter HOST;
parameter PASSTHROUGH;
parameter PUSHDOWNTYPE;
parameter USING;

Methods

classmethod serializeConfig() as %DynamicObject
Serialize a server class into a %DynamicObject that contains interesting parameters on that class for the purposes of handing server information to a foreign data wrapper. This server config can be handed to the validateServerConfig() method of any %SQL.FDW.Wrapper.BaseWrapper subclass in order to validate that it contains sufficient server configuration information for the wrapper to fulfill its intended purpose. Although parameters are defined on the class in all upper case as a matter of convention, these parameters are serialized in the config object using camel case, with the first word lower cased. For example, "connection" or "pushdownType". An example of a serialized server config that may be returned is: { "connection": "MyJdbcConnection", "delimitedIds": true, "fdwName": "%SQL.FDW.Wrapper.JdbcWrapper", "passthrough": true, "pushdownType": "BASIC" }
FeedbackOpens in a new tab