Skip to main content

%Library.JGWResultSet

Class %Library.JGWResultSet Extends (%Library.IResultSet, %IProcedureContext) [ Inheritance = right, System = 4 ]

Properties

gwc

Property gwc As %SQLGatewayConnection;

hstmt

Property hstmt As %String;

firsttime

Property firsttime As %Integer;

sentODBC

Property sentODBC As %Integer;

Data

Property Data [ MultiDimensional ];

colindex

Property colindex [ MultiDimensional ];

columns

Property columns [ MultiDimensional ];

Methods

NextResult

Method NextResult() As %Library.RegisteredObject

%Get

Method %Get(colname As %String = "") As %Library.String

%CloseCursor

Method %CloseCursor() As %Status

%Print

Method %Print() As %Status

CreateStaticRS

Method CreateStaticRS(ByRef sqcon As %Library.ObjectHandle) As %Library.Status

%Next

Method %Next(ByRef sc As %Library.Status = {$$$OK}) As %Library.Integer

%GetData

Method %GetData(colnbr As %Integer) As %Library.String

InitMetadata

Method InitMetadata() As %Status [ Private, ProcedureBlock = 1 ]

This callback method is invoked by the %New method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created. it expects $lb(dllHandle,ConnectionHandle,StatementHandle)

%OnNew

Method %OnNew(conninfo As %RawString) As %Status [ Private, ProcedureBlock = 1 ]

it expects $lb(dllHandle,ConnectionHandle,StatementHandle)

%SendODBC

Method %SendODBC() As %Integer

%OnClose

Method %OnClose() As %Status [ Private, ProcedureBlock = 1, ServerOnly = 1 ]

This callback method is invoked by the %Close method to provide notification that the current object is being closed.

The return value of this method is ignored.