Class ArrayTupleType
java.lang.Object
org.hibernate.metamodel.model.domain.internal.ArrayTupleType
- All Implemented Interfaces:
Type<Object[]>
,Bindable
,JdbcMappingContainer
,MappingModelExpressible<Object[]>
,DomainType<Object[]>
,SimpleDomainType<Object[]>
,TupleType<Object[]>
,BindableType<Object[]>
,ReturnableType<Object[]>
,SqmExpressible<Object[]>
public class ArrayTupleType
extends Object
implements TupleType<Object[]>, ReturnableType<Object[]>, MappingModelExpressible<Object[]>
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToCacheKey
(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session) Add to the MutableCacheKey the values obtained disassembling the value and the hasCode generated from the disassembled value.int
disassemble
(Object value, SharedSessionContractImplementor session) Breaks down a value ofJ
into its simple pieces.<X,
Y> int forEachDisassembledJdbcValue
(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X, Y> valuesConsumer, SharedSessionContractImplementor session) LikeBindable.forEachDisassembledJdbcValue(Object, Object, Object, JdbcValuesBiConsumer, SharedSessionContractImplementor)
, but additionally receives an offset by which the selectionIndex is incremented when callingBindable.JdbcValuesBiConsumer.consume(int, Object, Object, Object, JdbcMapping)
.int
forEachJdbcType
(int offset, IndexedConsumer<JdbcMapping> action) Visit each JdbcMapping starting from the given offsetget
(int index) getComponentName
(int index) The Java type descriptor for this expressiblegetJdbcMapping
(int index) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, getJdbcTypeCount
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getSqmType, getTupleLength
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
getSingleJdbcMapping
Methods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
getBindableJavaType
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, getTypeName, isInstance, resolveExpressible
-
Constructor Details
-
ArrayTupleType
-
-
Method Details
-
componentCount
public int componentCount()- Specified by:
componentCount
in interfaceTupleType<Object[]>
-
getComponentName
- Specified by:
getComponentName
in interfaceTupleType<Object[]>
-
getComponentNames
- Specified by:
getComponentNames
in interfaceTupleType<Object[]>
-
get
-
get
-
getExpressibleJavaType
Description copied from interface:SqmExpressible
The Java type descriptor for this expressible- Specified by:
getExpressibleJavaType
in interfaceSqmExpressible<Object[]>
-
getPersistenceType
- Specified by:
getPersistenceType
in interfaceType<Object[]>
-
getJavaType
- Specified by:
getJavaType
in interfaceType<Object[]>
-
toString
-
getJdbcMapping
- Specified by:
getJdbcMapping
in interfaceJdbcMappingContainer
-
forEachJdbcType
Description copied from interface:JdbcMappingContainer
Visit each JdbcMapping starting from the given offset- Specified by:
forEachJdbcType
in interfaceJdbcMappingContainer
-