| Modifier and Type | Field and Description |
|---|---|
| private final SqmCteContainer | |
| private SqmSelectQuery | |
| private final SqmCteTable | |
| private List | |
| private String | |
| private String | |
| private SqmLiteral | |
| private CteMaterialization | |
| private SqmLiteral | |
| private String | |
| private List | |
| private CteSearchClauseKind |
| Access | Constructor and Description |
|---|---|
| public | SqmCteStatement(String name, SqmSelectQuery<T> cteDefinition, SqmCteContainer cteContainer, NodeBuilder nodeBuilder)
|
| public | SqmCteStatement(String name, SqmSelectQuery<T> nonRecursiveQueryPart, boolean unionDistinct, Function<JpaCteCriteria<T>, AbstractQuery<T>> finalCriteriaProducer, SqmCteContainer cteContainer, NodeBuilder nodeBuilder)
|
| private | SqmCteStatement(NodeBuilder builder, SqmCteContainer cteContainer, SqmCteTable<T> cteTable, SqmSelectQuery<?> cteDefinition, CteMaterialization materialization, CteSearchClauseKind searchClauseKind, List<JpaSearchOrder> searchBySpecifications, String searchAttributeName, List<JpaCteCriteriaAttribute> cycleAttributes, String cycleMarkAttributeName, String cyclePathAttributeName, SqmLiteral<Object> cycleValue, SqmLiteral<Object> noCycleValue)
|
| cteContainer | back to summary |
|---|---|
| private final SqmCteContainer cteContainer | |
| cteDefinition | back to summary |
|---|---|
| private SqmSelectQuery<?> cteDefinition | |
| cteTable | back to summary |
|---|---|
| private final SqmCteTable<T> cteTable | |
| cycleAttributes | back to summary |
|---|---|
| private List<JpaCteCriteriaAttribute> cycleAttributes | |
| cycleMarkAttributeName | back to summary |
|---|---|
| private String cycleMarkAttributeName | |
| cyclePathAttributeName | back to summary |
|---|---|
| private String cyclePathAttributeName | |
| cycleValue | back to summary |
|---|---|
| private SqmLiteral<Object> cycleValue | |
| materialization | back to summary |
|---|---|
| private CteMaterialization materialization | |
| noCycleValue | back to summary |
|---|---|
| private SqmLiteral<Object> noCycleValue | |
| searchAttributeName | back to summary |
|---|---|
| private String searchAttributeName | |
| searchBySpecifications | back to summary |
|---|---|
| private List<JpaSearchOrder> searchBySpecifications | |
| searchClauseKind | back to summary |
|---|---|
| private CteSearchClauseKind searchClauseKind | |
| SqmCteStatement | back to summary |
|---|---|
| public SqmCteStatement(String name, SqmSelectQuery<T> cteDefinition, SqmCteContainer cteContainer, NodeBuilder nodeBuilder) | |
| SqmCteStatement | back to summary |
|---|---|
| public SqmCteStatement(String name, SqmSelectQuery<T> nonRecursiveQueryPart, boolean unionDistinct, Function<JpaCteCriteria<T>, AbstractQuery<T>> finalCriteriaProducer, SqmCteContainer cteContainer, NodeBuilder nodeBuilder) | |
| SqmCteStatement | back to summary |
|---|---|
| private SqmCteStatement(NodeBuilder builder, SqmCteContainer cteContainer, SqmCteTable<T> cteTable, SqmSelectQuery<?> cteDefinition, CteMaterialization materialization, CteSearchClauseKind searchClauseKind, List<JpaSearchOrder> searchBySpecifications, String searchAttributeName, List<JpaCteCriteriaAttribute> cycleAttributes, String cycleMarkAttributeName, String cyclePathAttributeName, SqmLiteral<Object> cycleValue, SqmLiteral<Object> noCycleValue) | |
| accept | back to summary |
|---|---|
| public <X> X accept(SemanticQueryWalker<X> walker) Implements org. Doc from org. Accept the walker per visitation
| |
| appendHqlString | back to summary |
|---|---|
| public void appendHqlString(StringBuilder sb) Implements org.
| |
| copy | back to summary |
|---|---|
| public SqmCteStatement Implements org.
| |
| cycleUsing | back to summary |
|---|---|
| public <X> void cycleUsing(String cycleMarkAttributeName, String cyclePathAttributeName, X cycleValue, X noCycleValue, List<JpaCteCriteriaAttribute> cycleAttributes) Implements org.
| |
| getCteContainer | back to summary |
|---|---|
| public SqmCteContainer getCteContainer() Implements org. Doc from org. The container within this CTE is registered.
| |
| getCteDefinition | back to summary |
|---|---|
| public SqmSelectQuery Implements org. Doc from org. The definition of the CTE.
| |
| getCteTable | back to summary |
|---|---|
| public SqmCteTable | |
| getCycleAttributes | back to summary |
|---|---|
| public List Implements org. Doc from org. The attributes to use for cycle detection.
| |
| getCycleLiteral | back to summary |
|---|---|
| public SqmLiteral | |
| getCycleMarkAttributeName | back to summary |
|---|---|
| public String getCycleMarkAttributeName() Implements org. Doc from org. The attribute name which is used to mark when a cycle has been detected.
Note that an implicit
| |
| getCyclePathAttributeName | back to summary |
|---|---|
| public String getCyclePathAttributeName() Implements org. Doc from org. The attribute name that represents the computation path, which is used for cycle detection.
Note that an implicit
| |
| getCycleValue | back to summary |
|---|---|
| public Object getCycleValue() Implements org. Doc from org. The value which is set for the cycle mark attribute when a cycle is detected.
| |
| getMaterialization | back to summary |
|---|---|
| public CteMaterialization getMaterialization() Implements org. Doc from org. The materialization hint for the CTE.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. The name under which this CTE is registered.
| |
| getNoCycleLiteral | back to summary |
|---|---|
| public SqmLiteral | |
| getNoCycleValue | back to summary |
|---|---|
| public Object getNoCycleValue() Implements org. Doc from org. The default value for the cycle mark attribute when no cycle is detected.
| |
| getSearchAttributeName | back to summary |
|---|---|
| public String getSearchAttributeName() Implements org. Doc from org. The attribute name by which one can order the final CTE result, to achieve the search order.
Note that an implicit
| |
| getSearchBySpecifications | back to summary |
|---|---|
| public List Implements org. Doc from org. The order by which should be searched.
| |
| getSearchClauseKind | back to summary |
|---|---|
| public CteSearchClauseKind getSearchClauseKind() Implements org. Doc from org. The kind of search (breadth-first or depth-first) that should be done for a recursive query. May be null if unspecified or if this is not a recursive query.
| |
| getType | back to summary |
|---|---|
| public JpaCteCriteriaType Implements org. Doc from org. The type of the CTE.
| |
| search | back to summary |
|---|---|
| public void search(CteSearchClauseKind kind, String searchAttributeName, List<JpaSearchOrder> searchOrders) Implements org.
| |
| setMaterialization | back to summary |
|---|---|
| public void setMaterialization(CteMaterialization materialization) Implements org.
| |