public abstract class AbstractTableMetaData extends java.lang.Object implements ITableMetaData
Constructor and Description |
---|
AbstractTableMetaData()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex(java.lang.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,
java.lang.String[] keyNames)
Deprecated.
since 2.3.0 - use
Columns.getColumns(String[], Column[]) |
protected static Column[] |
getPrimaryKeys(java.lang.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, wait
getColumns, getPrimaryKeys, getTableName
protected static Column[] getPrimaryKeys(Column[] columns, java.lang.String[] keyNames)
Columns.getColumns(String[], Column[])
columns
- keyNames
- protected static Column[] getPrimaryKeys(java.lang.String tableName, Column[] columns, IColumnFilter columnFilter)
Columns.getColumns(String[], Column[])
tableName
- columns
- columnFilter
- public int getColumnIndex(java.lang.String columnName) throws DataSetException
ITableMetaData.getColumns()
to retrieve all available columns.getColumnIndex
in interface ITableMetaData
columnName
- The name of the column that is searchedDataSetException
NoSuchColumnException
- if the given column has not been foundITableMetaData.getColumnIndex(java.lang.String)
public IDataTypeFactory getDataTypeFactory(IDatabaseConnection connection) throws java.sql.SQLException
connection
- The connection providing the IDataTypeFactory
java.sql.SQLException
Copyright © 2002-2020. All Rights Reserved.