IRISLIB database
JGWResultSet Class Reference
Inheritance diagram for JGWResultSet:
Collaboration diagram for JGWResultSet:

Public Member Functions

_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnNew (_.Library.RawString conninfo)
 it expects $lb(dllHandle,ConnectionHandle,StatementHandle)
 
_.Library.RegisteredObject NextResult ()
 Called to return the next resultset object. More...
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
- Public Member Functions inherited from IProcedureContext
_.Library.Status CloseCurrentResult ()
 Close the current resultset object, used to allow the cleanup code to run and the cursor to close.
 

Public Attributes

 Data
   More...
 
 colindex
   More...
 
 columns
   More...
 
 firsttime
   More...
 
 gwc
   More...
 
 hstmt
   More...
 
 sentODBC
   More...
 
- Public Attributes inherited from IProcedureContext
 Error
   More...
 

Private Member Functions

_.Library.Status CloseCursor ()
 This method is expected to be overridden by concrete subclasses.
 
_.Library.String Get (_.Library.String colname)
 Returns the value of the column with the name pColumnName in the current row of the result set. More...
 
_.Library.String GetData (_.Library.Integer colnbr)
 Returns the value of column pColumnNumber in the current row of the result set.
 
_.Library.Integer Next (_.Library.Status sc)
 Advance the procedural result set cursor to the next row. More...
 
_.Library.Status __InitMetadata ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Member Function Documentation

◆ Get()

_.Library.String Get ( _.Library.String  pColumnName)
private

Returns the value of the column with the name pColumnName in the current row of the result set.

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

Reimplemented from IProcedureContext.

◆ Next()

_.Library.Integer Next ( _.Library.Status  pStatus)
private

Advance the procedural result set cursor to the next row.

Returns 0 if the cursor is at the end of the

result set or if an error was encountered. Errors are reported in dynamic SQL using the SQLCODE and Message properties of the statement result. An optional argument will contain a Status value on return. This Status value indicates success or failure of the Next call but it should be considered to be a secondary error reporting interface, <property>SQLCODE</property> being the primary error reporting mechanism. This implementation can be overridden by classes that implement the procedural cursor interface.

Reimplemented from IProcedureContext.

◆ OnClose()

_.Library.Status OnClose ( )

This callback method is invoked by the <METHOD>Close</METHOD> method to.

provide notification that the current object is being closed.

The return value of this method is ignored.

Reimplemented from IResultSet.

◆ __InitMetadata()

_.Library.Status __InitMetadata ( )
private

This callback method is invoked by the <METHOD>New</METHOD> 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)

◆ NextResult()

Called to return the next resultset object.

This also removes the reference to the existing object so it can cleanup and close itself

Reimplemented from IProcedureContext.

Member Data Documentation

◆ Data

Data

 

 

◆ colindex

colindex

 

 

◆ columns

columns

 

 

◆ firsttime

firsttime

 

 

◆ gwc

gwc

 

 

◆ hstmt

hstmt

 

 

◆ sentODBC

sentODBC