Package org.hibernate.type
Class BasicArrayType<T>
- java.lang.Object
-
- org.hibernate.type.AbstractStandardBasicType<T>
-
- org.hibernate.type.AbstractSingleColumnStandardBasicType<T[]>
-
- org.hibernate.type.BasicArrayType<T>
-
- All Implemented Interfaces:
jakarta.persistence.metamodel.BasicType<T[]>
,jakarta.persistence.metamodel.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[],T>
,BasicType<T[]>
,JavaTypedExpressible
,ProcedureParameterExtractionAware<T[]>
,ProcedureParameterNamedBinder<T[]>
,Type
public class BasicArrayType<T> extends AbstractSingleColumnStandardBasicType<T[]> implements AdjustableBasicType<T[]>, BasicPluralType<T[],T>
A type that maps betweenARRAY
andT[]
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesConsumer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicType<T>
getElementType()
Get element typeJdbcLiteralFormatter
getJdbcLiteralFormatter()
The strategy for formatting values of this expressible type to a SQL literal.ValueBinder<T[]>
getJdbcValueBinder()
The strategy for binding values of this expressible type to JDBCPreparedStatement
s andCallableStatement
s.ValueExtractor<T[]>
getJdbcValueExtractor()
The strategy for extracting values of this expressible type from JDBC ResultSets, CallableStatements, etcString
getName()
Returns the abbreviated name of the type.protected boolean
registerUnderJavaType()
<X> BasicType<X>
resolveIndicatedType(JdbcTypeIndicators indicators, JavaType<X> domainJtd)
Perform the adjustment-
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, 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, equals, finalize, getClass, hashCode, 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
disassemble, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcType, getCheckCondition, getExpressibleJavaType, getJavaTypeDescriptor, getJdbcMapping, getJdbcMappings, getJdbcTypeCount, getMappedJavaType, getMappedType, getRegistrationKeys, getSpecializedTypeDeclaration, getValueConverter
-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachJdbcValue, forEachJdbcValue
-
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getTypeName
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMapping
convertToDomainValue, convertToRelationalValue, getCastType, getJdbcJavaType, 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
isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, disassemble, disassemble, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSqlTypeCodes, 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
-
-
-
-
Method Detail
-
getElementType
public BasicType<T> getElementType()
Description copied from interface:BasicPluralType
Get element type- Specified by:
getElementType
in interfaceBasicPluralType<T[],T>
-
getName
public String getName()
Description copied from interface:Type
Returns the abbreviated name of the type.
-
registerUnderJavaType
protected boolean registerUnderJavaType()
- Overrides:
registerUnderJavaType
in classAbstractStandardBasicType<T[]>
-
getJdbcValueExtractor
public ValueExtractor<T[]> 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
public ValueBinder<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
public JdbcLiteralFormatter 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[]>
-
resolveIndicatedType
public <X> BasicType<X> resolveIndicatedType(JdbcTypeIndicators indicators, JavaType<X> domainJtd)
Description copied from interface:AdjustableBasicType
Perform the adjustment- Specified by:
resolveIndicatedType
in interfaceAdjustableBasicType<T>
-
-