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