public interface ITableMetaData
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex(java.lang.String columnName)
Returns the column's array index of the column with the given name within this table metadata.
|
Column[] |
getColumns()
Returns this table columns as recognized by dbunit.
|
Column[] |
getPrimaryKeys()
Returns this table primary key columns.
|
java.lang.String |
getTableName()
Returns this table name.
|
java.lang.String getTableName()
Column[] getColumns() throws DataSetException
IDataTypeFactory
.
Note that it is not an exceptional case within dbunit when a ITableMetaData
does not have a column.DataSetException
Column[] getPrimaryKeys() throws DataSetException
DataSetException
int getColumnIndex(java.lang.String columnName) throws DataSetException
columnName
- The name of the column that is searchedNoSuchColumnException
- if the given column has not been foundDataSetException
- if something goes wrong when trying to retrieve the columnsCopyright © 2002-2020. All Rights Reserved.