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:
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[],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 betweenARRAYandT[]- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesConsumer
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicType<T>getElementType()Get element typeJdbcLiteralFormattergetJdbcLiteralFormatter()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 JDBCPreparedStatements andCallableStatements.ValueExtractor<T[]>getJdbcValueExtractor()The strategy for extracting values of this expressible type from JDBC ResultSets, CallableStatements, etcStringgetName()Returns the abbreviated name of the type.protected booleanregisterUnderJavaType()<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, getExpressibleJavaType, getJavaTypeDescriptor, getJdbcMapping, getJdbcMappings, getJdbcTypeCount, getMappedJavaType, getMappedType, getRegistrationKeys, 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
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 jakarta.persistence.metamodel.Type
getJavaType
-
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:BasicPluralTypeGet element type- Specified by:
getElementTypein interfaceBasicPluralType<T[],T>
-
getName
public String getName()
Description copied from interface:TypeReturns the abbreviated name of the type.
-
registerUnderJavaType
protected boolean registerUnderJavaType()
- Overrides:
registerUnderJavaTypein classAbstractStandardBasicType<T[]>
-
getJdbcValueExtractor
public ValueExtractor<T[]> 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
public ValueBinder<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
public JdbcLiteralFormatter 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[]>
-
resolveIndicatedType
public <X> BasicType<X> resolveIndicatedType(JdbcTypeIndicators indicators, JavaType<X> domainJtd)
Description copied from interface:AdjustableBasicTypePerform the adjustment- Specified by:
resolveIndicatedTypein interfaceAdjustableBasicType<T>
-
-