Top Description Fields Constructors Methods
org.hibernate.query.derived

public Class CteTupleTableGroupProducer

extends AnonymousTupleTableGroupProducer
Class Inheritance
Annotations
@Incubating
Imports
java.util.ArrayList, .List, org.hibernate.Incubating, org.hibernate.metamodel.mapping.EntityMappingType, .MappingType, .ModelPart, org.hibernate.query.sqm.tree.cte.SqmCteStatement, .SqmCteTable, org.hibernate.sql.ast.spi.FromClauseAccess, .SqlSelection, org.hibernate.sql.ast.tree.cte.CteColumn, org.hibernate.type.BasicType

The table group producer for a CTE tuple type. Exposes additional access to some special model parts for recursive CTE attributes.
Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final AnonymousTupleBasicValuedModelPart
private final AnonymousTupleBasicValuedModelPart
private final AnonymousTupleBasicValuedModelPart

Constructor Summary

AccessConstructor and Description
public
CteTupleTableGroupProducer(SqmCteTable<?> sqmCteTable, String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess)

Method Summary

Modifier and TypeMethod and Description
private static AnonymousTupleBasicValuedModelPart
createModelPart(MappingType declaringType, String attributeName, BasicType<?> basicType)

public List<CteColumn>
public ModelPart
Inherited from org.hibernate.query.derived.AnonymousTupleTableGroupProducer:
addToCacheKeyapplySqlSelectionsapplySqlSelectionsbreakDownJdbcValuescreateDomainResultcreateModelPartdisassemblefindContainingEntityMappingforEachDisassembledJdbcValueforEachJdbcTypeforEachSelectableforEachSubPartgetCompatibleTableExpressionsgetJavaTypegetJdbcMappinggetMappedJavaTypegetModelPartsgetNavigableRolegetPartMappingTypegetPartNamegetSqlAliasStemhasPartitionedSelectionMappingvisitSubParts

Field Detail

cycleMarkModelPartback to summary
private final AnonymousTupleBasicValuedModelPart cycleMarkModelPart
cyclePathModelPartback to summary
private final AnonymousTupleBasicValuedModelPart cyclePathModelPart
searchModelPartback to summary
private final AnonymousTupleBasicValuedModelPart searchModelPart

Constructor Detail

CteTupleTableGroupProducerback to summary
public CteTupleTableGroupProducer(SqmCteTable<?> sqmCteTable, String aliasStem, List<SqlSelection> sqlSelections, FromClauseAccess fromClauseAccess)

Method Detail

createModelPartback to summary
private static AnonymousTupleBasicValuedModelPart createModelPart(MappingType declaringType, String attributeName, BasicType<?> basicType)
determineCteColumnsback to summary
public List<CteColumn> determineCteColumns()
findSubPartback to summary
public ModelPart findSubPart(String name, EntityMappingType treatTargetType)

Overrides org.hibernate.query.derived.AnonymousTupleTableGroupProducer.findSubPart.

Implements org.hibernate.metamodel.mapping.ModelPartContainer.findSubPart.

Annotations
@Override