Interface JpaCteCriteria<T>
- All Superinterfaces:
JpaCriteriaNode, Serializable
- All Known Implementing Classes:
SqmCteStatement
A CTE (common table expression) criteria.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcycle(String cycleMarkAttributeName, List<JpaCteCriteriaAttribute> cycleColumns) Define the CTE cycle clause.default voidcycle(String cycleMarkAttributeName, JpaCteCriteriaAttribute... cycleColumns) Define the CTE cycle clause.default <X> voidcycle(String cycleMarkAttributeName, X cycleValue, X noCycleValue, List<JpaCteCriteriaAttribute> cycleColumns) Define the CTE cycle clause.default <X> voidcycle(String cycleMarkAttributeName, X cycleValue, X noCycleValue, JpaCteCriteriaAttribute... cycleColumns) Define the CTE cycle clause.default voidcycleUsing(String cycleMarkAttributeName, String cyclePathAttributeName, List<JpaCteCriteriaAttribute> cycleColumns) Define the CTE cycle clause with an explicit path attribute.default voidcycleUsing(String cycleMarkAttributeName, String cyclePathAttributeName, JpaCteCriteriaAttribute... cycleColumns) Define the CTE cycle clause with an explicit path attribute.<X> voidcycleUsing(String cycleMarkAttributeName, String cyclePathAttributeName, X cycleValue, X noCycleValue, List<JpaCteCriteriaAttribute> cycleColumns) Define the CTE cycle clause with an explicit path attribute.default <X> voidcycleUsing(String cycleMarkAttributeName, String cyclePathAttributeName, X cycleValue, X noCycleValue, JpaCteCriteriaAttribute... cycleColumns) Define the CTE cycle clause with an explicit path attribute.The container within this CTE is registered.The definition of the CTE.The attributes to use for cycle detection.The attribute name which is used to mark when a cycle has been detected.The attribute name that represents the computation path, which is used for cycle detection.The value which is set for the cycle mark attribute when a cycle is detected.The materialization hint for the CTE.getName()The name under which this CTE is registered.The default value for the cycle mark attribute when no cycle is detected.The attribute name by which one can order the final CTE result, to achieve the search order.The order by which should be searched.The kind of search (breadth-first or depth-first) that should be done for a recursive query.getType()The type of the CTE.voidsearch(CteSearchClauseKind kind, String searchAttributeName, List<JpaSearchOrder> searchOrders) Define the CTE search clause.default voidsearch(CteSearchClauseKind kind, String searchAttributeName, JpaSearchOrder... searchOrders) Define the CTE search clause.voidsetMaterialization(CteMaterialization materialization) Set the CTE materialization hint.
-
Method Details
-
getName
-
getType
The type of the CTE. -
getCteDefinition
The definition of the CTE. -
getCteContainer
The container within this CTE is registered. -
getMaterialization
The materialization hint for the CTE. -
setMaterialization
Set the CTE materialization hint. -
getSearchClauseKind
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. -
getSearchBySpecifications
The order by which should be searched. -
getSearchAttributeName
The attribute name by which one can order the final CTE result, to achieve the search order. Note that an implicitJpaCteCriteriaAttributewill be made available for this. -
search
default void search(@Nullable CteSearchClauseKind kind, @Nullable String searchAttributeName, @Nonnull JpaSearchOrder... searchOrders) Define the CTE search clause. -
search
void search(@Nullable CteSearchClauseKind kind, @Nullable String searchAttributeName, @Nullable List<JpaSearchOrder> searchOrders) Define the CTE search clause. -
getCycleAttributes
The attributes to use for cycle detection. -
getCycleMarkAttributeName
The attribute name which is used to mark when a cycle has been detected. Note that an implicitJpaCteCriteriaAttributewill be made available for this. -
getCyclePathAttributeName
The attribute name that represents the computation path, which is used for cycle detection. Note that an implicitJpaCteCriteriaAttributewill be made available for this. -
getCycleValue
-
getNoCycleValue
-
cycle
default void cycle(@Nullable String cycleMarkAttributeName, @Nonnull JpaCteCriteriaAttribute... cycleColumns) Define the CTE cycle clause. -
cycle
default void cycle(@Nullable String cycleMarkAttributeName, @Nullable List<JpaCteCriteriaAttribute> cycleColumns) Define the CTE cycle clause. -
cycleUsing
-
cycleUsing
-
cycle
-
cycle
-
cycleUsing
-
cycleUsing
-