|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An optional interface that represents complex data type objects such as structures and tables.
The interface applies only if the ODA driver supports the use of complex input and/or output parameters. A structure can be represented by an IParameterRowSet object with one row. This interface is used to represent complex parameter data values. A complex parameter's metadata can be obtained from its inherited getMetaData() method.
A row set column may be referenced by name or position.
The case-sensitivity of a name is implementation-dependent.
All indices in this interface are 1-based.
| Method Summary | |
boolean |
absolute(int rowIndex)
Moves the cursor to the designated row number. |
int |
add()
Appends a new row to the end of this collection and moves the cursor to the new row's position. |
void |
clear()
Removes all of the elements from this collection. |
boolean |
isEmpty()
Determines whether this does not contain any elements. |
boolean |
previous()
Moves the cursor up one element from its current position. |
void |
setBigDecimal(int columnIndex,
java.math.BigDecimal value)
Sets the decimal value at the designated column. |
void |
setBigDecimal(java.lang.String columnName,
java.math.BigDecimal value)
Sets the decimal value at the designated column. |
void |
setBoolean(int columnIndex,
boolean value)
Sets the boolean value at the designated column. |
void |
setBoolean(java.lang.String columnName,
boolean value)
Sets the boolean value at the designated column. |
void |
setDate(int columnIndex,
java.sql.Date value)
Sets the date value at the designated column. |
void |
setDate(java.lang.String columnName,
java.sql.Date value)
Sets the date value at the designated column. |
void |
setDouble(int columnIndex,
double value)
Sets the double value at the designated column. |
void |
setDouble(java.lang.String columnName,
double value)
Sets the double value at the designated column. |
void |
setInt(int columnIndex,
int value)
Sets the integer value at the designated column. |
void |
setInt(java.lang.String columnName,
int value)
Sets the integer value at the designated column. |
void |
setNull(int columnIndex)
Sets a null value at the designated column. |
void |
setNull(java.lang.String columnName)
Sets a null value at the designated column. |
void |
setString(int columnIndex,
java.lang.String value)
Sets the string value at the designated column. |
void |
setString(java.lang.String columnName,
java.lang.String value)
Sets the string value at the designated column. |
void |
setTime(int columnIndex,
java.sql.Time value)
Sets the time value at the designated column. |
void |
setTime(java.lang.String columnName,
java.sql.Time value)
Sets the time value at the designated column. |
void |
setTimestamp(int columnIndex,
java.sql.Timestamp value)
Sets the time stamp value at the designated column. |
void |
setTimestamp(java.lang.String columnName,
java.sql.Timestamp value)
Sets the time stamp value at the designated column. |
int |
size()
Returns the number of elements in this collection. |
| Methods inherited from interface org.eclipse.datatools.connectivity.oda.IResultSet |
close, findColumn, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getClob, getClob, getDate, getDate, getDouble, getDouble, getInt, getInt, getMetaData, getRow, getString, getString, getTime, getTime, getTimestamp, getTimestamp, next, setMaxRows, wasNull |
| Method Detail |
public boolean absolute(int rowIndex)
throws OdaException
rowIndex - the row number (1-based).
OdaException - if data source error occurs.
public boolean previous()
throws OdaException
OdaException - if data source error occurs.
public int add()
throws OdaException
OdaException - if data source error occurs.
public void clear()
throws OdaException
OdaException - if data source error occurs.
public boolean isEmpty()
throws OdaException
OdaException - if data source error occurs.
public int size()
throws OdaException
OdaException - if data source error occurs.
public void setInt(int columnIndex,
int value)
throws OdaException
columnIndex - index of the column.value - the integer value.
OdaException - if data source error occurs.
public void setInt(java.lang.String columnName,
int value)
throws OdaException
columnName - name of the column.value - the integer value.
OdaException - if data source error occurs.
public void setDouble(int columnIndex,
double value)
throws OdaException
columnIndex - index of the column.value - the double value.
OdaException - if data source error occurs.
public void setDouble(java.lang.String columnName,
double value)
throws OdaException
columnName - name of the column.value - the double value.
OdaException - if data source error occurs.
public void setBigDecimal(int columnIndex,
java.math.BigDecimal value)
throws OdaException
columnIndex - index of the column.value - the decimal value.
OdaException - if data source error occurs.
public void setBigDecimal(java.lang.String columnName,
java.math.BigDecimal value)
throws OdaException
columnName - name of the column.value - the decimal value.
OdaException - if data source error occurs.
public void setString(int columnIndex,
java.lang.String value)
throws OdaException
columnIndex - index of the column.value - the string value.
OdaException - if data source error occurs.
public void setString(java.lang.String columnName,
java.lang.String value)
throws OdaException
columnName - name of the column.value - the string value.
OdaException - if data source error occurs.
public void setDate(int columnIndex,
java.sql.Date value)
throws OdaException
columnIndex - index of the column.value - the java.sql.Date value.
OdaException - if data source error occurs.
public void setDate(java.lang.String columnName,
java.sql.Date value)
throws OdaException
columnName - name of the column.value - the java.sql.Date value.
OdaException - if data source error occurs.
public void setTime(int columnIndex,
java.sql.Time value)
throws OdaException
columnIndex - index of the column.value - the java.sql.Time value.
OdaException - if data source error occurs.
public void setTime(java.lang.String columnName,
java.sql.Time value)
throws OdaException
columnName - name of the column.value - the java.sql.Time value.
OdaException - if data source error occurs.
public void setTimestamp(int columnIndex,
java.sql.Timestamp value)
throws OdaException
columnIndex - index of the column.value - the java.sql.Timestamp value.
OdaException - if data source error occurs.
public void setTimestamp(java.lang.String columnName,
java.sql.Timestamp value)
throws OdaException
columnName - name of the column.value - the java.sql.Timestamp value.
OdaException - if data source error occurs.
public void setBoolean(int columnIndex,
boolean value)
throws OdaException
columnIndex - index of the column.value - the boolean value.
OdaException - if data source error occurs.
public void setBoolean(java.lang.String columnName,
boolean value)
throws OdaException
columnName - name of the column.value - the boolean value.
OdaException - if data source error occurs.
public void setNull(int columnIndex)
throws OdaException
columnIndex - index of the column.
OdaException - if data source error occurs
public void setNull(java.lang.String columnName)
throws OdaException
columnName - name of the column.
OdaException - if data source error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||