public interface TableDefinition extends Definition
| Modifier and Type | Method and Description |
|---|---|
List<CheckConstraintDefinition> |
getCheckConstraints()
Get the
CHECK constraints for this table. |
List<TableDefinition> |
getChildTables()
Get the child tables if table inheritance is applicable.
|
ColumnDefinition |
getColumn(int columnIndex)
Get a column in this type by its index (starting at 0).
|
ColumnDefinition |
getColumn(String columnName)
Get a column in this type by its name.
|
ColumnDefinition |
getColumn(String columnName,
boolean ignoreCase)
Get a column in this type by its name.
|
List<ColumnDefinition> |
getColumns()
All columns in the type, table or view.
|
List<EmbeddableDefinition> |
getEmbeddables()
All embeddable types in this defining table.
|
List<ForeignKeyDefinition> |
getForeignKeys()
Get the foreign keys for this table.
|
List<ForeignKeyDefinition> |
getForeignKeys(TableDefinition referenced)
Get the foreign keys for this table referencing a specific table.
|
IdentityDefinition |
getIdentity()
Get the
IDENTITY column of this table, or null,
if no such column exists. |
List<IndexDefinition> |
getIndexes()
Get the indexes for this table.
|
List<ParameterDefinition> |
getParameters()
The parameters of this table if this is a table-valued function.
|
TableDefinition |
getParentTable()
Get the parent table if table inheritance is applicable.
|
UniqueKeyDefinition |
getPrimaryKey()
Get the primary key for this table.
|
List<EmbeddableDefinition> |
getReferencedEmbeddables()
All embeddable types in this referencing table.
|
Table<Record> |
getTable()
This TableDefinition as a
Table. |
UniqueKeyDefinition |
getUniqueKey(String name)
Get the unique key for this table by name.
|
List<UniqueKeyDefinition> |
getUniqueKeys()
Get the unique keys for this table.
|
boolean |
isMaterializedView()
Whether this table is a materialized view.
|
boolean |
isTableValuedFunction()
Whether this table is a table-valued function.
|
boolean |
isTemporary()
Whether this table is a temporary table.
|
boolean |
isView()
Whether this table is a view.
|
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSourceList<ColumnDefinition> getColumns()
ColumnDefinition getColumn(String columnName)
ColumnDefinition getColumn(String columnName, boolean ignoreCase)
ColumnDefinition getColumn(int columnIndex)
List<EmbeddableDefinition> getEmbeddables()
List<EmbeddableDefinition> getReferencedEmbeddables()
List<IndexDefinition> getIndexes()
UniqueKeyDefinition getPrimaryKey()
List<UniqueKeyDefinition> getUniqueKeys()
UniqueKeyDefinition getUniqueKey(String name)
List<ForeignKeyDefinition> getForeignKeys()
List<ForeignKeyDefinition> getForeignKeys(TableDefinition referenced)
List<CheckConstraintDefinition> getCheckConstraints()
CHECK constraints for this table.IdentityDefinition getIdentity()
IDENTITY column of this table, or null,
if no such column exists.TableDefinition getParentTable()
List<TableDefinition> getChildTables()
List<ParameterDefinition> getParameters()
boolean isTemporary()
boolean isView()
boolean isMaterializedView()
boolean isTableValuedFunction()
Copyright © 2021. All rights reserved.