Package org.hibernate.query.derived
Class AnonymousTupleType<T>
java.lang.Object
org.hibernate.query.derived.AnonymousTupleType<T>
- All Implemented Interfaces:
Bindable<T>
,Type<T>
,DomainType<T>
,SimpleDomainType<T>
,TupleType<T>
,BindableType<T>
,ReturnableType<T>
,SqmExpressible<T>
,SqmPathSource<T>
,SqmExpressibleAccessor<T>
- Direct Known Subclasses:
SqmCteTable
@Incubating
public class AnonymousTupleType<T>
extends Object
implements TupleType<T>, DomainType<T>, ReturnableType<T>, SqmPathSource<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType
-
Constructor Summary
ConstructorsConstructorDescriptionAnonymousTupleType
(SqmExpressible<?>[] expressibles, String[] componentNames) AnonymousTupleType
(SqmSelectableNode<?>[] components) AnonymousTupleType
(SqmSubQuery<T> subQuery) -
Method Summary
Modifier and TypeMethodDescriptionint
createSqmPath
(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource) Create an SQM path for this source relative to the given left hand sidefindSubPathSource
(String name) Find aSqmPathSource
by name relative to this source.get
(int index) The expected Java typegetComponentName
(int index) @Nullable NavigablePath
getComponentSourcePath
(int index) The Java type descriptor for this expressibleprotected Integer
The name of this thing.The type of path this source creates.resolveTableGroupProducer
(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess) resolveTableGroupProducer
(String aliasStem, SqlTypedMapping[] jdbcMappings, FromClauseAccess fromClauseAccess) static SqlTypedMapping[]
toSqlTypedMappings
(List<SqlSelection> sqlSelections) 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.model.domain.DomainType
getTupleLength
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, getTypeName, isInstance, resolveExpressible
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
findSubPathSource, findSubPathSource, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource, getSubPathSource, isGeneric
-
Constructor Details
-
AnonymousTupleType
-
AnonymousTupleType
-
AnonymousTupleType
-
-
Method Details
-
toSqlTypedMappings
-
resolveTableGroupProducer
public AnonymousTupleTableGroupProducer resolveTableGroupProducer(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess) -
resolveTableGroupProducer
public AnonymousTupleTableGroupProducer resolveTableGroupProducer(String aliasStem, SqlTypedMapping[] jdbcMappings, FromClauseAccess fromClauseAccess) -
componentCount
public int componentCount()- Specified by:
componentCount
in interfaceTupleType<T>
-
getComponentName
- Specified by:
getComponentName
in interfaceTupleType<T>
-
getComponentNames
- Specified by:
getComponentNames
in interfaceTupleType<T>
-
get
-
get
-
getIndex
-
getComponentSourcePath
-
findSubPathSource
Description copied from interface:SqmPathSource
Find aSqmPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfaceSqmPathSource<T>
- Parameters:
name
- the name of the path source to find- Returns:
- null if the subPathSource is not found
-
getExpressibleJavaType
Description copied from interface:SqmExpressible
The Java type descriptor for this expressible- Specified by:
getExpressibleJavaType
in interfaceSqmExpressible<T>
-
getBindableType
- Specified by:
getBindableType
in interfaceBindable<T>
-
getPersistenceType
- Specified by:
getPersistenceType
in interfaceType<T>
-
getPathName
Description copied from interface:SqmPathSource
The name of this thing.- Specified by:
getPathName
in interfaceSqmPathSource<T>
-
getSqmPathType
Description copied from interface:SqmPathSource
The type of path this source creates.- Specified by:
getSqmPathType
in interfaceSqmPathSource<T>
-
getSqmType
- Specified by:
getSqmType
in interfaceDomainType<T>
- Specified by:
getSqmType
in interfaceSqmExpressible<T>
- Specified by:
getSqmType
in interfaceSqmPathSource<T>
-
createSqmPath
Description copied from interface:SqmPathSource
Create an SQM path for this source relative to the given left hand side- Specified by:
createSqmPath
in interfaceSqmPathSource<T>
-
getBindableJavaType
Description copied from interface:BindableType
The expected Java type- Specified by:
getBindableJavaType
in interfaceBindable<T>
- Specified by:
getBindableJavaType
in interfaceBindableType<T>
- Specified by:
getBindableJavaType
in interfaceSimpleDomainType<T>
-
getJavaType
- Specified by:
getJavaType
in interfaceType<T>
-
toString
-