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 aSqmPathSource
by name relative to this source.SqmExpressible<?>
get(String componentName)
JpaCteCriteriaAttribute
getAttribute(String name)
Returns the found attribute or null.List<JpaCteCriteriaAttribute>
getAttributes()
The attributes of the CTE type.List<SqmCteTableColumn>
getColumns()
String
getCteName()
SqmCteStatement<T>
getCteStatement()
String
getName()
The name under which this CTE is registered.AnonymousTupleType<?>
getTupleType()
DomainType<T>
getType()
The domain type of the CTE.CteTupleTableGroupProducer
resolveTableGroupProducer(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
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, getExpressible, getIntermediatePathSource, getSubPathSource, 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:
resolveTableGroupProducer
in 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:JpaCteCriteriaType
The name under which this CTE is registered.- Specified by:
getName
in interfaceJpaCteCriteriaType<T>
-
getType
public DomainType<T> getType()
Description copied from interface:JpaCteCriteriaType
The domain type of the CTE.- Specified by:
getType
in interfaceJpaCteCriteriaType<T>
-
getAttributes
public List<JpaCteCriteriaAttribute> getAttributes()
Description copied from interface:JpaCteCriteriaType
The attributes of the CTE type.- Specified by:
getAttributes
in interfaceJpaCteCriteriaType<T>
-
getAttribute
public JpaCteCriteriaAttribute getAttribute(String name)
Description copied from interface:JpaCteCriteriaType
Returns the found attribute or null.- Specified by:
getAttribute
in interfaceJpaCteCriteriaType<T>
-
get
public SqmExpressible<?> get(String componentName)
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
Description copied from interface:SqmPathSource
Find aSqmPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfaceSqmPathSource<T>
- Overrides:
findSubPathSource
in classAnonymousTupleType<T>
- Returns:
- null if the subPathSource is not found
-
-