| Constructor and Description |
|---|
SimpleSqlTable(java.sql.DatabaseMetaData metaData,
java.lang.String dbTableName,
java.lang.String realCatalogName,
java.lang.String realSchemaName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
SqlColumn |
getColumnByName(java.lang.String name) |
java.util.List<SqlColumn> |
getColumns() |
SqlTableHierarchyLink |
getLinkByTableName(java.lang.String tableName) |
java.util.Map<java.lang.String,SqlTableHierarchyLink> |
getLinks() |
java.sql.DatabaseMetaData |
getMetaData() |
java.util.List<SqlColumn> |
getPrimaryKeyColumns() |
java.lang.String |
getRealName() |
public SimpleSqlTable(java.sql.DatabaseMetaData metaData,
java.lang.String dbTableName,
java.lang.String realCatalogName,
java.lang.String realSchemaName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getRealName()
getRealName in interface SqlTablepublic java.util.List<SqlColumn> getColumns() throws java.sql.SQLException
getColumns in interface SqlTablejava.sql.SQLExceptionpublic SqlColumn getColumnByName(java.lang.String name) throws java.sql.SQLException
getColumnByName in interface SqlTablejava.sql.SQLExceptionpublic java.util.Map<java.lang.String,SqlTableHierarchyLink> getLinks() throws java.sql.SQLException
public java.sql.DatabaseMetaData getMetaData()
throws java.sql.SQLException
java.sql.SQLExceptionpublic SqlTableHierarchyLink getLinkByTableName(java.lang.String tableName) throws java.sql.SQLException
getLinkByTableName in interface SqlTablejava.sql.SQLExceptionpublic java.util.List<SqlColumn> getPrimaryKeyColumns() throws java.sql.SQLException
getPrimaryKeyColumns in interface SqlTablejava.sql.SQLException