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 Bindable
Bindable.BindableTypeNested classes/interfaces inherited from interface Type
Type.PersistenceType -
Method Summary
Modifier and TypeMethodDescriptionintstatic <X> SqmCteTable<X> createStatementTable(String name, SqmCteStatement<X> cteStatement, SqmSelectQuery<X> selectStatement) boolean@Nullable SqmPathSource<?> findSubPathSource(String name) Find aSqmPathSourceby name relative to this source.@Nullable SqmBindableType<?> @Nullable JpaCteCriteriaAttributegetAttribute(String name) Returns the found attribute or null.The attributes of the CTE type.@Nullable StringgetName()The name under which this CTE is registered.org.hibernate.query.sqm.tuple.internal.AnonymousTupleType<?> getType()The domain type of the CTE.inthashCode()booleanorg.hibernate.query.sqm.tuple.internal.CteTupleTableGroupProducerresolveTableGroupProducer(String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess) org.hibernate.query.sqm.tuple.internal.CteTupleTableGroupProducerresolveTableGroupProducer(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 interface SqmBindableType
resolveExpressibleMethods inherited from interface SqmDomainType
getTupleLengthMethods inherited from interface SqmExpressible
getRelationalJavaTypeMethods inherited from interface SqmExpressibleAccessor
getNodeJavaTypeMethods inherited from interface 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:
resolveTableGroupProducerin 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:
resolveTableGroupProducerin 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: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 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
-
isCompatible
- Specified by:
isCompatiblein interfaceSqmCacheable
-
cacheHashCode
public int cacheHashCode()- Specified by:
cacheHashCodein interfaceSqmCacheable
-