Package org.hibernate.type
Class ConvertedBasicCollectionType<C extends Collection<E>,E>
- java.lang.Object
-
- org.hibernate.type.AbstractStandardBasicType<T>
-
- org.hibernate.type.AbstractSingleColumnStandardBasicType<C>
-
- org.hibernate.type.BasicCollectionType<C,E>
-
- org.hibernate.type.ConvertedBasicCollectionType<C,E>
-
- All Implemented Interfaces:
BasicType<C>
,Type<C>
,Serializable
,BasicValuedMapping
,Bindable
,JdbcMapping
,JdbcMappingContainer
,MappingModelExpressible
,MappingType
,SqlExpressible
,ValueMapping
,BasicDomainType<C>
,DomainType<C>
,SimpleDomainType<C>
,BindableType<C>
,OutputableType<C>
,ReturnableType<C>
,SqmExpressible<C>
,AdjustableBasicType<C>
,BasicPluralType<C,E>
,BasicType<C>
,JavaTypedExpressible
,ProcedureParameterExtractionAware<C>
,ProcedureParameterNamedBinder<C>
,Type
public class ConvertedBasicCollectionType<C extends Collection<E>,E> extends BasicCollectionType<C,E>
A converted basic array type.- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description ConvertedBasicCollectionType(BasicType<E> baseDescriptor, JdbcType arrayJdbcType, BasicCollectionJavaType<C,E> arrayTypeDescriptor, BasicValueConverter<C,?> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
JavaType<?>
getJdbcJavaType()
JdbcLiteralFormatter<C>
getJdbcLiteralFormatter()
The strategy for formatting values of this expressible type to a SQL literal.ValueBinder<C>
getJdbcValueBinder()
The strategy for binding values of this expressible type to JDBCPreparedStatement
s andCallableStatement
s.ValueExtractor<C>
getJdbcValueExtractor()
The strategy for extracting values of this expressible type from JDBC ResultSets, CallableStatements, etcBasicValueConverter<C,?>
getValueConverter()
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()
-
Methods inherited from class org.hibernate.type.BasicCollectionType
getElementType, getName, registerUnderJavaType, resolveIndicatedType
-
Methods 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, getHashCode, getHashCode, getReturnedClass, getReturnedClassName, getSqlTypeCodes, getTypeForEqualsHashCode, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeSet, nullSafeSet, replace, replace, toColumnNullness, toLoggableString
-
Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
-
-
-
-
Constructor Detail
-
ConvertedBasicCollectionType
public ConvertedBasicCollectionType(BasicType<E> baseDescriptor, JdbcType arrayJdbcType, BasicCollectionJavaType<C,E> arrayTypeDescriptor, BasicValueConverter<C,?> converter)
-
-
Method Detail
-
getValueConverter
public BasicValueConverter<C,?> 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.
-
getJdbcJavaType
public JavaType<?> getJdbcJavaType()
-
getJdbcValueExtractor
public ValueExtractor<C> 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<C extends Collection<E>>
- Specified by:
getJdbcValueExtractor
in interfaceJdbcMapping
- Overrides:
getJdbcValueExtractor
in classAbstractStandardBasicType<C extends Collection<E>>
-
getJdbcValueBinder
public ValueBinder<C> 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<C extends Collection<E>>
- Specified by:
getJdbcValueBinder
in interfaceJdbcMapping
- Overrides:
getJdbcValueBinder
in classAbstractStandardBasicType<C extends Collection<E>>
-
getJdbcLiteralFormatter
public JdbcLiteralFormatter<C> getJdbcLiteralFormatter()
Description copied from interface:JdbcMapping
The strategy for formatting values of this expressible type to a SQL literal.- Specified by:
getJdbcLiteralFormatter
in interfaceBasicType<C extends Collection<E>>
- Specified by:
getJdbcLiteralFormatter
in interfaceJdbcMapping
- Overrides:
getJdbcLiteralFormatter
in classAbstractStandardBasicType<C extends Collection<E>>
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBasicCollectionType<C extends Collection<E>,E>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBasicCollectionType<C extends Collection<E>,E>
-
-