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:
T- the unconverted array typeS- the converted array typeE- the unconverted element 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 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 Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface Type
Type.PersistenceType -
Constructor 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 AbstractSingleColumnStandardBasicType
nullSafeSetMethods inherited from class AbstractStandardBasicType
assemble, beforeAssemble, canDoExtraction, canDoSetting, compare, 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 Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BasicDomainType
getPersistenceTypeMethods inherited from interface BasicType
compare, disassemble, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcType, getCheckCondition, getExpressibleJavaType, getJavaType, getJavaTypeDescriptor, getJdbcMapping, getJdbcMapping, getJdbcTypeCount, getMappedJavaType, getMappedType, getRegistrationKeys, getSingleJdbcMapping, getSqmTypeMethods inherited from interface BasicValuedMapping
addToCacheKeyMethods inherited from interface Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface JdbcMapping
convertToDomainValue, convertToRelationalValue, getCastType, getJdbcTypeMethods inherited from interface OutputableType
canDoExtraction, extract, extract, getJdbcTypeMethods inherited from interface SqmBindableType
resolveExpressibleMethods inherited from interface SqmDomainType
getTupleLength, getTypeNameMethods inherited from interface SqmExpressible
getRelationalJavaTypeMethods inherited from interface 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 ValueMapping
treatAs
-
Constructor Details
-
ConvertedBasicArrayType
-
-
Method Details
-
getElementType
Description copied from interface:BasicPluralTypeGet element type- Specified by:
getElementTypein interfaceBasicPluralType<T,S>
-
getName
-
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
-