public class DefaultIndexColumnDefinition extends AbstractTypedElementDefinition<IndexDefinition> implements IndexColumnDefinition
| Constructor and Description |
|---|
DefaultIndexColumnDefinition(IndexDefinition container,
ColumnDefinition column,
SortOrder sortOrder,
int position) |
| Modifier and Type | Method and Description |
|---|---|
ColumnDefinition |
getColumn()
The table column definition that this index column definition is backed
by.
|
DataTypeDefinition |
getDefinedType()
The column / parameter type as declared in the database (prior to applying forced types).
|
int |
getPosition()
The object's 1-based position in the parent.
|
SortOrder |
getSortOrder()
The
ASC or DESC sort order |
DataTypeDefinition |
getType()
The column / parameter / attribute type after applying forced types.
|
DataTypeDefinition |
getType(JavaTypeResolver resolver)
The column / parameter / attribute type after applying forced types and
resolving the
DataTypeDefinition.getJavaType(). |
customType, getContainer, getDataType, getDefinitionPath, getDomain, mapDefinedTypecreate, create, equals, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContainer, getDomaingetCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSourcepublic DefaultIndexColumnDefinition(IndexDefinition container, ColumnDefinition column, SortOrder sortOrder, int position)
public DataTypeDefinition getType()
TypedElementDefinitiongetType in interface TypedElementDefinition<IndexDefinition>getType in class AbstractTypedElementDefinition<IndexDefinition>public DataTypeDefinition getType(JavaTypeResolver resolver)
TypedElementDefinitionDataTypeDefinition.getJavaType().getType in interface TypedElementDefinition<IndexDefinition>getType in class AbstractTypedElementDefinition<IndexDefinition>public DataTypeDefinition getDefinedType()
TypedElementDefinitiongetDefinedType in interface TypedElementDefinition<IndexDefinition>getDefinedType in class AbstractTypedElementDefinition<IndexDefinition>public int getPosition()
PositionedDefinitiongetPosition in interface PositionedDefinitionpublic SortOrder getSortOrder()
IndexColumnDefinitionASC or DESC sort ordergetSortOrder in interface IndexColumnDefinitionpublic ColumnDefinition getColumn()
IndexColumnDefinitionThis may be a virtual and/or invisible column, e.g. in case this index is a function-based index.
getColumn in interface IndexColumnDefinitionCopyright © 2021. All rights reserved.