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
Constructors Constructor Description AnonymousTupleType(SqmSelectableNode<?>[] components)AnonymousTupleType(SqmSubQuery<T> subQuery)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource, isGeneric
-
-
-
-
Constructor Detail
-
AnonymousTupleType
public AnonymousTupleType(SqmSubQuery<T> subQuery)
-
AnonymousTupleType
public AnonymousTupleType(SqmSelectableNode<?>[] components)
-
-
Method Detail
-
resolveTableGroupProducer
public AnonymousTupleTableGroupProducer resolveTableGroupProducer(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess)
-
componentCount
public int componentCount()
- Specified by:
componentCountin interfaceTupleType<T>
-
getComponentName
public String getComponentName(int index)
- Specified by:
getComponentNamein interfaceTupleType<T>
-
getComponentNames
public List<String> getComponentNames()
- Specified by:
getComponentNamesin interfaceTupleType<T>
-
get
public SqmExpressible<?> get(int index)
-
get
public SqmExpressible<?> get(String componentName)
-
getSelectableNode
public SqmSelectableNode<?> getSelectableNode(int index)
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
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
public JavaType<T> getExpressibleJavaType()
Description copied from interface:SqmExpressibleThe Java type descriptor for this expressible- Specified by:
getExpressibleJavaTypein interfaceSqmExpressible<T>
-
getBindableType
public Bindable.BindableType getBindableType()
- Specified by:
getBindableTypein interfaceBindable<T>
-
getPersistenceType
public Type.PersistenceType getPersistenceType()
- Specified by:
getPersistenceTypein interfaceType<T>
-
getPathName
public String getPathName()
Description copied from interface:SqmPathSourceThe name of this thing.- Specified by:
getPathNamein interfaceSqmPathSource<T>
-
getSqmPathType
public DomainType<T> getSqmPathType()
Description copied from interface:SqmPathSourceThe type of path this source creates.- Specified by:
getSqmPathTypein interfaceSqmPathSource<T>
-
getSqmType
public DomainType<T> getSqmType()
- Specified by:
getSqmTypein interfaceDomainType<T>- Specified by:
getSqmTypein interfaceSqmExpressible<T>- Specified by:
getSqmTypein interfaceSqmPathSource<T>
-
createSqmPath
public SqmPath<T> createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)
Description copied from interface:SqmPathSourceCreate an SQM path for this source relative to the given left hand side- Specified by:
createSqmPathin interfaceSqmPathSource<T>
-
getBindableJavaType
public Class<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>
-
getJavaType
public Class<T> getJavaType()
- Specified by:
getJavaTypein interfaceType<T>
-
-