Class AbstractArrayJavaType<T,E>
java.lang.Object
org.hibernate.type.descriptor.java.AbstractClassJavaType<T>
org.hibernate.type.descriptor.java.AbstractArrayJavaType<T,E>
- All Implemented Interfaces:
Serializable,BasicJavaType<T>,BasicPluralJavaType<E>,JavaType<T>
- Direct Known Subclasses:
ArrayJavaType,BooleanPrimitiveArrayJavaType,DoublePrimitiveArrayJavaType,FloatPrimitiveArrayJavaType,IntegerPrimitiveArrayJavaType,LongPrimitiveArrayJavaType,ShortPrimitiveArrayJavaType
public abstract class AbstractArrayJavaType<T,E>
extends AbstractClassJavaType<T>
implements BasicPluralJavaType<E>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.type.descriptor.java.JavaType
JavaType.CoercionContext -
Constructor Summary
ConstructorsConstructorDescriptionAbstractArrayJavaType(Class<T> clazz, JavaType<E> baseDescriptor, MutabilityPlan<T> mutabilityPlan) -
Method Summary
Modifier and TypeMethodDescriptionGet the Java type descriptor for the element typegetRecommendedJdbcType(JdbcTypeIndicators indicators) Obtain the "recommended"SQL type descriptorfor this Java type.booleanDetermines if this Java type is wider than the given Java type, that is, if the given type can be safely widened to this type.BasicType<?>resolveType(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<E> elementType, ColumnTypeInformation columnTypeInformation, JdbcTypeIndicators stdIndicators) Creates a container type for the given element typeMethods inherited from class org.hibernate.type.descriptor.java.AbstractClassJavaType
areEqual, extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, getJavaTypeClass, getMutabilityPlan, unknownUnwrap, unknownWrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.type.descriptor.java.BasicJavaType
fromStringMethods inherited from interface org.hibernate.type.descriptor.java.JavaType
appendEncodedString, coerce, createJavaType, fromEncodedString, getCheckCondition, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getLongSqlLength, getReplacement, getTypeName, isInstance, isTemporalType, toString, unwrap, useObjectEqualsHashCode, wrap
-
Constructor Details
-
AbstractArrayJavaType
-
-
Method Details
-
getElementJavaType
Description copied from interface:BasicPluralJavaTypeGet the Java type descriptor for the element type- Specified by:
getElementJavaTypein interfaceBasicPluralJavaType<T>
-
getRecommendedJdbcType
Description copied from interface:BasicJavaTypeObtain the "recommended"SQL type descriptorfor this Java type. Often, but not always, the source of this recommendation is the JDBC specification.- Specified by:
getRecommendedJdbcTypein interfaceBasicJavaType<T>- Specified by:
getRecommendedJdbcTypein interfaceJavaType<T>- Parameters:
indicators- Contextual information- Returns:
- The recommended SQL type descriptor
-
isWider
Description copied from interface:JavaTypeDetermines if this Java type is wider than the given Java type, that is, if the given type can be safely widened to this type. -
resolveType
public BasicType<?> resolveType(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<E> elementType, ColumnTypeInformation columnTypeInformation, JdbcTypeIndicators stdIndicators) Description copied from interface:BasicPluralJavaTypeCreates a container type for the given element type- Specified by:
resolveTypein interfaceBasicPluralJavaType<T>
-