接口 PredicateImplementor
-
- 所有超级接口:
javax.persistence.criteria.Expression<Boolean>,javax.persistence.criteria.Predicate,Renderable,javax.persistence.criteria.Selection<Boolean>,javax.persistence.TupleElement<Boolean>
- 所有已知实现类:
AbstractPredicateImpl,AbstractSimplePredicate,BetweenPredicate,BooleanAssertionPredicate,BooleanExpressionPredicate,BooleanStaticAssertionPredicate,ComparisonPredicate,CompoundPredicate,ExistsPredicate,ExplicitTruthValueCheck,InPredicate,IsEmptyPredicate,LikePredicate,MemberOfPredicate,NegatedPredicateWrapper,NullnessPredicate
public interface PredicateImplementor extends javax.persistence.criteria.Predicate, Renderable
- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 CriteriaBuilderImplcriteriaBuilder()Access to the CriteriaBuilderbooleanisJunction()Is this a conjunction or disjunction?Stringrender(boolean isNegated, RenderingContext renderingContext)Form ofRenderable.render(org.hibernate.query.criteria.internal.compile.RenderingContext)used when the predicate is wrapped in a negated wrapper.-
从接口继承的方法 org.hibernate.query.criteria.internal.Renderable
render
-
-
-
-
方法详细资料
-
criteriaBuilder
CriteriaBuilderImpl criteriaBuilder()
Access to the CriteriaBuilder- 返回:
- The CriteriaBuilder
-
isJunction
boolean isJunction()
Is this a conjunction or disjunction?- 返回:
trueif this predicate is a junction (AND/OR);falseotherwise
-
render
String render(boolean isNegated, RenderingContext renderingContext)
Form ofRenderable.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.
-
-