DocBook|Search
Class Reference
%SQL.Gateway.ODBCResultSet
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%SQL] >  [Gateway] >  [ODBCResultSet]
Private  Storage  

class %SQL.Gateway.ODBCResultSet extends %SQL.IResultSet

This class replaces %Library.GTWResultSet. It implements the result set interface for the current result set of a ODBC Gateway connection. Most often this class will be used by a linked procedure as a temporary container that is immediately copied into a static result set.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 5


Summary

Properties
%CurrentResult %Data %Message %Metadata
%OutputColumnCount %PrivateTables %ROWCOUNT %ROWID
%ResultColumnCount %SQLCODE %StatementType %StatementTypeName
%gwc %hstmt

Methods
%%OIDGet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %Display %DisplayFormatted %Extends
%Get %GetData %GetMetadata %GetParameter
%IsA %IsModified %MoreResults %New
%Next %NextOutputValue %NextResult %NormalizeObject
%ObjectModified %OriginalNamespace %PackageName %Print
%SerializeObject %SetModified %ValidateObject getSelectMode


Properties

• property %Data  [ MultiDimensional ];
• property %gwc as %SQLGatewayConnection;
• property %hstmt as %String;

Methods

• method %Get(colname As %String = "") as %Library.String
Returns the value of the column with the name name in the current row of the result set.

If name is not a valid column name, this method returns an empty string.

• method %GetData(colnbr As %Integer) as %Library.String
Returns the value of column colnbr in the current row of the result set.
• method %Next(ByRef sc As %Library.Status = $$$OK) as %Library.Integer
Advance to the next row in the result referenced by %ProcCursor. Returns 0 if the cursor is at the end of the result set. An optional argument contains a %Library.Status value on return. This %Status value indicates success or failure of the %Next call. %SQLCODE is also set by %Next. This implementation is overridden by classes that implement the result set interface.