接口 PredicateImplementor

    • 嵌套类概要

      • 从接口继承的嵌套类/接口 javax.persistence.criteria.Predicate

        javax.persistence.criteria.Predicate.BooleanOperator
    • 方法详细资料

      • criteriaBuilder

        CriteriaBuilderImpl criteriaBuilder()
        Access to the CriteriaBuilder
        返回:
        The CriteriaBuilder
      • isJunction

        boolean isJunction()
        Is this a conjunction or disjunction?
        返回:
        true if this predicate is a junction (AND/OR); false otherwise
      • render

        String render​(boolean isNegated,
                      RenderingContext renderingContext)
        Form of Renderable.render(org.hibernate.query.criteria.internal.compile.RenderingContext) used when the predicate is wrapped in a negated wrapper. Allows passing down the negation flag.

        Note that this form is no-op in compound (junction) predicates. The reason being that compound predicates are more complex and the negation is applied during its creation.

        参数:
        isNegated - Should the predicate be negated.
        renderingContext - The context for rendering
        返回:
        The rendered predicate fragment.