IRISLIB database
Static Class Reference

A Static result set is one where the original data source (a result set object) is copied to a process private global upon instantiation. More...

Inheritance diagram for Static:
Collaboration diagram for Static:

Public Member Functions

_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
- Public Member Functions inherited from IResultSet
_.Library.Status CloseCursor ()
 This method is expected to be overridden by concrete subclasses.
 
- 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...
 

Private Member Functions

_.Library.String Get (_.Library.String colname)
 A Static result set is one where the original data source (a result set object) is copied to a process private global upon instantiation. More...
 
_.Library.String GetData (_.Library.Integer colnbr)
 Returns the value of column colnbr in the current row of the result set.
 
_.Library.Integer Next (_.Library.Status sc)
 Advance the result set cursor to the next row. More...
 
_.Library.Integer ROWCOUNTGet ()
 RowCount for a static result set is always the number of rows in the static set.
 
_.Library.Integer SendODBC ()
 Fetch and send a series of rows for the ODBC/JDBC server. 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...
 

Detailed Description

A Static result set is one where the original data source (a result set object) is copied to a process private global upon instantiation.

Future data requests then use that snapshot instead of the original data.

Member Function Documentation

◆ Get()

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

A Static result set is one where the original data source (a result set object) is copied to a process private global upon instantiation.

Future data requests then use that snapshot instead of the original data.

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.

◆ Next()

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

Advance the result set cursor to the next row.

Returns 0 if the cursor is at the end of the

result set. The global structure consists of a base $list with individual nodes for columns. The base $list() can contain zero or more column values. Additional column values are stored in the global subscripted by column number and equal to the column value.

◆ 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.

◆ SendODBC()

_.Library.Integer SendODBC ( )
private

Fetch and send a series of rows for the ODBC/JDBC server.

For internal use only.