- All Superinterfaces:
ContainerElementDefinition<TableDefinition>,Definition,PositionedDefinition,TypedElementDefinition<TableDefinition>
- All Known Implementing Classes:
DefaultColumnDefinition
public interface ColumnDefinition
extends TypedElementDefinition<TableDefinition>, PositionedDefinition
An interface defining a column of a table.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionAll definitions of foreign keys that this column is part of.The identity generation mode.All definitions of indexes that this column is part of.getKeys()All definitions of unique and primary keys that this column is part of.A definition for the primary key that this column is part of, ornullif this column is not part of a primary key.All definitions of indexes that this column is part of.All definitions of unique keys that this column is part of.booleanisHidden()Whether this column is hidden.booleanWhether this column is the table'sIDENTITYcolumn.booleanWhether this column is readonly.booleanWhether this column is redacted.Methods inherited from interface org.jooq.meta.ContainerElementDefinition
getContainerMethods inherited from interface org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, isSyntheticMethods inherited from interface org.jooq.meta.PositionedDefinition
getPositionMethods inherited from interface org.jooq.meta.TypedElementDefinition
getDefinedType, getDomain, getType, getType
-
Method Details
-
getPrimaryKey
UniqueKeyDefinition getPrimaryKey()A definition for the primary key that this column is part of, ornullif this column is not part of a primary key. -
getUniqueKeys
List<UniqueKeyDefinition> getUniqueKeys()All definitions of unique keys that this column is part of. -
getKeys
List<UniqueKeyDefinition> getKeys()All definitions of unique and primary keys that this column is part of. -
getForeignKeys
List<ForeignKeyDefinition> getForeignKeys()All definitions of foreign keys that this column is part of. -
getIndexes
List<IndexDefinition> getIndexes()All definitions of indexes that this column is part of. -
getUniqueIndexes
List<IndexDefinition> getUniqueIndexes()All definitions of indexes that this column is part of. -
getIdentityMode
QOM.GenerationMode getIdentityMode()The identity generation mode. -
isIdentity
boolean isIdentity()Whether this column is the table'sIDENTITYcolumn. -
isHidden
boolean isHidden()Whether this column is hidden. -
isRedacted
boolean isRedacted()Whether this column is redacted. -
isReadonly
boolean isReadonly()Whether this column is readonly.
-