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>
,SqmCacheable
,SqmExpressibleAccessor<T>
,TupleType<T>
,BindableType<T>
public class SqmCteTable<T>
extends org.hibernate.query.sqm.tuple.internal.AnonymousTupleType<T>
implements JpaCteCriteriaType<T>, SqmCacheable
- 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 TypeMethodDescriptionint
static <X> SqmCteTable
<X> createStatementTable
(String name, SqmCteStatement<X> cteStatement, SqmSelectQuery<X> selectStatement) boolean
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.org.hibernate.query.sqm.tuple.internal.AnonymousTupleType
<?> getType()
The domain type of the CTE.int
hashCode()
boolean
org.hibernate.query.sqm.tuple.internal.CteTupleTableGroupProducer
resolveTableGroupProducer
(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess) org.hibernate.query.sqm.tuple.internal.CteTupleTableGroupProducer
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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.query.sqm.SqmBindableType
resolveExpressible
Methods inherited from interface org.hibernate.query.sqm.tree.domain.SqmDomainType
getTupleLength
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType
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 Details
-
createStatementTable
public static <X> SqmCteTable<X> createStatementTable(String name, SqmCteStatement<X> cteStatement, SqmSelectQuery<X> selectStatement) -
resolveTableGroupProducer
public org.hibernate.query.sqm.tuple.internal.CteTupleTableGroupProducer resolveTableGroupProducer(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess) - Overrides:
resolveTableGroupProducer
in classorg.hibernate.query.sqm.tuple.internal.AnonymousTupleType<T>
-
resolveTableGroupProducer
public org.hibernate.query.sqm.tuple.internal.CteTupleTableGroupProducer resolveTableGroupProducer(String aliasStem, SqlTypedMapping[] sqlTypedMappings, FromClauseAccess fromClauseAccess) - Overrides:
resolveTableGroupProducer
in classorg.hibernate.query.sqm.tuple.internal.AnonymousTupleType<T>
-
getCteName
-
getTupleType
public org.hibernate.query.sqm.tuple.internal.AnonymousTupleType<?> 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 interfacePathSource<T>
- Specified by:
findSubPathSource
in interfaceSqmPathSource<T>
- Overrides:
findSubPathSource
in classorg.hibernate.query.sqm.tuple.internal.AnonymousTupleType<T>
- Parameters:
name
- the name of the path source to find- Returns:
- null if the subPathSource is not found
-
equals
-
hashCode
public int hashCode() -
isCompatible
- Specified by:
isCompatible
in interfaceSqmCacheable
-
cacheHashCode
public int cacheHashCode()- Specified by:
cacheHashCode
in interfaceSqmCacheable
-