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
static class
CapacityDependentDdlType.LobKind
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CapacityDependentDdlType.Builder
builder(int sqlTypeCode, String typeNamePattern, String castTypeNamePattern, String castTypeName, Dialect dialect)
static CapacityDependentDdlType.Builder
builder(int sqlTypeCode, String typeNamePattern, String castTypeName, Dialect dialect)
static CapacityDependentDdlType.Builder
builder(int sqlTypeCode, String typeNamePattern, Dialect dialect)
static CapacityDependentDdlType.Builder
builder(int sqlTypeCode, CapacityDependentDdlType.LobKind lobKind, String typeNamePattern, String castTypeNamePattern, String castTypeName, Dialect dialect)
static CapacityDependentDdlType.Builder
builder(int sqlTypeCode, CapacityDependentDdlType.LobKind lobKind, String typeNamePattern, String castTypeName, Dialect dialect)
static CapacityDependentDdlType.Builder
builder(int sqlTypeCode, CapacityDependentDdlType.LobKind lobKind, String typeNamePattern, Dialect dialect)
String[]
getRawTypeNames()
Deprecated.String
getTypeName(Long size, Integer precision, Integer scale)
Return a type with the given length, precision, and scale.boolean
isLob(Size size)
-
Methods inherited from class org.hibernate.type.descriptor.sql.internal.DdlTypeImpl
getCastTypeName, getCastTypeName, getRawTypeName, getSqlTypeCode, 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, getCastTypeName, getTypeName, getTypeName
-
-
-
-
Method Detail
-
getRawTypeNames
@Deprecated public String[] getRawTypeNames()
Deprecated.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
-
isLob
public boolean isLob(Size size)
- Specified by:
isLob
in interfaceDdlType
- Overrides:
isLob
in classDdlTypeImpl
-
builder
public static CapacityDependentDdlType.Builder builder(int sqlTypeCode, String typeNamePattern, Dialect dialect)
-
builder
public static CapacityDependentDdlType.Builder builder(int sqlTypeCode, CapacityDependentDdlType.LobKind lobKind, String typeNamePattern, Dialect dialect)
-
builder
public static CapacityDependentDdlType.Builder builder(int sqlTypeCode, String typeNamePattern, String castTypeName, Dialect dialect)
-
builder
public static CapacityDependentDdlType.Builder builder(int sqlTypeCode, CapacityDependentDdlType.LobKind lobKind, String typeNamePattern, String castTypeName, Dialect dialect)
-
builder
public static CapacityDependentDdlType.Builder builder(int sqlTypeCode, String typeNamePattern, String castTypeNamePattern, String castTypeName, Dialect dialect)
-
builder
public static CapacityDependentDdlType.Builder builder(int sqlTypeCode, CapacityDependentDdlType.LobKind lobKind, String typeNamePattern, String castTypeNamePattern, String castTypeName, Dialect dialect)
-
-