public interface DataTypeDefinition
| Modifier and Type | Method and Description |
|---|---|
String |
getBinding()
The binding type that is applied to this data type, or
null, if no such binding type is configured. |
String |
getConverter()
The converter type that is applied to this data type, or
null, if no such converter type is configured. |
Database |
getDatabase()
The underlying database.
|
String |
getDefaultValue()
The default value expression.
|
String |
getJavaType()
The custom Java type to represent this data type, if applicable.
|
String |
getJavaType(JavaTypeResolver resolver)
The custom Java type to represent this data type, if applicable.
|
int |
getLength()
The type's length.
|
List<String> |
getMatchNames()
The various type names by which this type can be matched by a
ForcedType. |
int |
getPrecision()
The type's precision.
|
Name |
getQualifiedUserType()
The qualified user type, if applicable.
|
int |
getScale()
The type's scale.
|
SchemaDefinition |
getSchema()
The underlying schema.
|
String |
getType()
The dialect-specific column type.
|
String |
getUserType()
The user type, if applicable.
|
boolean |
isArray()
Whether this data type represents an array.
|
boolean |
isDefaulted()
Whether this data type is defaultable.
|
boolean |
isGenericNumberType()
Whether this data type is a NUMBER type without precision and scale.
|
boolean |
isIdentity()
Whether this data type is an identity.
|
boolean |
isNullable()
Whether this data type is nullable.
|
boolean |
isUDT()
Whether this data type represents a udt.
|
String getType()
String getConverter()
null, if no such converter type is configured.String getBinding()
null, if no such binding type is configured.int getLength()
int getPrecision()
int getScale()
String getUserType()
Name getQualifiedUserType()
String getJavaType()
This is the same as calling getJavaType(JavaTypeResolver) with a
null resolver.
String getJavaType(JavaTypeResolver resolver)
boolean isNullable()
boolean isIdentity()
boolean isDefaulted()
String getDefaultValue()
boolean isUDT()
boolean isArray()
boolean isGenericNumberType()
Database getDatabase()
SchemaDefinition getSchema()
List<String> getMatchNames()
ForcedType.Copyright © 2021. All rights reserved.