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[]>
- Author:
- Christian Beikov
-
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) The Java type descriptor for this expressibleReturn the represented Java type.getJdbcMapping(int index) Return the persistence 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.model.domain.DomainType
getSqmType, getTupleLengthMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
getSingleJdbcMappingMethods inherited from interface org.hibernate.metamodel.model.domain.SimpleDomainType
getBindableJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, getTypeName, isInstance, resolveExpressible
-
Constructor Details
-
ArrayTupleType
-
-
Method Details
-
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:SqmExpressibleThe Java type descriptor for this expressible- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<Object[]>
-
getPersistenceType
Description copied from interface:TypeReturn the persistence type.- Specified by:
getPersistenceTypein interfaceType<Object[]>- Returns:
- persistence type
-
getJavaType
Description copied from interface:TypeReturn the represented Java type.- Specified by:
getJavaTypein interfaceType<Object[]>- Returns:
- Java type
-
toString
-
getJdbcMapping
- Specified by:
getJdbcMappingin interfaceJdbcMappingContainer
-
forEachJdbcType
Description copied from interface:JdbcMappingContainerVisit each JdbcMapping starting from the given offset- Specified by:
forEachJdbcTypein interfaceJdbcMappingContainer
-