Package org.hibernate.type
Class ConvertedBasicArrayType<T,S,E>
java.lang.Object
org.hibernate.type.AbstractStandardBasicType<T>
org.hibernate.type.AbstractSingleColumnStandardBasicType<T>
org.hibernate.type.ConvertedBasicArrayType<T,S,E>
- Type Parameters:
E- the unconverted element typeT- the unconverted array typeS- the converted array type
- All Implemented Interfaces:
BasicType<T>,Type<T>,Serializable,BasicValuedMapping,Bindable,JdbcMapping,JdbcMappingContainer,MappingModelExpressible,MappingType,SqlExpressible,ValueMapping,BasicDomainType<T>,DomainType<T>,ReturnableType<T>,SimpleDomainType<T>,SqmBindableType<T>,SqmExpressible<T>,SqmDomainType<T>,AdjustableBasicType<T>,BasicPluralType<T,,E> BasicType<T>,BindableType<T>,JavaTypedExpressible,OutputableType<T>,ProcedureParameterExtractionAware<T>,ProcedureParameterNamedBinder<T>,Type
public classConvertedBasicArrayType<T,S,E> extendsAbstractSingleColumnStandardBasicType<T>implementsAdjustableBasicType<T>,BasicPluralType<T,E>
Given a
BasicValueConverter for an array type,- See Also:
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesBiConsumer<X,Y>,Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceTypeConstructor Summary
ConstructorsConstructorDescriptionConvertedBasicArrayType(BasicType<E> baseDescriptor,JdbcType arrayJdbcType,JavaType<T> arrayTypeDescriptor,BasicValueConverter<T, S> converter) Method Summary
Modifier and TypeMethodDescriptionbooleanGet element typeJavaType<?>The strategy for formatting values of this expressible type to a SQL literal.The strategy for binding values of this expressible type to JDBCPreparedStatements andCallableStatements.The strategy for extracting values of this expressible type from JDBC ResultSets, CallableStatements, etcgetName()Returns the abbreviated name of the type.Returns the converter that this basic type uses for transforming from the domain type, to the relational type, ornullif there is no conversion.inthashCode()protected boolean<X> BasicType<X>resolveIndicatedType(JdbcTypeIndicators indicators,JavaType<X> domainJtd) Perform the adjustmentMethods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType
nullSafeSetMethods inherited from class org.hibernate.type.AbstractStandardBasicType
assemble,beforeAssemble,canDoExtraction,canDoSetting,compare,deepCopy,deepCopy,disassemble,extract,extract,fromString,getCastType,getColumnSpan,getHashCode,getHashCode,getJavaType,getJavaTypeDescriptor,getJdbcType,getMutabilityPlan,getRegistrationKeys,getReturnedClass,getSqlTypeCodes,getTypeForEqualsHashCode,isAnyType,isAssociationType,isCollectionType,isComponentType,isDirty,isDirty,isDirty,isEntityType,isEqual,isEqual,isModified,isMutable,isSame,nullSafeSet,nullSafeSet,nullSafeSet,nullSafeSet,replace,replace,toColumnNullness,toLoggableStringMethods inherited from class java.lang.Object
clone,finalize,getClass,notify,notifyAll,toString,wait,wait,waitMethods inherited from interface org.hibernate.metamodel.model.domain.BasicDomainType
getPersistenceTypeMethods inherited from interface org.hibernate.type.BasicType
compare,disassemble,forEachDisassembledJdbcValue,forEachJdbcType,forEachJdbcType,getCheckCondition,getExpressibleJavaType,getJavaType,getJavaTypeDescriptor,getJdbcMapping,getJdbcMapping,getJdbcTypeCount,getMappedJavaType,getMappedType,getRegistrationKeys,getSingleJdbcMapping,getSqmTypeMethods inherited from interface org.hibernate.metamodel.mapping.BasicValuedMapping
addToCacheKeyMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue,forEachDisassembledJdbcValue,forEachDisassembledJdbcValue,forEachJdbcValue,forEachJdbcValue,forEachJdbcValue,forEachJdbcValueMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMapping
convertToDomainValue,convertToRelationalValue,getCastType,getJdbcTypeMethods inherited from interface org.hibernate.type.OutputableType
canDoExtraction,extract,extract,getJdbcTypeMethods inherited from interface org.hibernate.query.sqm.SqmBindableType
resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmDomainType
getTupleLength,getTypeNameMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaTypeMethods inherited from interface org.hibernate.type.Type
assemble,beforeAssemble,compare,deepCopy,disassemble,disassemble,getColumnSpan,getHashCode,getHashCode,getReturnedClass,getReturnedClassName,getSqlTypeCodes,getTypeForEqualsHashCode,isAnyType,isAssociationType,isCollectionType,isComponentType,isDirty,isDirty,isEntityType,isEqual,isEqual,isModified,isMutable,isSame,nullSafeSet,nullSafeSet,replace,replace,toColumnNullness,toLoggableStringMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
Constructor Details
ConvertedBasicArrayType
Method Details
getElementType
Description copied from interface:BasicPluralTypeGet element type- Specified by:
getElementTypein interfaceBasicPluralType<T,S>
getName
Description copied from interface:TypeReturns the abbreviated name of the type.registerUnderJavaType
protected boolean registerUnderJavaType()- Overrides:
registerUnderJavaTypein classAbstractStandardBasicType<T>
resolveIndicatedType
Description copied from interface:AdjustableBasicTypePerform the adjustment- Specified by:
resolveIndicatedTypein interfaceAdjustableBasicType<T>
getValueConverter
Description copied from interface:JdbcMappingReturns the converter that this basic type uses for transforming from the domain type, to the relational type, ornullif there is no conversion.- Specified by:
getValueConverterin interfaceBasicType<T>- Specified by:
getValueConverterin interfaceJdbcMapping
getJdbcJavaType
- Specified by:
getJdbcJavaTypein interfaceJdbcMapping
getJdbcValueExtractor
Description copied from interface:JdbcMappingThe strategy for extracting values of this expressible type from JDBC ResultSets, CallableStatements, etc- Specified by:
getJdbcValueExtractorin interfaceBasicType<T>- Specified by:
getJdbcValueExtractorin interfaceJdbcMapping- Overrides:
getJdbcValueExtractorin classAbstractStandardBasicType<T>
getJdbcValueBinder
Description copied from interface:JdbcMappingThe strategy for binding values of this expressible type to JDBCPreparedStatements andCallableStatements.- Specified by:
getJdbcValueBinderin interfaceBasicType<T>- Specified by:
getJdbcValueBinderin interfaceJdbcMapping- Overrides:
getJdbcValueBinderin classAbstractStandardBasicType<T>
getJdbcLiteralFormatter
Description copied from interface:JdbcMappingThe strategy for formatting values of this expressible type to a SQL literal.- Specified by:
getJdbcLiteralFormatterin interfaceBasicType<T>- Specified by:
getJdbcLiteralFormatterin interfaceJdbcMapping- Overrides:
getJdbcLiteralFormatterin classAbstractStandardBasicType<T>
equals
hashCode
public int hashCode()