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 column position in the index.
|
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, mapDefinedTypecreate, create, equals, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContainergetCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchemapublic 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()
IndexColumnDefinitiongetPosition in interface IndexColumnDefinitionpublic 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 © 2019. All rights reserved.