|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.data.oda.impl.SimpleResultSet
org.eclipse.datatools.connectivity.oda.impl.SimpleResultSet
.
Default implementation of IResultSet for a simple ODA runtime driver.
Constructor Summary | |
SimpleResultSet()
Deprecated. |
Method Summary | |
void |
close()
Deprecated. Closes the cursor associated with this IResultSet. |
int |
findColumn(java.lang.String columnName)
Deprecated. Returns the column index of the specified column name. |
java.math.BigDecimal |
getBigDecimal(int index)
Deprecated. Gets the value of the designated column in the current row as a decimal. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName)
Deprecated. Gets the value of the designated column in the current row as a decimal. |
java.sql.Date |
getDate(int index)
Deprecated. Gets the value of the designated column in the current row as a java.sql.Date. |
java.sql.Date |
getDate(java.lang.String columnName)
Deprecated. Gets the value of the designated column in the current row as a java.sql.Date. |
double |
getDouble(int index)
Deprecated. Gets the value of the designated column in the current row as a double. |
double |
getDouble(java.lang.String columnName)
Deprecated. Gets the value of the designated column in the current row as a double. |
int |
getInt(int index)
Deprecated. Gets the value of the designated column in the current row as an int. |
int |
getInt(java.lang.String columnName)
Deprecated. Gets the value of the designated column in the current row as an int. |
protected int |
getMaxRows()
Deprecated. Returns the maximum number of rows that can be fetched from this result set. |
IResultSetMetaData |
getMetaData()
Deprecated. Returns the metadata associated with this IResultSet. |
int |
getRow()
Deprecated. Returns the current row's 1-based index position. |
java.lang.String |
getString(int index)
Deprecated. Gets the value of the designated column in the current row as a String. |
java.lang.String |
getString(java.lang.String columnName)
Deprecated. Gets the value of the designated column in the current row as a String. |
java.sql.Time |
getTime(int index)
Deprecated. Gets the value of the designated column in the current row as a java.sql.Time. |
java.sql.Time |
getTime(java.lang.String columnName)
Deprecated. Gets the value of the designated column in the current row as a java.sql.Time. |
java.sql.Timestamp |
getTimestamp(int index)
Deprecated. Gets the value of the designated column in the current row as a java.sql.Timestamp. |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName)
Deprecated. Gets the value of the designated column in the current row as a java.sql.Timestamp. |
boolean |
next()
Deprecated. Moves the cursor down one row from its current position. |
void |
setMaxRows(int max)
Deprecated. Specifies the maximum number of rows that can be fetched from this result set. |
boolean |
wasNull()
Deprecated. Returns whether the value read from the previous get<type> method was invalid or null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleResultSet()
Method Detail |
public IResultSetMetaData getMetaData() throws OdaException
IResultSet
getMetaData
in interface IResultSet
OdaException
- if data source error occurs.IResultSet.getMetaData()
public void setMaxRows(int max) throws OdaException
IResultSet
setMaxRows
in interface IResultSet
max
- maximum number of rows that can be fetched from this IResultSet;
zero means there is no limit.
This value should not be greater than the maximum number of rows
specified in the related IQuery.
OdaException
- if data source error occurs.IResultSet.setMaxRows(int)
protected int getMaxRows()
public boolean next() throws OdaException
IResultSet
next
in interface IResultSet
OdaException
- if data source error occurs.IResultSet.next()
public void close() throws OdaException
IResultSet
close
in interface IResultSet
OdaException
- if data source error occurs.IResultSet.close()
public int getRow() throws OdaException
IResultSet
getRow
in interface IResultSet
OdaException
- if data source error occurs.IResultSet.getRow()
public java.lang.String getString(int index) throws OdaException
IResultSet
getString
in interface IResultSet
index
- column number (1-based).
OdaException
- if data source error occurs.IResultSet.getString(int)
public java.lang.String getString(java.lang.String columnName) throws OdaException
IResultSet
getString
in interface IResultSet
columnName
- column name.
OdaException
- if data source error occurs.IResultSet.getString(java.lang.String)
public int getInt(int index) throws OdaException
IResultSet
getInt
in interface IResultSet
index
- column number (1-based).
OdaException
- if data source error occurs.IResultSet.getInt(int)
public int getInt(java.lang.String columnName) throws OdaException
IResultSet
getInt
in interface IResultSet
columnName
- column name.
OdaException
- if data source error occurs.IResultSet.getInt(java.lang.String)
public double getDouble(int index) throws OdaException
IResultSet
getDouble
in interface IResultSet
index
- column number (1-based).
OdaException
- if data source error occurs.IResultSet.getDouble(int)
public double getDouble(java.lang.String columnName) throws OdaException
IResultSet
getDouble
in interface IResultSet
columnName
- column name.
OdaException
- if data source error occurs.IResultSet.getDouble(java.lang.String)
public java.math.BigDecimal getBigDecimal(int index) throws OdaException
IResultSet
getBigDecimal
in interface IResultSet
index
- column number (1-based).
OdaException
- if data source error occurs.IResultSet.getBigDecimal(int)
public java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws OdaException
IResultSet
getBigDecimal
in interface IResultSet
columnName
- column name.
OdaException
- if data source error occurs.IResultSet.getBigDecimal(java.lang.String)
public java.sql.Date getDate(int index) throws OdaException
IResultSet
getDate
in interface IResultSet
index
- column number (1-based).
OdaException
- if data source error occurs.IResultSet.getDate(int)
public java.sql.Date getDate(java.lang.String columnName) throws OdaException
IResultSet
getDate
in interface IResultSet
columnName
- column name.
OdaException
- if data source error occurs.IResultSet.getDate(java.lang.String)
public java.sql.Time getTime(int index) throws OdaException
IResultSet
getTime
in interface IResultSet
index
- column number (1-based).
OdaException
- if data source error occurs.IResultSet.getTime(int)
public java.sql.Time getTime(java.lang.String columnName) throws OdaException
IResultSet
getTime
in interface IResultSet
columnName
- column name.
OdaException
- if data source error occurs.IResultSet.getTime(java.lang.String)
public java.sql.Timestamp getTimestamp(int index) throws OdaException
IResultSet
getTimestamp
in interface IResultSet
index
- column number (1-based).
OdaException
- if data source error occurs.IResultSet.getTimestamp(int)
public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws OdaException
IResultSet
getTimestamp
in interface IResultSet
columnName
- column name.
OdaException
- if data source error occurs.IResultSet.getTimestamp(java.lang.String)
public boolean wasNull() throws OdaException
IResultSet
wasNull
in interface IResultSet
OdaException
- if data source error occurs.IResultSet.wasNull()
public int findColumn(java.lang.String columnName) throws OdaException
IResultSet
findColumn
in interface IResultSet
columnName
- name of the column.
OdaException
- if data source error occurs.IResultSet.findColumn(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |