Table

class Table(metadata: DatabaseMetaData, rs: ResultSet)

Wrapper for the results of getTables

Constructors

Link copied to clipboard
fun Table(metadata: DatabaseMetaData, rs: ResultSet)

Functions

Link copied to clipboard
fun getBestRowIdentifier(scope: BestRowIdentifierScope, nullable: Boolean): List<BestRowIdentifier>

Get best row identifier for this table

Link copied to clipboard
fun getColumns(columnNamePattern: String? = null): List<Column>

Get columns for this table

Link copied to clipboard
fun getExportedKeys(): List<Key>

Get keys exported from this table

Link copied to clipboard
fun getImportedKeys(): List<Key>

Get keys imported from other tables

Link copied to clipboard
fun getIndexes(unique: Boolean, approximate: Boolean): List<Index>

Get indexes

Link copied to clipboard
fun getPrimaryKeys(): List<PrimaryKey>

Get primary keys

Link copied to clipboard
fun getPseudoColumns(columnNamePattern: String? = null): List<PseudoColumn>

Get pseudo columns

Link copied to clipboard
fun getTablePrivileges(): List<TablePrivilege>

Get table privileges

Link copied to clipboard
fun getVersionColumns(): List<VersionColumn>

Get version columns

Properties

Link copied to clipboard
val catalog: String?

Catalog

Link copied to clipboard
val name: String

Name

Link copied to clipboard
val referencingColumnGeneration: String?

Referencing column generation

Link copied to clipboard
val remarks: String?

Remarks

Link copied to clipboard
val schema: String

Schema

Link copied to clipboard
val selfReferencingColumnName: String?

Self referencing column name

Link copied to clipboard
val type: String?

Type

Link copied to clipboard
val typeCatalog: String?

Type catalog

Link copied to clipboard
val typeName: String?

Type name

Link copied to clipboard
val typeSchema: String?

Type schema