public abstract class AbstractTableMetaData extends Object implements ITableMetaData
| Constructor and Description |
|---|
AbstractTableMetaData()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnIndex(String columnName)
Provides the index of the column with the given name within this table.
|
IDataTypeFactory |
getDataTypeFactory(IDatabaseConnection connection)
Validates and returns the datatype factory of the given connection
|
protected static Column[] |
getPrimaryKeys(Column[] columns,
String[] keyNames)
Deprecated.
since 2.3.0 - use
Columns.getColumns(String[], Column[]) |
protected static Column[] |
getPrimaryKeys(String tableName,
Column[] columns,
IColumnFilter columnFilter)
Deprecated.
since 2.3.0 - use
Columns.getColumns(String[], Column[]) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumns, getPrimaryKeys, getTableNameprotected static Column[] getPrimaryKeys(Column[] columns, String[] keyNames)
Columns.getColumns(String[], Column[])columns - keyNames - protected static Column[] getPrimaryKeys(String tableName, Column[] columns, IColumnFilter columnFilter)
Columns.getColumns(String[], Column[])tableName - columns - columnFilter - public int getColumnIndex(String columnName) throws DataSetException
ITableMetaData.getColumns() to retrieve all available columns.getColumnIndex in interface ITableMetaDatacolumnName - The name of the column that is searchedDataSetExceptionNoSuchColumnException - if the given column has not been foundITableMetaData.getColumnIndex(java.lang.String)public IDataTypeFactory getDataTypeFactory(IDatabaseConnection connection) throws SQLException
connection - The connection providing the IDataTypeFactorySQLExceptionCopyright © 2002-2017. All Rights Reserved.