Class AnonymousTupleType<T>
java.lang.Object
org.hibernate.query.sqm.tuple.internal.AnonymousTupleType<T>
- All Implemented Interfaces:
Bindable<T>,Type<T>,DomainType<T>,PathSource<T>,ReturnableType<T>,SimpleDomainType<T>,SqmBindableType<T>,SqmExpressible<T>,SqmPathSource<T>,SqmDomainType<T>,SqmExpressibleAccessor<T>,TupleType<T>,BindableType<T>
- Direct Known Subclasses:
SqmCteTable
@Incubating
public class AnonymousTupleType<T>
extends Object
implements TupleType<T>, SqmDomainType<T>, SqmPathSource<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableTypeNested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType -
Constructor Summary
ConstructorsConstructorDescriptionAnonymousTupleType(SqmBindableType<?>[] expressibles, String[] componentNames) AnonymousTupleType(SqmSelectQuery<T> selectQuery) -
Method Summary
Modifier and TypeMethodDescriptionintcreateSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource) Create an SQM path for this source relative to the given left hand sidefindSubPathSource(String name) Find aSqmPathSourceby name relative to this source.get(int index) getComponentName(int index) @Nullable NavigablePathgetComponentSourcePath(int index) TheJavaTyperepresenting this domain type.protected IntegerThe Java class which represents by this domain type.The name of this thing.The type of path this source creates.The name of the type.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, waitMethods 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
getRelationalJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmPathSource
findSubPathSource, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource, isGeneric
-
Constructor Details
-
AnonymousTupleType
-
AnonymousTupleType
-
-
Method Details
-
getTypeName
Description copied from interface:DomainTypeThe name of the type. Usually, but not always, the name of a Java class.- Specified by:
getTypeNamein interfaceDomainType<T>- Specified by:
getTypeNamein interfaceSqmDomainType<T>- Specified by:
getTypeNamein interfaceSqmExpressible<T>- See Also:
-
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:
componentCountin interfaceTupleType<T>
-
getComponentName
- Specified by:
getComponentNamein interfaceTupleType<T>
-
getComponentNames
- Specified by:
getComponentNamesin interfaceTupleType<T>
-
get
-
get
-
getIndex
-
getComponentSourcePath
-
findSubPathSource
Description copied from interface:SqmPathSourceFind aSqmPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfacePathSource<T>- Specified by:
findSubPathSourcein 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:DomainTypeTheJavaTyperepresenting this domain type.- Specified by:
getExpressibleJavaTypein interfaceDomainType<T>- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<T>
-
getBindableType
- Specified by:
getBindableTypein interfaceBindable<T>
-
getPersistenceType
- Specified by:
getPersistenceTypein interfaceType<T>
-
getPathName
Description copied from interface:PathSourceThe name of this thing.- Specified by:
getPathNamein interfacePathSource<T>
-
getPathType
Description copied from interface:SqmPathSourceThe type of path this source creates.- Specified by:
getPathTypein interfacePathSource<T>- Specified by:
getPathTypein interfaceSqmPathSource<T>
-
getSqmType
- Specified by:
getSqmTypein interfaceSqmExpressible<T>- Specified by:
getSqmTypein interfaceSqmPathSource<T>
-
createSqmPath
Description copied from interface:SqmPathSourceCreate an SQM path for this source relative to the given left hand side- Specified by:
createSqmPathin interfaceSqmPathSource<T>
-
getBindableJavaType
- Specified by:
getBindableJavaTypein interfaceBindable<T>
-
getJavaType
Description copied from interface:DomainTypeThe Java class which represents by this domain type.- Specified by:
getJavaTypein interfaceDomainType<T>- Specified by:
getJavaTypein interfaceSimpleDomainType<T>- Specified by:
getJavaTypein interfaceType<T>- See Also:
-
toString
-