-
-
Field Summary
Fields Modifier and Type Field Description private final String
catalog
private final String
schema
private final String
name
private final String
type
private final String
remarks
private final String
typeCatalog
private final String
typeSchema
private final String
typeName
private final String
selfReferencingColumnName
private final String
referencingColumnGeneration
private final PrimaryKey
primaryKey
-
Constructor Summary
Constructors Constructor Description Table(DatabaseMetaData metadata, ResultSet rs)
-
Method Summary
Modifier and Type Method Description final String
getCatalog()
CatalogSource column: TABLE_CAT final String
getSchema()
SchemaSource column: TABLE_SCHEM final String
getName()
NameSource column: TABLE_NAME final String
getType()
TypeSource column: TABLE_TYPE final String
getRemarks()
RemarksSource column: REMARKS final String
getTypeCatalog()
Type catalogSource column: TYPE_CAT final String
getTypeSchema()
Type schemaSource column: TYPE_SCHEM final String
getTypeName()
Type nameSource column: TYPE_NAME final String
getSelfReferencingColumnName()
Self referencing column nameSource column: SELF_REFERENCING_COL_NAME final String
getReferencingColumnGeneration()
Referencing column generationSource column: REF_GENERATION final PrimaryKey
getPrimaryKey()
final List<BestRowIdentifier>
getBestRowIdentifier(BestRowIdentifierScope scope, Boolean nullable)
Get best row identifier for this tableSource: wrapped results of getBestRowIdentifier filtered to this table's catalog, schema, and name final List<Column>
getColumns(String columnNamePattern)
Get columns for this tableSource: wrapped results of getColumns filtered to this table's catalog, schema, and name final List<Column>
getColumns()
Get columns for this tableSource: wrapped results of getColumns filtered to this table's catalog, schema, and name final List<Key>
getExportedKeys()
Get keys exported from this tableSource: wrapped results of getExportedKeys filtered to this table's catalog, schema, and name final List<Key>
getImportedKeys()
Get keys imported from other tablesSource: wrapped results of getImportedKeys filtered to this table's catalog, schema, and name final List<Index>
getIndexes(Boolean unique, Boolean approximate)
Get indexesSource: wrapped results of getIndexInfo filtered to this table's catalog, schema, and name final List<PseudoColumn>
getPseudoColumns(String columnNamePattern)
Get pseudo columnsSource: wrapped results of getPseudoColumns filtered to this table's catalog, schema, and name final List<PseudoColumn>
getPseudoColumns()
Get pseudo columnsSource: wrapped results of getPseudoColumns filtered to this table's catalog, schema, and name final List<Table>
getSuperTables()
Get super tables of this tableSource: wrapped result of getSuperTables filtered to this table's catalog, schema, and name final List<TablePrivilege>
getTablePrivileges()
Get table privilegesSource: wrapped results of getTablePrivileges filtered to this table's catalog, schema, and name final List<VersionColumn>
getVersionColumns()
Get version columnsSource: wrapped results of getVersionColumns filtered to this table's catalog, schema, and name Boolean
equals(Object other)
Integer
hashCode()
-
-
Constructor Detail
-
Table
Table(DatabaseMetaData metadata, ResultSet rs)
-
-
Method Detail
-
getCatalog
final String getCatalog()
Catalog
Source column: TABLE_CAT
-
getRemarks
final String getRemarks()
Remarks
Source column: REMARKS
-
getTypeCatalog
final String getTypeCatalog()
Type catalog
Source column: TYPE_CAT
-
getTypeSchema
final String getTypeSchema()
Type schema
Source column: TYPE_SCHEM
-
getTypeName
final String getTypeName()
Type name
Source column: TYPE_NAME
-
getSelfReferencingColumnName
final String getSelfReferencingColumnName()
Self referencing column name
Source column: SELF_REFERENCING_COL_NAME
-
getReferencingColumnGeneration
final String getReferencingColumnGeneration()
Referencing column generation
Source column: REF_GENERATION
-
getPrimaryKey
final PrimaryKey getPrimaryKey()
-
getBestRowIdentifier
final List<BestRowIdentifier> getBestRowIdentifier(BestRowIdentifierScope scope, Boolean nullable)
Get best row identifier for this table
Source: wrapped results of getBestRowIdentifier filtered to this table's catalog, schema, and name
-
getColumns
@JvmOverloads() final List<Column> getColumns(String columnNamePattern)
Get columns for this table
Source: wrapped results of getColumns filtered to this table's catalog, schema, and name
-
getColumns
@JvmOverloads() final List<Column> getColumns()
Get columns for this table
Source: wrapped results of getColumns filtered to this table's catalog, schema, and name
-
getExportedKeys
final List<Key> getExportedKeys()
Get keys exported from this table
Source: wrapped results of getExportedKeys filtered to this table's catalog, schema, and name
-
getImportedKeys
final List<Key> getImportedKeys()
Get keys imported from other tables
Source: wrapped results of getImportedKeys filtered to this table's catalog, schema, and name
-
getIndexes
final List<Index> getIndexes(Boolean unique, Boolean approximate)
Get indexes
Source: wrapped results of getIndexInfo filtered to this table's catalog, schema, and name
-
getPseudoColumns
@JvmOverloads() final List<PseudoColumn> getPseudoColumns(String columnNamePattern)
Get pseudo columns
Source: wrapped results of getPseudoColumns filtered to this table's catalog, schema, and name
-
getPseudoColumns
@JvmOverloads() final List<PseudoColumn> getPseudoColumns()
Get pseudo columns
Source: wrapped results of getPseudoColumns filtered to this table's catalog, schema, and name
-
getSuperTables
final List<Table> getSuperTables()
Get super tables of this table
Source: wrapped result of getSuperTables filtered to this table's catalog, schema, and name
-
getTablePrivileges
final List<TablePrivilege> getTablePrivileges()
Get table privileges
Source: wrapped results of getTablePrivileges filtered to this table's catalog, schema, and name
-
getVersionColumns
final List<VersionColumn> getVersionColumns()
Get version columns
Source: wrapped results of getVersionColumns filtered to this table's catalog, schema, and name
-
-
-
-