%Library.ForeignTableQuery
class %Library.ForeignTableQuery extends %Library.Query
Method Inventory
Methods
Execute takes optional whereClause and parameters parameters for predicate pushdown. This method creates an object of the relevant foreign data wrapper class (%SQL.FDW.*) and returns it by reference in %qHandle.
qHandle is a foreign data wrapper object.
The Fetch method sets Row to be a $List of values corresponding to the columns of the query by passing the row by reference to the Fetch method of the foreign data wrapper. If we are past the end of the data and no row is returned, Row should be set to null string (""). If the non-empty row being returned is the last one, AtEnd is set to 1, indicating that an additional call to Fetch may be avoided.