Class ArrayTupleType
java.lang.Object
org.hibernate.metamodel.model.domain.internal.ArrayTupleType
- All Implemented Interfaces:
Type<Object[]>,Bindable,JdbcMappingContainer,MappingModelExpressible<Object[]>,DomainType<Object[]>,ReturnableType<Object[]>,SimpleDomainType<Object[]>,SqmBindableType<Object[]>,SqmExpressible<Object[]>,SqmDomainType<Object[]>,TupleType<Object[]>,BindableType<Object[]>
public class ArrayTupleType
extends Object
implements TupleType<Object[]>, SqmDomainType<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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session) Add to the MutableCacheKey the values obtained disassembling the value and the hasCode generated from the disassembled value.intdisassemble(Object value, SharedSessionContractImplementor session) Breaks down a value ofJinto 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).intforEachJdbcType(int offset, IndexedConsumer<JdbcMapping> action) Visit each JdbcMapping starting from the given offsetget(int index) getComponentName(int index) TheJavaTyperepresenting this domain type.The Java class which represents by this domain type.getJdbcMapping(int index) The name of the type.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, getJdbcTypeCountMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
getSingleJdbcMappingMethods inherited from interface org.hibernate.query.sqm.SqmBindableType
resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmDomainType
getTupleLengthMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType
-
Constructor Details
-
ArrayTupleType
-
-
Method Details
-
getJavaType
Description copied from interface:DomainTypeThe Java class which represents by this domain type.- Specified by:
getJavaTypein interfaceDomainType<Object[]>- Specified by:
getJavaTypein interfaceSimpleDomainType<Object[]>- Specified by:
getJavaTypein interfaceType<Object[]>- See Also:
-
getTypeName
Description copied from interface:DomainTypeThe name of the type. Usually, but not always, the name of a Java class.- Specified by:
getTypeNamein interfaceDomainType<Object[]>- Specified by:
getTypeNamein interfaceSqmDomainType<Object[]>- Specified by:
getTypeNamein interfaceSqmExpressible<Object[]>- See Also:
-
getSqmType
- Specified by:
getSqmTypein interfaceSqmExpressible<Object[]>
-
componentCount
public int componentCount()- Specified by:
componentCountin interfaceTupleType<Object[]>
-
getComponentName
- Specified by:
getComponentNamein interfaceTupleType<Object[]>
-
getComponentNames
- Specified by:
getComponentNamesin interfaceTupleType<Object[]>
-
get
-
get
-
getExpressibleJavaType
Description copied from interface:DomainTypeTheJavaTyperepresenting this domain type.- Specified by:
getExpressibleJavaTypein interfaceDomainType<Object[]>- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<Object[]>
-
getPersistenceType
- Specified by:
getPersistenceTypein interfaceType<Object[]>
-
toString
-
getJdbcMapping
- Specified by:
getJdbcMappingin interfaceJdbcMappingContainer
-
forEachJdbcType
Description copied from interface:JdbcMappingContainerVisit each JdbcMapping starting from the given offset- Specified by:
forEachJdbcTypein interfaceJdbcMappingContainer
-