|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.oda.consumer.helper.OdaObject
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriverObject
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDataSetMetaData
OdaDataSetMetaData is the Oda wrapper for data set metadata.
| Field Summary |
| Fields inherited from interface org.eclipse.datatools.connectivity.oda.IDataSetMetaData |
sortModeColumnOrder, sortModeNone, sortModeSingleColumn, sortModeSingleOrder, sqlStateSQL99, sqlStateXOpen |
| Method Summary | |
java.lang.Object |
findAndInvokeMethod(java.lang.String methodName,
java.lang.Class[] parameterTypes,
java.lang.Object[] args)
|
IConnection |
getConnection()
Returns the connection that produced this metadata object. |
int |
getDataSourceMajorVersion()
Returns the major version number of the underlying data provider. |
int |
getDataSourceMinorVersion()
Returns the minor version number of the underlying data provider. |
IResultSet |
getDataSourceObjects(java.lang.String catalog,
java.lang.String schema,
java.lang.String object,
java.lang.String version)
Returns the collection of objects found in a data provider's catalog. |
java.lang.String |
getDataSourceProductName()
Returns the name of this data provider product. |
java.lang.String |
getDataSourceProductVersion()
Returns the version of this data provider product as a String. |
int |
getSortMode()
Returns the dynamic sorting mode supported by this data set type. |
int |
getSQLStateType()
Indicates whether the SQLSTATE returned by OdaException.getSQLState()
is X/Open SQL CLI or SQL99. |
static void |
setThrowAndSetOdaException()
|
boolean |
supportsInParameters()
Indicates whether this data set type supports input parameters in IQuery. |
boolean |
supportsMultipleOpenResults()
Indicates whether this data set type supports getting multiple IResultSet objects simultaneously,
in its IAdvancedQuery implementation. |
boolean |
supportsMultipleResultSets()
Indicates whether this data set type supports getting multiple IResultSet objects (sequentially or simultaneously),
in its IAdvancedQuery implementation. |
boolean |
supportsNamedParameters()
Indicates whether this data set type supports named parameters in IQuery. |
boolean |
supportsNamedResultSets()
Indicates whether this data set type supports getting one or more IResultSet objects by name,
in its IAdvancedQuery implementation. |
boolean |
supportsOutParameters()
Indicates whether this data set type supports output parameters in its IAdvancedQuery implementation. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public IConnection getConnection()
throws OdaException
IDataSetMetaData
getConnection in interface IDataSetMetaDataOdaException - if data source error occurs.
public IResultSet getDataSourceObjects(java.lang.String catalog,
java.lang.String schema,
java.lang.String object,
java.lang.String version)
throws OdaException
IDataSetMetaData
getDataSourceObjects in interface IDataSetMetaDatacatalog - data provider's catalog.schema - search pattern for the data provider's schema or
owner name; could be left empty if not applicable to
the connected data provider.object - search pattern for the data provider's object name.version - data provider's objects version.
OdaException - if data source error occurs.
public int getDataSourceMajorVersion()
throws OdaException
IDataSetMetaData
getDataSourceMajorVersion in interface IDataSetMetaDataOdaException - if data source error occurs.
public int getDataSourceMinorVersion()
throws OdaException
IDataSetMetaData
getDataSourceMinorVersion in interface IDataSetMetaDataOdaException - if data source error occurs.
public java.lang.String getDataSourceProductName()
throws OdaException
IDataSetMetaData
getDataSourceProductName in interface IDataSetMetaDataOdaException - if data source error occurs.
public java.lang.String getDataSourceProductVersion()
throws OdaException
IDataSetMetaDataString.
getDataSourceProductVersion in interface IDataSetMetaDataOdaException - if data source error occurs.
public int getSQLStateType()
throws OdaException
IDataSetMetaDataOdaException.getSQLState()
is X/Open SQL CLI or SQL99.
getSQLStateType in interface IDataSetMetaDataOdaException - if data source error occurs.
public boolean supportsMultipleOpenResults()
throws OdaException
IDataSetMetaDataIResultSet objects simultaneously,
in its IAdvancedQuery implementation.
supportsMultipleOpenResults in interface IDataSetMetaDataIResultSet objects simultaneously; false otherwise.
OdaException - if data source error occurs.
public boolean supportsMultipleResultSets()
throws OdaException
IDataSetMetaDataIResultSet objects (sequentially or simultaneously),
in its IAdvancedQuery implementation.
supportsMultipleResultSets in interface IDataSetMetaDataIResultSet objects; false otherwise.
OdaException - if data source error occurs.
public boolean supportsNamedResultSets()
throws OdaException
IDataSetMetaDataIResultSet objects by name,
in its IAdvancedQuery implementation.
supportsNamedResultSets in interface IDataSetMetaDataIResultSet objects by name; false otherwise.
OdaException - if data source error occurs.
public boolean supportsNamedParameters()
throws OdaException
IDataSetMetaDataIQuery.
supportsNamedParameters in interface IDataSetMetaDataOdaException - if data source error occurs.
public boolean supportsInParameters()
throws OdaException
IDataSetMetaDataIQuery.
supportsInParameters in interface IDataSetMetaDataOdaException - if data source error occurs.
public boolean supportsOutParameters()
throws OdaException
IDataSetMetaDataIAdvancedQuery implementation.
supportsOutParameters in interface IDataSetMetaDataOdaException - if data source error occurs.public int getSortMode()
IDataSetMetaData
getSortMode in interface IDataSetMetaDatasortModeNone, sortModeSingleOrder,
sortModeColumnOrder, sortModeSingleColumnpublic static void setThrowAndSetOdaException()
public java.lang.Object findAndInvokeMethod(java.lang.String methodName,
java.lang.Class[] parameterTypes,
java.lang.Object[] args)
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
OdaException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
OdaException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||