-
- All Known Implementing Classes:
DefaultDataTypeDefinition
public interface DataTypeDefinitionA definition for a data type object.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBinding()The binding type that is applied to this data type, ornull, if no such binding type is configured.StringgetConverter()The converter type that is applied to this data type, ornull, if no such converter type is configured.DatabasegetDatabase()The underlying database.StringgetDefaultValue()The default value expression.StringgetJavaType()The custom Java type to represent this data type, if applicable.StringgetJavaType(JavaTypeResolver resolver)The custom Java type to represent this data type, if applicable.intgetLength()The type's length.List<String>getMatchNames()The various type names by which this type can be matched by aForcedType.intgetPrecision()The type's precision.NamegetQualifiedUserType()The qualified user type, if applicable.intgetScale()The type's scale.SchemaDefinitiongetSchema()The underlying schema.StringgetType()The dialect-specific column type.StringgetUserType()The user type, if applicable.booleanisArray()Whether this data type represents an array producing anArrayRecord.booleanisDefaulted()Whether this data type is defaultable.booleanisGenericNumberType()Whether this data type is a NUMBER type without precision and scale.booleanisIdentity()Whether this data type is an identity.booleanisNullable()Whether this data type is nullable.booleanisUDT()Whether this data type represents a udt.booleanisUDTArray()Whether this data type represens an array producing anArrayRecordof udt types.
-
-
-
Method Detail
-
getType
String getType()
The dialect-specific column type.
-
getConverter
String getConverter()
The converter type that is applied to this data type, ornull, if no such converter type is configured.
-
getBinding
String getBinding()
The binding type that is applied to this data type, ornull, if no such binding type is configured.
-
getLength
int getLength()
The type's length.
-
getPrecision
int getPrecision()
The type's precision.
-
getScale
int getScale()
The type's scale.
-
getUserType
String getUserType()
The user type, if applicable.
-
getQualifiedUserType
Name getQualifiedUserType()
The qualified user type, if applicable.
-
getJavaType
String getJavaType()
The custom Java type to represent this data type, if applicable.This is the same as calling
getJavaType(JavaTypeResolver)with anullresolver.
-
getJavaType
String getJavaType(JavaTypeResolver resolver)
The custom Java type to represent this data type, if applicable.
-
isNullable
boolean isNullable()
Whether this data type is nullable.
-
isIdentity
boolean isIdentity()
Whether this data type is an identity.
-
isDefaulted
boolean isDefaulted()
Whether this data type is defaultable.
-
getDefaultValue
String getDefaultValue()
The default value expression.
-
isUDT
boolean isUDT()
Whether this data type represents a udt.
-
isArray
boolean isArray()
Whether this data type represents an array producing anArrayRecord.
-
isUDTArray
boolean isUDTArray()
Whether this data type represens an array producing anArrayRecordof udt types.
-
isGenericNumberType
boolean isGenericNumberType()
Whether this data type is a NUMBER type without precision and scale.
-
getDatabase
Database getDatabase()
The underlying database.
-
getSchema
SchemaDefinition getSchema()
The underlying schema.
-
getMatchNames
List<String> getMatchNames()
The various type names by which this type can be matched by aForcedType.
-
-