This also acts as a static data type registry for jOOQ internally.
This type is for JOOQ INTERNAL USE only. Do not reference directly
| Modifier and Type | Field and Description |
|---|---|
| private final Binding | binding
The data type binding corresponding to this data type. |
| pack-priv static final int | BYTE_PRECISION
The minimum decimal precision needed to represent a Java |
| private final String | castTypeName
The type name used for casting to this type. |
| private final String | castTypePrefix
The type name prefix (prior to length, precision, scale) used for casting to this type. |
| private final String | castTypeSuffix
The type name suffix (after length, precision, scale) used for casting to this type. |
| private final CharacterSet | |
| private final Collation | |
| private final Field | defaultValue
Deprecated
as a consequence of
Field being deprecated.
|
| private final SQLDialect | dialect
The SQL dialect associated with this data type. |
| private static final Set | |
| private final Generator | |
| private final QOM. | |
| private final QOM. | |
| private final boolean | |
| pack-priv static final int | INTEGER_PRECISION
The minimum decimal precision needed to represent a Java |
| private final Integer | |
| pack-priv static final int | LONG_PRECISION
The minimum decimal precision needed to represent a Java |
| private static final Set | |
| private static final Pattern | NORMALISE_PATTERN
A pattern for data type name normalisation. |
| private final Nullability | |
| private final Integer | |
| private final boolean | |
| private final Integer | |
| pack-priv static final int | SHORT_PRECISION
The minimum decimal precision needed to represent a Java |
| private static final Map | SQL_DATATYPES_BY_TYPE
A cache for SQL DataTypes by Java type. |
| private final DataType | sqlDataType
The SQL DataType corresponding to this data type. |
| private static final Set | |
| private static final Set | |
| private final Class | |
| private static final Pattern | TYPE_NAME_PATTERN
A pattern to be used to replace all precision, scale, and length information. |
| private final String | typeName
The type name. |
| private static final Map | TYPES_BY_NAME
A cache for dialect-specific data types by normalised. |
| private static final Map | TYPES_BY_SQL_DATATYPE
A cache for dialect-specific data types by SQL DataTypes. |
| private static final Map | TYPES_BY_TYPE
A cache for dialect-specific data types by Java type. |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| pack-priv | |
| pack-priv | DefaultDataType(SQLDialect dialect, Class<T> type, Binding<?, T> binding, Name qualifiedTypeName, String typeName, String castTypeName, Integer precision, Integer scale, Integer length, Nullability nullability, Field<T> defaultValue)
Deprecated
as a consequence of
Field being deprecated.
|
| pack-priv | DefaultDataType(SQLDialect dialect, DataType<T> sqlDataType, Class<T> type, Name qualifiedTypeName, String typeName, String castTypeName, Integer precision, Integer scale, Integer length, Nullability nullability, Field<T> defaultValue)
Deprecated
as a consequence of
Field being deprecated.
|
| pack-priv | DefaultDataType(SQLDialect dialect, DataType<T> sqlDataType, Class<T> type, Binding<?, T> binding, Name qualifiedTypeName, String typeName, String castTypeName, Integer precision, Integer scale, Integer length, Nullability nullability, Field<T> defaultValue)
Deprecated
as a consequence of
Field being deprecated.
|
| pack-priv | DefaultDataType(SQLDialect dialect, DataType<T> sqlDataType, Class<T> type, Binding<?, T> binding, Name qualifiedTypeName, String typeName, String castTypeName, Integer precision, Integer scale, Integer length, Nullability nullability, boolean readonly, Generator<?, ?, T> generatedAlwaysAs, QOM.
Deprecated
as a consequence of
Field being deprecated.
|
| pack-priv | DefaultDataType(AbstractDataType<T> t, Integer precision, Integer scale, Integer length, Nullability nullability, boolean readonly, Generator<?, ?, T> generatedAlwaysAs, QOM.
Deprecated
as a consequence of
[#3225] Performant constructor for creating derived types.
Field being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final String | |
| pack-priv final String | |
| pack-priv final String | |
| public final CharacterSet | characterSet()
Implements org. null if there is
no character set, or if the default character set applies.
|
| public final Collation | collation()
Implements org. null if there is no
collation, or if the default collation applies.
|
| pack-priv DefaultDataType | construct(Integer newPrecision, Integer newScale, Integer newLength, Nullability newNullability, boolean newReadonly, Generator<?, ?, T> newGeneratedAlwaysAs, QOM.
Implements abstract org.
Deprecated
as a consequence of
[#7811] Allow for subtypes to override the constructor
Field being deprecated.
|
| pack-priv static final Collection | |
| private static final int | |
| public final Field | default_()
Implements org.
Deprecated
as a consequence of
The expression to be applied as the Field being deprecated.
DEFAULT value for this
data type.
|
| public final Generator | generatedAlwaysAsGenerator()
Implements abstract org. Implements org. |
| public final QOM. | generationLocation()
Implements abstract org. Implements org. GenerationLocation of the computed column expression of
this data type, if any.
|
| public final QOM. | generationOption()
Implements abstract org. Implements org. GenerationOption of the computed column expression of
this data type, if any.
|
| public final Binding | getBinding()
Implements org. |
| public final DataType | getDataType(Configuration configuration)
Implements org. |
| public static final DataType | |
| public static final DataType | |
| public static final DataType | |
| public static final <T> DataType | |
| public static final <T> DataType | |
| public static final DataType | getDataType(SQLDialect dialect, String t, int p, int s)
Convert a type name (using precision and scale) into a Java class |
| public static final DataType | getDataType(SQLDialect dialect, String t, int p, int s, boolean forceIntegerTypesOnZeroScaleDecimals)
Convert a type name (using precision and scale) into a Java class |
| public static final DataType | |
| public static final DataType | |
| public final SQLDialect | |
| private static final Class | getNumericClass(int precision, int scale)
Get the most suitable Java class for a given precision and scale |
| public final DataType | getSQLDataType()
Implements org. |
| public final Class | getType()
Implements org. |
| public static final Class | getType(SQLDialect dialect, String t, int p, int s)
Convert a type name (using precision and scale) into a Java class |
| public final boolean | |
| private static final Integer | |
| pack-priv final Integer | |
| public static final String | |
| public final Nullability | |
| pack-priv final Integer | |
| public final boolean | readonly()
Implements abstract org. Implements org. |
| pack-priv final Integer | |
| pack-priv static final DataType | |
| pack-priv final Class | |
| pack-priv final String | |
| pack-priv static final Collection | |
| pack-priv final Class |
| binding | back to summary |
|---|---|
| private final Binding<?, T> binding The data type binding corresponding to this data type. | |
| BYTE_PRECISION | back to summary |
|---|---|
| pack-priv static final int BYTE_PRECISION The minimum decimal precision needed to represent a Java | |
| castTypeName | back to summary |
|---|---|
| private final String castTypeName The type name used for casting to this type. | |
| castTypePrefix | back to summary |
|---|---|
| private final String castTypePrefix The type name prefix (prior to length, precision, scale) used for casting to this type. | |
| castTypeSuffix | back to summary |
|---|---|
| private final String castTypeSuffix The type name suffix (after length, precision, scale) used for casting to this type. | |
| characterSet | back to summary |
|---|---|
| private final CharacterSet characterSet | |
| collation | back to summary |
|---|---|
| private final Collation collation | |
| defaultValue | back to summary |
|---|---|
| private final Field<T> defaultValue
Deprecated as a consequence of | |
| dialect | back to summary |
|---|---|
| private final SQLDialect dialect The SQL dialect associated with this data type. | |
| ENCODED_TIMESTAMP_PRECISION | back to summary |
|---|---|
| private static final Set<SQLDialect> ENCODED_TIMESTAMP_PRECISION | |
| generatedAlwaysAs | back to summary |
|---|---|
| private final Generator<?, ?, T> generatedAlwaysAs | |
| generationLocation | back to summary |
|---|---|
| private final QOM. | |
| generationOption | back to summary |
|---|---|
| private final QOM. | |
| identity | back to summary |
|---|---|
| private final boolean identity | |
| INTEGER_PRECISION | back to summary |
|---|---|
| pack-priv static final int INTEGER_PRECISION The minimum decimal precision needed to represent a Java | |
| length | back to summary |
|---|---|
| private final Integer length | |
| LONG_PRECISION | back to summary |
|---|---|
| pack-priv static final int LONG_PRECISION The minimum decimal precision needed to represent a Java | |
| NO_SUPPORT_TIMESTAMP_PRECISION | back to summary |
|---|---|
| private static final Set<SQLDialect> NO_SUPPORT_TIMESTAMP_PRECISION Hides org. | |
| NORMALISE_PATTERN | back to summary |
|---|---|
| private static final Pattern NORMALISE_PATTERN A pattern for data type name normalisation. | |
| nullability | back to summary |
|---|---|
| private final Nullability nullability | |
| precision | back to summary |
|---|---|
| private final Integer precision | |
| readonly | back to summary |
|---|---|
| private final boolean readonly | |
| scale | back to summary |
|---|---|
| private final Integer scale | |
| SHORT_PRECISION | back to summary |
|---|---|
| pack-priv static final int SHORT_PRECISION The minimum decimal precision needed to represent a Java | |
| SQL_DATATYPES_BY_TYPE | back to summary |
|---|---|
| private static final Map<Class<?>, DefaultDataType<?>> SQL_DATATYPES_BY_TYPE A cache for SQL DataTypes by Java type. | |
| sqlDataType | back to summary |
|---|---|
| private final DataType<T> sqlDataType The SQL DataType corresponding to this data type. | |
| SUPPORT_HSQLDB_ARRAY_NOTATION | back to summary |
|---|---|
| private static final Set<SQLDialect> SUPPORT_HSQLDB_ARRAY_NOTATION | |
| SUPPORT_POSTGRES_ARRAY_NOTATION | back to summary |
|---|---|
| private static final Set<SQLDialect> SUPPORT_POSTGRES_ARRAY_NOTATION | |
| tType | back to summary |
|---|---|
| private final Class<?> tType The Java class corresponding to this data type's | |
| TYPE_NAME_PATTERN | back to summary |
|---|---|
| private static final Pattern TYPE_NAME_PATTERN A pattern to be used to replace all precision, scale, and length information. | |
| typeName | back to summary |
|---|---|
| private final String typeName The type name. | |
| TYPES_BY_NAME | back to summary |
|---|---|
| private static final Map<String, DefaultDataType<?>>[] TYPES_BY_NAME A cache for dialect-specific data types by normalised. | |
| TYPES_BY_SQL_DATATYPE | back to summary |
|---|---|
| private static final Map<DataType<?>, DefaultDataType<?>>[] TYPES_BY_SQL_DATATYPE A cache for dialect-specific data types by SQL DataTypes. | |
| TYPES_BY_TYPE | back to summary |
|---|---|
| private static final Map<Class<?>, DefaultDataType<?>>[] TYPES_BY_TYPE A cache for dialect-specific data types by Java type. | |
| uType | back to summary |
|---|---|
| private final Class<T> uType The Java class corresponding to this data type's | |
| DefaultDataType | back to summary |
|---|---|
| public DefaultDataType(SQLDialect dialect, DataType<T> sqlDataType, String typeName) | |
| DefaultDataType | back to summary |
|---|---|
| public DefaultDataType(SQLDialect dialect, DataType<T> sqlDataType, String typeName, String castTypeName) | |
| DefaultDataType | back to summary |
|---|---|
| public DefaultDataType(SQLDialect dialect, Class<T> type, String typeName) | |
| DefaultDataType | back to summary |
|---|---|
| public DefaultDataType(SQLDialect dialect, Class<T> type, String typeName, String castTypeName) | |
| DefaultDataType | back to summary |
|---|---|
| pack-priv DefaultDataType(SQLDialect dialect, Class<T> type, Name qualifiedTypeName) | |
| DefaultDataType | back to summary |
|---|---|
| pack-priv DefaultDataType(SQLDialect dialect, Class<T> type, Binding<?, T> binding, Name qualifiedTypeName, String typeName, String castTypeName, Integer precision, Integer scale, Integer length, Nullability nullability, Field<T> defaultValue)
Deprecated as a consequence of | |
| DefaultDataType | back to summary |
|---|---|
| pack-priv DefaultDataType(SQLDialect dialect, DataType<T> sqlDataType, Class<T> type, Name qualifiedTypeName, String typeName, String castTypeName, Integer precision, Integer scale, Integer length, Nullability nullability, Field<T> defaultValue)
Deprecated as a consequence of | |
| DefaultDataType | back to summary |
|---|---|
| pack-priv DefaultDataType(SQLDialect dialect, DataType<T> sqlDataType, Class<T> type, Binding<?, T> binding, Name qualifiedTypeName, String typeName, String castTypeName, Integer precision, Integer scale, Integer length, Nullability nullability, Field<T> defaultValue)
Deprecated as a consequence of | |
| DefaultDataType | back to summary |
|---|---|
| pack-priv DefaultDataType(SQLDialect dialect, DataType<T> sqlDataType, Class<T> type, Binding<?, T> binding, Name qualifiedTypeName, String typeName, String castTypeName, Integer precision, Integer scale, Integer length, Nullability nullability, boolean readonly, Generator<?, ?, T> generatedAlwaysAs, QOM. Deprecated as a consequence of | |
| DefaultDataType | back to summary |
|---|---|
| pack-priv DefaultDataType(AbstractDataType<T> t, Integer precision, Integer scale, Integer length, Nullability nullability, boolean readonly, Generator<?, ?, T> generatedAlwaysAs, QOM. Deprecated as a consequence of [#3225] Performant constructor for creating derived types. | |
| castTypeName0 | back to summary |
|---|---|
| pack-priv final String castTypeName0() Implements abstract org.
| |
| castTypePrefix0 | back to summary |
|---|---|
| pack-priv final String castTypePrefix0() Implements abstract org.
| |
| castTypeSuffix0 | back to summary |
|---|---|
| pack-priv final String castTypeSuffix0() Implements abstract org.
| |
| characterSet | back to summary |
|---|---|
| public final CharacterSet characterSet() Implements org. Doc from org. Get the character set of this data type, or
| |
| collation | back to summary |
|---|---|
| public final Collation collation() Implements org. Doc from org. Get the collation of this data type, or
| |
| construct | back to summary |
|---|---|
| pack-priv DefaultDataType Implements abstract org. Deprecated as a consequence of [#7811] Allow for subtypes to override the constructor
| |
| dataTypes | back to summary |
|---|---|
| pack-priv static final Collection | |
| decodeTimestampPrecision | back to summary |
|---|---|
| private static final int decodeTimestampPrecision(int precision) | |
| default_ | back to summary |
|---|---|
| public final Field Implements org. Doc from org. Deprecated as a consequence of The expression to be applied as the | |
| generatedAlwaysAsGenerator | back to summary |
|---|---|
| public final Generator Implements abstract org. Implements org. Doc from org. Get the computed column expression of this data type, if any. This feature is implemented in commercial distributions only.
| |
| generationLocation | back to summary |
|---|---|
| public final QOM. Implements abstract org. Implements org. Doc from org. Get the
Specifies whether the
The computation happens in
This feature is implemented in commercial distributions only.
| |
| generationOption | back to summary |
|---|---|
| public final QOM. Implements abstract org. Implements org. Doc from org. Get the This feature is implemented in commercial distributions only.
| |
| getBinding | back to summary |
|---|---|
| public final Binding Implements org. Doc from org. Get the data type binding associated with this data type.
| |
| getDataType | back to summary |
|---|---|
| public final DataType Implements org. Doc from org. The dialect-specific data type representing this data type.
| |
| getDataType | back to summary |
|---|---|
| public static final DataType | |
| getDataType | back to summary |
|---|---|
| public static final DataType | |
| getDataType | back to summary |
|---|---|
| public static final DataType | |
| getDataType | back to summary |
|---|---|
| public static final <T> DataType | |
| getDataType | back to summary |
|---|---|
| public static final <T> DataType | |
| getDataType | back to summary |
|---|---|
| public static final DataType Convert a type name (using precision and scale) into a Java class | |
| getDataType | back to summary |
|---|---|
| public static final DataType Convert a type name (using precision and scale) into a Java class | |
| getDefaultDataType | back to summary |
|---|---|
| public static final DataType | |
| getDefaultDataType | back to summary |
|---|---|
| public static final DataType | |
| getDialect | back to summary |
|---|---|
| public final SQLDialect getDialect() Implements org. Doc from org. Retrieve the underlying
| |
| getNumericClass | back to summary |
|---|---|
| private static final Class Get the most suitable Java class for a given precision and scale | |
| getSQLDataType | back to summary |
|---|---|
| public final DataType Implements org. Doc from org. Get the standard SQL data type of this (dialect-specific) data type if available.
| |
| getType | back to summary |
|---|---|
| public final Class Implements org. Doc from org. Retrieve the Java type associated with this data type.
| |
| getType | back to summary |
|---|---|
| public static final Class Convert a type name (using precision and scale) into a Java class | |
| identity | back to summary |
|---|---|
| public final boolean identity() Implements org. Doc from org. Get the identity flag of this data type.
| |
| integerPrecision | back to summary |
|---|---|
| private static final Integer integerPrecision(Class<?> type, Integer precision) | |
| length0 | back to summary |
|---|---|
| pack-priv final Integer length0() Implements abstract org.
| |
| normalise | back to summary |
|---|---|
public static final String normalise(String typeName)
| |
| nullability | back to summary |
|---|---|
| public final Nullability nullability() Implements org. Doc from org. Get the nullability of this data type.
| |
| precision0 | back to summary |
|---|---|
| pack-priv final Integer precision0() Implements abstract org.
| |
| readonly | back to summary |
|---|---|
| public final boolean readonly() Implements abstract org. Implements org. Doc from org. Get the readonly attribute of this data type. This feature is implemented in commercial distributions only.
| |
| scale0 | back to summary |
|---|---|
| pack-priv final Integer scale0() Implements abstract org.
| |
| set | back to summary |
|---|---|
| pack-priv static final DataType | |
| tType0 | back to summary |
|---|---|
| pack-priv final Class Implements abstract org.
| |
| typeName0 | back to summary |
|---|---|
| pack-priv final String typeName0() Implements abstract org.
| |
| types | back to summary |
|---|---|
| pack-priv static final Collection | |
| uType0 | back to summary |
|---|---|
| pack-priv final Class Implements abstract org.
| |