Interface JpaCteCriteria<T>

    • Method Detail

      • getName

        String getName()
        The name under which this CTE is registered.
      • getCteDefinition

        JpaSelectCriteria<?> getCteDefinition()
        The definition of the CTE.
      • getCteContainer

        JpaCteContainer getCteContainer()
        The container within this CTE is registered.
      • getMaterialization

        CteMaterialization getMaterialization()
        The materialization hint for the CTE.
      • getSearchClauseKind

        CteSearchClauseKind 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

        List<JpaSearchOrder> getSearchBySpecifications()
        The order by which should be searched.
      • getSearchAttributeName

        String getSearchAttributeName()
        The attribute name by which one can order the final CTE result, to achieve the search order. Note that an implicit JpaCteCriteriaAttribute will be made available for this.
      • getCycleMarkAttributeName

        String getCycleMarkAttributeName()
        The attribute name which is used to mark when a cycle has been detected. Note that an implicit JpaCteCriteriaAttribute will be made available for this.
      • getCyclePathAttributeName

        String getCyclePathAttributeName()
        The attribute name that represents the computation path, which is used for cycle detection. Note that an implicit JpaCteCriteriaAttribute will be made available for this.
      • getCycleValue

        Object getCycleValue()
        The value which is set for the cycle mark attribute when a cycle is detected.
      • getNoCycleValue

        Object getNoCycleValue()
        The default value for the cycle mark attribute when no cycle is detected.
      • cycleUsing

        default <X> void cycleUsing​(String cycleMarkAttributeName,
                                    String cyclePathAttributeName,
                                    X cycleValue,
                                    X noCycleValue,
                                    JpaCteCriteriaAttribute... cycleColumns)