Class CapacityDependentDdlType
- java.lang.Object
-
- org.hibernate.type.descriptor.sql.internal.DdlTypeImpl
-
- org.hibernate.type.descriptor.sql.internal.CapacityDependentDdlType
-
- All Implemented Interfaces:
Serializable
,DdlType
public class CapacityDependentDdlType extends DdlTypeImpl
Descriptor for a SQL type.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CapacityDependentDdlType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CapacityDependentDdlType.Builder
builder(int sqlTypeCode, String typeNamePattern, String castTypeNamePattern, Dialect dialect)
static CapacityDependentDdlType.Builder
builder(int sqlTypeCode, String typeNamePattern, Dialect dialect)
String[]
getRawTypeNames()
Returns all type names without precision/length and scale parameters.String
getTypeName(Long size, Integer precision, Integer scale)
Return a type with the given length, precision, and scale.-
Methods inherited from class org.hibernate.type.descriptor.sql.internal.DdlTypeImpl
getCastTypeName, getCastTypeName, getRawTypeName, getSqlTypeCode, getTypeNamePattern, replace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.sql.DdlType
getCastTypeName, getTypeName
-
-
-
-
Method Detail
-
getRawTypeNames
public String[] getRawTypeNames()
Description copied from interface:DdlType
Returns all type names without precision/length and scale parameters.
-
getTypeName
public String getTypeName(Long size, Integer precision, Integer scale)
Description copied from interface:DdlType
Return a type with the given length, precision, and scale.- Specified by:
getTypeName
in interfaceDdlType
- Overrides:
getTypeName
in classDdlTypeImpl
-
builder
public static CapacityDependentDdlType.Builder builder(int sqlTypeCode, String typeNamePattern, Dialect dialect)
-
builder
public static CapacityDependentDdlType.Builder builder(int sqlTypeCode, String typeNamePattern, String castTypeNamePattern, Dialect dialect)
-
-