MicroStrategy ONE

ResultSet methods

You can use the following methods to interact with a ResultSet.

Method

Returns...

Type

doesFieldExist (DisplayPropertyEnum iProperty)

TRUE if a column for the specified PropertyID exists in the ResultSet

boolean

getfieldPropertyID (int iIndex)

The property ID associated with the specified column index. (The first column is index 0.)

int

getResultCell (DisplayPropertyEnum iProperty)

getResultCell (int iIndex)

The ResultCell associated with the specified property or column index.

ResultCell

moveFirst()

Void. Moves the cursor to the first row of the ResultSet.

void

moveNext()

Void. Moves the cursor to the next row of the ResultSet.

void

moveTo(int iRowID)

Void. Moves the cursor to the specified row of the ResultSet. (The first row is row 0.)

void

isEOF()

TRUE if there is no next row.

boolean

getRowCount()

The number of rows in the ResultSet.

int

getColumnCount()

The number of columns in the ResultSet.

int