org.eclipse.emf.oda.ecore.impl
Class ResultSet.EDataType
java.lang.Object
org.eclipse.emf.oda.ecore.impl.ResultSet
org.eclipse.emf.oda.ecore.impl.ResultSet.EDataType
- All Implemented Interfaces:
- org.eclipse.datatools.connectivity.oda.IResultSet
- Enclosing class:
- ResultSet
protected static class ResultSet.EDataType
- extends ResultSet
A set of results that contains values of data types.
Method Summary |
int |
findColumn(java.lang.String columnName)
|
org.eclipse.datatools.connectivity.oda.IResultSetMetaData |
getMetaData()
|
protected java.lang.Object |
getValue(int index)
Returns the value (of the feature) at the specified index. |
Methods inherited from class org.eclipse.emf.oda.ecore.impl.ResultSet |
close, create, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getClob, getClob, getDate, getDate, getDouble, getDouble, getInt, getInt, getObject, getObject, getRow, getString, getString, getTime, getTime, getTimestamp, getTimestamp, next, setMaxRows, wasNull |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metaData
protected final ResultSetMetaData.EDataType metaData
ResultSet.EDataType
protected ResultSet.EDataType(EDataType type,
EList<?> results)
getMetaData
public org.eclipse.datatools.connectivity.oda.IResultSetMetaData getMetaData()
throws org.eclipse.datatools.connectivity.oda.OdaException
- Throws:
org.eclipse.datatools.connectivity.oda.OdaException
findColumn
public int findColumn(java.lang.String columnName)
throws org.eclipse.datatools.connectivity.oda.OdaException
- Throws:
org.eclipse.datatools.connectivity.oda.OdaException
getValue
protected java.lang.Object getValue(int index)
throws org.eclipse.datatools.connectivity.oda.OdaException
- Description copied from class:
ResultSet
- Returns the value (of the feature) at the specified index.
- Specified by:
getValue
in class ResultSet
- Parameters:
index
- the 1-based index of the desired value
- Returns:
- the value
- Throws:
org.eclipse.datatools.connectivity.oda.OdaException
- if data source error occurs