- All Superinterfaces:
ContainerElementDefinition<EmbeddableDefinition>,Definition,PositionedDefinition,TypedElementDefinition<EmbeddableDefinition>
- All Known Implementing Classes:
DefaultEmbeddableColumnDefinition
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionThe referencing column definition.intThePositionedDefinition.getPosition()ofgetReferencingColumn()within its defining table.getType()The data type definition of the embeddable.voidmerge(EmbeddableColumnDefinition other) Merge type information of another referencingEmbeddableColumnDefinitioninto thisEmbeddableColumnDefinition.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
-
Method Details
-
getReferencingColumn
ColumnDefinition getReferencingColumn()The referencing column definition. -
getType
DataTypeDefinition getType()The data type definition of the embeddable.This may be different from the data type definition of the
getReferencingColumn(), depending on whatmerge(EmbeddableColumnDefinition)produced as a result e.g. of merging multiple distinct nullabilities.- Specified by:
getTypein interfaceTypedElementDefinition<EmbeddableDefinition>
-
getReferencingColumnPosition
int getReferencingColumnPosition()ThePositionedDefinition.getPosition()ofgetReferencingColumn()within its defining table.[#17434] While in most RDBMS, this value is 1-based and a consecutive ordinal, there may be cases where a positional value is skipped, either by what's reported by the RDBMS's dictionary views, or because the definition is filtered by jOOQ-meta. Users shouldn't rely on the positions reflecting the actually generated column/attribute/etc. position.
-
merge
Merge type information of another referencingEmbeddableColumnDefinitioninto thisEmbeddableColumnDefinition.Multiple referencing column definitions can be used to define an embeddable column definition. The types and constraints on these alternative references may differ. For example, one column may be nullable, others may not be nullable.
-