- Alle Superschnittstellen:
Definition
- Alle bekannten Implementierungsklassen:
AbstractTableDefinition,CUBRIDTableDefinition,DefaultMetaTableDefinition,DerbyTableDefinition,FirebirdTableDefinition,FirebirdTableValuedFunction,H2TableDefinition,HSQLDBTableDefinition,HSQLDBTableValuedFunction,MySQLTableDefinition,PostgresMaterializedViewDefinition,PostgresTableDefinition,PostgresTableValuedFunction,SQLiteTableDefinition,XMLTableDefinition
The definition of a table or view.
- Autor:
- Lukas Eder
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet theCHECKconstraints for this table.Get the child tables if table inheritance is applicable.getColumn(int columnIndex) Get a column in this type by its index (starting at 0).Get a column in this type by its name.Get a column in this type by its name.All columns in the type, table or view.All embeddable types in this defining table.Get the foreign keys for this table.getForeignKeys(TableDefinition referenced) Get the foreign keys for this table referencing a specific table.Get theIDENTITYcolumn of this table, ornull, if no such column exists.Get the indexes for this table.Get the inverse foreign keys for this table.getInverseForeignKeys(TableDefinition referencing) Get the inverse foreign keys for this table referenced from a specific table.Get the unique key or primary key for this table by name.getKeys()Get the unique keys and primary keys for this table.Get the many to many keys for this table.getManyToManyKeys(TableDefinition referencing) Get the many to many keys for this table referencing another, specific table.The parameters of this table if this is a table-valued function.Get the parent table if table inheritance is applicable.Get the primary key for this table.All embeddable types in this referencing table.@NotNull TableDefinitionThe referenced table type, if thisisTableValuedFunction().getTable()This TableDefinition as aTable.TheTableOptionsproviding additional information about the table.getUniqueKey(String name) Get the unique key for this table by name.Get the unique keys for this table.booleanWhether this table is a materialized view.booleanWhether this table is a synthetic table (e.g.booleanWhether this table is a table-valued function.booleanWhether this table is a temporary table.booleanisView()Whether this table is a view.Von Schnittstelle geerbte Methoden org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource
-
Methodendetails
-
getColumns
List<ColumnDefinition> getColumns()All columns in the type, table or view. -
getColumn
Get a column in this type by its name. -
getColumn
Get a column in this type by its name. -
getColumn
Get a column in this type by its index (starting at 0). -
isSynthetic
boolean isSynthetic()Whether this table is a synthetic table (e.g. a synthetic view).- Angegeben von:
isSyntheticin SchnittstelleDefinition
-
getEmbeddables
List<EmbeddableDefinition> getEmbeddables()All embeddable types in this defining table. -
getReferencedEmbeddables
List<EmbeddableDefinition> getReferencedEmbeddables()All embeddable types in this referencing table. -
getIndexes
List<IndexDefinition> getIndexes()Get the indexes for this table. -
getPrimaryKey
UniqueKeyDefinition getPrimaryKey()Get the primary key for this table. -
getUniqueKeys
List<UniqueKeyDefinition> getUniqueKeys()Get the unique keys for this table. -
getUniqueKey
Get the unique key for this table by name. -
getKeys
List<UniqueKeyDefinition> getKeys()Get the unique keys and primary keys for this table. -
getKey
Get the unique key or primary key for this table by name. -
getForeignKeys
List<ForeignKeyDefinition> getForeignKeys()Get the foreign keys for this table. -
getForeignKeys
Get the foreign keys for this table referencing a specific table. -
getInverseForeignKeys
List<InverseForeignKeyDefinition> getInverseForeignKeys()Get the inverse foreign keys for this table. -
getInverseForeignKeys
Get the inverse foreign keys for this table referenced from a specific table. -
getManyToManyKeys
List<ManyToManyKeyDefinition> getManyToManyKeys()Get the many to many keys for this table. -
getManyToManyKeys
Get the many to many keys for this table referencing another, specific table. -
getCheckConstraints
List<CheckConstraintDefinition> getCheckConstraints()Get theCHECKconstraints for this table. -
getIdentity
IdentityDefinition getIdentity()Get theIDENTITYcolumn of this table, ornull, if no such column exists. -
getParentTable
TableDefinition getParentTable()Get the parent table if table inheritance is applicable. -
getChildTables
List<TableDefinition> getChildTables()Get the child tables if table inheritance is applicable. -
getTable
This TableDefinition as aTable. -
getTableOptions
TableOptions getTableOptions()TheTableOptionsproviding additional information about the table. -
getParameters
List<ParameterDefinition> getParameters()The parameters of this table if this is a table-valued function. -
isTemporary
boolean isTemporary()Whether this table is a temporary table. -
isView
boolean isView()Whether this table is a view. -
isMaterializedView
boolean isMaterializedView()Whether this table is a materialized view. -
isTableValuedFunction
boolean isTableValuedFunction()Whether this table is a table-valued function. -
getReferencedTable
The referenced table type, if thisisTableValuedFunction().This returns:
this, ifisTableValuedFunction()==falsethis, ifisTableValuedFunction()==truebut the table valued function doesn't reference a table type- Another table, if
isTableValuedFunction()==trueand the table valued function references a table type
-