java.lang.Object
org.jooq.meta.AbstractDefinition
org.jooq.meta.AbstractContainerElementDefinition<IndexDefinition>
org.jooq.meta.AbstractTypedElementDefinition<IndexDefinition>
org.jooq.meta.DefaultIndexColumnDefinition
- All Implemented Interfaces:
ContainerElementDefinition<IndexDefinition>,Definition,IndexColumnDefinition,PositionedDefinition,TypedElementDefinition<IndexDefinition>
public class DefaultIndexColumnDefinition
extends AbstractTypedElementDefinition<IndexDefinition>
implements IndexColumnDefinition
- Author:
- Lukas Eder
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultIndexColumnDefinition(IndexDefinition container, ColumnDefinition column, SortOrder sortOrder, int position) -
Method Summary
Modifier and TypeMethodDescriptionThe table column definition that this index column definition is backed by.The column / parameter type as declared in the database (prior to applying forced types).intThe object's 1-based position in the parent.TheASCorDESCsort ordergetType()The column / parameter / attribute type after applying forced types.getType(JavaTypeResolver resolver) The column / parameter / attribute type after applying forced types and resolving theDataTypeDefinition.getJavaType().Methods inherited from class org.jooq.meta.AbstractTypedElementDefinition
customType, getDataType, getDomain, mapDefinedTypeMethods inherited from class org.jooq.meta.AbstractContainerElementDefinition
getContainer, getDefinitionPathMethods inherited from class org.jooq.meta.AbstractDefinition
create, create, equals, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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.TypedElementDefinition
getDomain
-
Constructor Details
-
DefaultIndexColumnDefinition
public DefaultIndexColumnDefinition(IndexDefinition container, ColumnDefinition column, SortOrder sortOrder, int position)
-
-
Method Details
-
getType
Description copied from interface:TypedElementDefinitionThe column / parameter / attribute type after applying forced types.- Specified by:
getTypein interfaceTypedElementDefinition<IndexDefinition>- Overrides:
getTypein classAbstractTypedElementDefinition<IndexDefinition>
-
getType
Description copied from interface:TypedElementDefinitionThe column / parameter / attribute type after applying forced types and resolving theDataTypeDefinition.getJavaType().- Specified by:
getTypein interfaceTypedElementDefinition<IndexDefinition>- Overrides:
getTypein classAbstractTypedElementDefinition<IndexDefinition>
-
getDefinedType
Description copied from interface:TypedElementDefinitionThe column / parameter type as declared in the database (prior to applying forced types).- Specified by:
getDefinedTypein interfaceTypedElementDefinition<IndexDefinition>- Overrides:
getDefinedTypein classAbstractTypedElementDefinition<IndexDefinition>
-
getPosition
public int getPosition()Description copied from interface:PositionedDefinitionThe object's 1-based position in the parent.[#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.
- Specified by:
getPositionin interfacePositionedDefinition
-
getSortOrder
Description copied from interface:IndexColumnDefinitionTheASCorDESCsort order- Specified by:
getSortOrderin interfaceIndexColumnDefinition
-
getColumn
Description copied from interface:IndexColumnDefinitionThe table column definition that this index column definition is backed by.This may be a virtual and/or invisible column, e.g. in case this index is a function-based index.
- Specified by:
getColumnin interfaceIndexColumnDefinition
-