Class actuate.data.ResultSet
The ResultSet class represents a result set.
Member of: actuate.data.
Constructor Attributes | Constructor Name and Description |
---|---|
The ResultSet class represents a result set.
|
Method Attributes | Method Name and Description |
---|---|
Returns an array of column names as string.
|
|
getValue(column)
Returns the column value by column index
The first column has index 1.
|
|
next()
Jump to the next row in the result set and returns whether more rows are
available.
|
Class Detail
actuate.data.ResultSet()
The ResultSet class represents a result set.
This class is not meant to be constructed directly.
It is returned by the downloadResultSet() method in actuate.DataService.
Method Detail
{Array} getColumnNames()
Returns an array of column names as string.
- Returns:
- {Array} array of column names as string
{String} getValue(column)
Returns the column value by column index
The first column has index 1.
Note that next() must be called before the first call
to getValue() to set the cursor to the first record.
- Parameters:
- {int} column
- column index or column name
- Returns:
- {String} value
{boolean} next()
Jump to the next row in the result set and returns whether more rows are
available.
- Returns:
- {boolean} true if more rows are available, false otherwise.