Package org.hibernate.query.sqm.tree.cte
Class SqmCteTable<T>
java.lang.Object
org.hibernate.query.derived.AnonymousTupleType<T>
org.hibernate.query.sqm.tree.cte.SqmCteTable<T>
- All Implemented Interfaces:
Bindable<T>
,Type<T>
,Serializable
,DomainType<T>
,SimpleDomainType<T>
,TupleType<T>
,BindableType<T>
,JpaCriteriaNode
,JpaCteCriteriaType<T>
,ReturnableType<T>
,SqmExpressible<T>
,SqmPathSource<T>
,SqmExpressibleAccessor<T>
- See Also:
-
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic <X> SqmCteTable<X>
createStatementTable
(String name, SqmCteStatement<X> cteStatement, SqmSelectQuery<X> selectStatement) findSubPathSource
(String name) Find aSqmPathSource
by name relative to this source.getAttribute
(String name) Returns the found attribute or null.The attributes of the CTE type.getName()
The name under which this CTE is registered.getType()
The domain type of the CTE.resolveTableGroupProducer
(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess) resolveTableGroupProducer
(String aliasStem, SqlTypedMapping[] sqlTypedMappings, FromClauseAccess fromClauseAccess) Methods inherited from class org.hibernate.query.derived.AnonymousTupleType
componentCount, createSqmPath, get, getBindableJavaType, getBindableType, getComponentName, getComponentNames, getComponentSourcePath, getExpressibleJavaType, getIndex, getJavaType, getPathName, getPersistenceType, getSqmPathType, getSqmType, toSqlTypedMappings, 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
-
Method Details
-
createStatementTable
public static <X> SqmCteTable<X> createStatementTable(String name, SqmCteStatement<X> cteStatement, SqmSelectQuery<X> selectStatement) -
resolveTableGroupProducer
public CteTupleTableGroupProducer resolveTableGroupProducer(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess) - Overrides:
resolveTableGroupProducer
in classAnonymousTupleType<T>
-
resolveTableGroupProducer
public CteTupleTableGroupProducer resolveTableGroupProducer(String aliasStem, SqlTypedMapping[] sqlTypedMappings, FromClauseAccess fromClauseAccess) - Overrides:
resolveTableGroupProducer
in classAnonymousTupleType<T>
-
getCteName
-
getTupleType
-
getColumns
-
getCteStatement
-
getName
Description copied from interface:JpaCteCriteriaType
The name under which this CTE is registered.- Specified by:
getName
in interfaceJpaCteCriteriaType<T>
-
getType
Description copied from interface:JpaCteCriteriaType
The domain type of the CTE.- Specified by:
getType
in interfaceJpaCteCriteriaType<T>
-
getAttributes
Description copied from interface:JpaCteCriteriaType
The attributes of the CTE type.- Specified by:
getAttributes
in interfaceJpaCteCriteriaType<T>
-
getAttribute
Description copied from interface:JpaCteCriteriaType
Returns the found attribute or null.- Specified by:
getAttribute
in interfaceJpaCteCriteriaType<T>
-
get
-
findSubPathSource
Description copied from interface:SqmPathSource
Find aSqmPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfaceSqmPathSource<T>
- Overrides:
findSubPathSource
in classAnonymousTupleType<T>
- Parameters:
name
- the name of the path source to find- Returns:
- null if the subPathSource is not found
-