Skip to main content

%XDBC.Gateway.ODBC.ResultSet

class %XDBC.Gateway.ODBC.ResultSet extends %XDBC.Gateway.ResultSet

Property Inventory

Method Inventory

Properties

property atEnd as %Integer;
Property methods: atEndDisplayToLogical(), atEndGet(), atEndIsValid(), atEndLogicalToDisplay(), atEndNormalize(), atEndSet()
property more as %Integer;
Property methods: moreDisplayToLogical(), moreGet(), moreIsValid(), moreLogicalToDisplay(), moreNormalize(), moreSet()
property statement as %XDBC.Gateway.ODBC.Statement;
Property methods: statementGet(), statementGetSwizzled(), statementIsValid(), statementNewObject(), statementSet()

Methods

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

If colname is not a valid column name, this method throws a error.

method GetData(colindex As %Integer) as %Library.RawString
method GetDataW(colindex As %Integer) as %Library.RawString
method GetFetchSize() as %Integer
Inherited description: Retrieves the fetch size for this ResultSet object.
method GetMultipleRows(rows As %Integer, ByRef more As %Boolean) as %Binary
Returns %Binary - $list(Row(1),...Row(rows)) where eaach Row is $list of all colum values

If rows Number of rows requested

If more 1 if more data available

method GetObject(columnIndex As %Integer) as %ObjectHandle
Method Not Supported
method GetRow() as %Library.List
Advance to the next row in the result set. Returns 0 if the cursor is at the end of the result set. The row is returned in $List format by reference in the Row argument.
method GetRows(rowCount As %Library.Integer) as %Library.Integer
Method Not Supported
method GetW(colname As %RawString = "") as %Library.RawString
Returns the unicode value of the column with the name colname in the current row of the result set.

If colname is not a valid column name, this method throws a error.

Advance to the next row in the result set. Returns 0 if the cursor is at the end of the result set.
method SetColumnNames()
method SetFetchSize(rows As %Integer)
Inherited description: Gives the driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this ResultSet object.
method SetUseGetRows(val As %Boolean)
method WasNull() as %Boolean
Method Not Supported

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab