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>
- Author:
- Christian Beikov
-
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(SqmSelectableNode<?>[] components) AnonymousTupleType(SqmSubQuery<T> subQuery) -
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) The expected Java typeReturn the bindable type of the represented object.getComponentName(int index) The Java type descriptor for this expressibleprotected IntegerReturn the represented Java type.The name of this thing.Return the persistence type.getSelectableNode(int index) The type of path this source creates.resolveTableGroupProducer(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getTupleLengthMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, getTypeName, isInstance, resolveExpressibleMethods 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
-
resolveTableGroupProducer
public AnonymousTupleTableGroupProducer resolveTableGroupProducer(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess) -
determineColumnNames
-
componentCount
public int componentCount()- Specified by:
componentCountin interfaceTupleType<T>
-
getComponentName
- Specified by:
getComponentNamein interfaceTupleType<T>
-
getComponentNames
- Specified by:
getComponentNamesin interfaceTupleType<T>
-
get
-
get
-
getIndex
-
getSelectableNode
-
findSubPathSource
Description copied from interface:SqmPathSourceFind aSqmPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfaceSqmPathSource<T>- Returns:
- null if the subPathSource is not found
-
getExpressibleJavaType
Description copied from interface:SqmExpressibleThe Java type descriptor for this expressible- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<T>
-
getBindableType
Description copied from interface:BindableReturn the bindable type of the represented object.- Specified by:
getBindableTypein interfaceBindable<T>- Returns:
- bindable type
-
getPersistenceType
Description copied from interface:TypeReturn the persistence type.- Specified by:
getPersistenceTypein interfaceType<T>- Returns:
- persistence type
-
getPathName
Description copied from interface:SqmPathSourceThe name of this thing.- Specified by:
getPathNamein interfaceSqmPathSource<T>
-
getSqmPathType
Description copied from interface:SqmPathSourceThe type of path this source creates.- Specified by:
getSqmPathTypein interfaceSqmPathSource<T>
-
getSqmType
- Specified by:
getSqmTypein interfaceDomainType<T>- 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
Description copied from interface:BindableTypeThe expected Java type- Specified by:
getBindableJavaTypein interfaceBindable<T>- Specified by:
getBindableJavaTypein interfaceBindableType<T>- Specified by:
getBindableJavaTypein interfaceSimpleDomainType<T>- Returns:
- Java type
-
getJavaType
Description copied from interface:TypeReturn the represented Java type.- Specified by:
getJavaTypein interfaceType<T>- Returns:
- Java type
-
toString
-