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>
,SimpleDomainType<T>
,BindableType<T>
,OutputableType<T>
,ReturnableType<T>
,SqmExpressible<T>
,AdjustableBasicType<T>
,BasicPluralType<T,
,E> BasicType<T>
,JavaTypedExpressible
,ProcedureParameterExtractionAware<T>
,ProcedureParameterNamedBinder<T>
,Type
public class ConvertedBasicArrayType<T,S,E>
extends AbstractSingleColumnStandardBasicType<T>
implements AdjustableBasicType<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.PersistenceType
-
Constructor Summary
ConstructorsConstructorDescriptionConvertedBasicArrayType
(BasicType<E> baseDescriptor, JdbcType arrayJdbcType, JavaType<T> arrayTypeDescriptor, BasicValueConverter<T, S> converter) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get 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 JDBCPreparedStatement
s andCallableStatement
s.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, ornull
if there is no conversion.int
hashCode()
protected boolean
<X> BasicType<X>
resolveIndicatedType
(JdbcTypeIndicators indicators, JavaType<X> domainJtd) Perform the adjustmentMethods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType
nullSafeSet
Methods 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, toLoggableString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.metamodel.model.domain.BasicDomainType
areEqual, getPersistenceType
Methods inherited from interface org.hibernate.type.BasicType
compare, disassemble, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcType, getCheckCondition, getExpressibleJavaType, getJavaTypeDescriptor, getJdbcMapping, getJdbcMapping, getJdbcTypeCount, getMappedJavaType, getMappedType, getRegistrationKeys, getSingleJdbcMapping
Methods inherited from interface org.hibernate.metamodel.mapping.BasicValuedMapping
addToCacheKey
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getSqmType, getTupleLength
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMapping
convertToDomainValue, convertToRelationalValue, getCastType, getJdbcType
Methods inherited from interface org.hibernate.query.OutputableType
canDoExtraction, extract, extract, getJdbcType
Methods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
getBindableJavaType
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, getTypeName, isInstance, resolveExpressible
Methods inherited from interface jakarta.persistence.metamodel.Type
getJavaType
Methods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, disassemble, disassemble, getColumnSpan, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getReturnedClassName, getSqlTypeCodes, getSqlTypeCodes, getTypeForEqualsHashCode, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeSet, nullSafeSet, replace, replace, toColumnNullness, toColumnNullness, toLoggableString
Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
-
Constructor Details
-
ConvertedBasicArrayType
-
-
Method Details
-
getElementType
Description copied from interface:BasicPluralType
Get element type- Specified by:
getElementType
in interfaceBasicPluralType<T,
S>
-
getName
Description copied from interface:Type
Returns the abbreviated name of the type. -
registerUnderJavaType
protected boolean registerUnderJavaType()- Overrides:
registerUnderJavaType
in classAbstractStandardBasicType<T>
-
resolveIndicatedType
Description copied from interface:AdjustableBasicType
Perform the adjustment- Specified by:
resolveIndicatedType
in interfaceAdjustableBasicType<T>
-
getValueConverter
Description copied from interface:JdbcMapping
Returns the converter that this basic type uses for transforming from the domain type, to the relational type, ornull
if there is no conversion.- Specified by:
getValueConverter
in interfaceBasicType<T>
- Specified by:
getValueConverter
in interfaceJdbcMapping
-
getJdbcJavaType
- Specified by:
getJdbcJavaType
in interfaceJdbcMapping
-
getJdbcValueExtractor
Description copied from interface:JdbcMapping
The strategy for extracting values of this expressible type from JDBC ResultSets, CallableStatements, etc- Specified by:
getJdbcValueExtractor
in interfaceBasicType<T>
- Specified by:
getJdbcValueExtractor
in interfaceJdbcMapping
- Overrides:
getJdbcValueExtractor
in classAbstractStandardBasicType<T>
-
getJdbcValueBinder
Description copied from interface:JdbcMapping
The strategy for binding values of this expressible type to JDBCPreparedStatement
s andCallableStatement
s.- Specified by:
getJdbcValueBinder
in interfaceBasicType<T>
- Specified by:
getJdbcValueBinder
in interfaceJdbcMapping
- Overrides:
getJdbcValueBinder
in classAbstractStandardBasicType<T>
-
getJdbcLiteralFormatter
Description copied from interface:JdbcMapping
The strategy for formatting values of this expressible type to a SQL literal.- Specified by:
getJdbcLiteralFormatter
in interfaceBasicType<T>
- Specified by:
getJdbcLiteralFormatter
in interfaceJdbcMapping
- Overrides:
getJdbcLiteralFormatter
in classAbstractStandardBasicType<T>
-
equals
-
hashCode
public int hashCode()
-