Interface BasicPluralJavaType<T>
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractArrayJavaType
,ArrayJavaType
,BasicCollectionJavaType
,BooleanPrimitiveArrayJavaType
,DoublePrimitiveArrayJavaType
,FloatPrimitiveArrayJavaType
,IntegerPrimitiveArrayJavaType
,LongPrimitiveArrayJavaType
,ShortPrimitiveArrayJavaType
@Incubating public interface BasicPluralJavaType<T> extends Serializable
Descriptor for a basic plural Java type. A basic plural type represents a type, that is mapped to a single column instead of multiple rows. This is used for array or collection types, that are backed by e.g. SQL array or JSON/XML DDL types. The interface can be implemented by a plural java type e.g.BasicCollectionJavaType
and provides access to the element java type, as well as a hook to resolve theBasicType
based on the elementBasicType
, in order to gain enough information to implement storage and retrieval of the composite data type via JDBC.- See Also:
BasicCollectionJavaType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JavaType<T>
getElementJavaType()
Get the Java type descriptor for the element typeBasicType<?>
resolveType(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<T> elementType, ColumnTypeInformation columnTypeInformation, JdbcTypeIndicators stdIndicators)
Creates a container type for the given element type
-
-
-
Method Detail
-
getElementJavaType
JavaType<T> getElementJavaType()
Get the Java type descriptor for the element type
-
resolveType
BasicType<?> resolveType(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<T> elementType, ColumnTypeInformation columnTypeInformation, JdbcTypeIndicators stdIndicators)
Creates a container type for the given element type
-
-