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>
public class SqmCteTable<T> extends AnonymousTupleType<T> implements JpaCteCriteriaType<T>
- See Also:
- Serialized Form
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <X> SqmCteTable<X>createStatementTable(String name, SqmCteStatement<X> cteStatement, SqmSelectQuery<X> selectStatement)SqmPathSource<?>findSubPathSource(String name)Find a SqmPathSource by name relative to this source.SqmExpressible<?>get(String componentName)JpaCteCriteriaAttributegetAttribute(String name)Returns the found attribute or null.List<JpaCteCriteriaAttribute>getAttributes()The attributes of the CTE type.List<SqmCteTableColumn>getColumns()StringgetCteName()SqmCteStatement<T>getCteStatement()StringgetName()The name under which this CTE is registered.AnonymousTupleType<?>getTupleType()DomainType<T>getType()The domain type of the CTE.CteTupleTableGroupProducerresolveTableGroupProducer(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess)-
Methods inherited from class org.hibernate.query.derived.AnonymousTupleType
componentCount, createSqmPath, determineColumnNames, get, getBindableJavaType, getBindableType, getComponentName, getComponentNames, getExpressibleJavaType, getIndex, getJavaType, getPathName, getPersistenceType, getSelectableNode, getSqmPathType, getSqmType, 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
getTypeName
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
getExpressible, getIntermediatePathSource, getSubPathSource, isGeneric
-
-
-
-
Method Detail
-
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>
-
getCteName
public String getCteName()
-
getTupleType
public AnonymousTupleType<?> getTupleType()
-
getColumns
public List<SqmCteTableColumn> getColumns()
-
getCteStatement
public SqmCteStatement<T> getCteStatement()
-
getName
public String getName()
Description copied from interface:JpaCteCriteriaTypeThe name under which this CTE is registered.- Specified by:
getNamein interfaceJpaCteCriteriaType<T>
-
getType
public DomainType<T> getType()
Description copied from interface:JpaCteCriteriaTypeThe domain type of the CTE.- Specified by:
getTypein interfaceJpaCteCriteriaType<T>
-
getAttributes
public List<JpaCteCriteriaAttribute> getAttributes()
Description copied from interface:JpaCteCriteriaTypeThe attributes of the CTE type.- Specified by:
getAttributesin interfaceJpaCteCriteriaType<T>
-
getAttribute
public JpaCteCriteriaAttribute getAttribute(String name)
Description copied from interface:JpaCteCriteriaTypeReturns the found attribute or null.- Specified by:
getAttributein interfaceJpaCteCriteriaType<T>
-
get
public SqmExpressible<?> get(String componentName)
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
Description copied from interface:SqmPathSourceFind a SqmPathSource by name relative to this source. returns null if the subPathSource is not found- Specified by:
findSubPathSourcein interfaceSqmPathSource<T>- Overrides:
findSubPathSourcein classAnonymousTupleType<T>
-
-