Package org.hibernate.sql.ast.tree.cte
Class CteTable
- java.lang.Object
-
- org.hibernate.sql.ast.tree.cte.CteTable
-
public class CteTable extends Object
Describes the table definition for the CTE - its name amd its columns
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CteTable
createEntityTable(String cteName, EntityMappingType entityDescriptor)
static CteTable
createIdTable(String cteName, EntityMappingType entityDescriptor)
static int
determineModelPartStartIndex(EntityPersister entityDescriptor, ModelPart modelPart)
static void
forEachCteColumn(String prefix, ModelPart modelPart, Consumer<CteColumn> consumer)
List<CteColumn>
getCteColumns()
String
getTableExpression()
AnonymousTupleTableGroupProducer
getTableGroupProducer()
CteTable
withName(String name)
-
-
-
Constructor Detail
-
CteTable
public CteTable(String cteName, CteTupleTableGroupProducer tableGroupProducer)
-
-
Method Detail
-
getTableExpression
public String getTableExpression()
-
getTableGroupProducer
public AnonymousTupleTableGroupProducer getTableGroupProducer()
-
createIdTable
public static CteTable createIdTable(String cteName, EntityMappingType entityDescriptor)
-
createEntityTable
public static CteTable createEntityTable(String cteName, EntityMappingType entityDescriptor)
-
forEachCteColumn
public static void forEachCteColumn(String prefix, ModelPart modelPart, Consumer<CteColumn> consumer)
-
determineModelPartStartIndex
public static int determineModelPartStartIndex(EntityPersister entityDescriptor, ModelPart modelPart)
-
-