public interface PredicateImplementor extends Predicate, Renderable
Predicate.BooleanOperator
Modifier and Type | Method and Description |
---|---|
CriteriaBuilderImpl |
criteriaBuilder()
Access to the CriteriaBuilder
|
boolean |
isJunction()
Is this a conjunction or disjunction?
|
String |
render(boolean isNegated,
RenderingContext renderingContext)
Form of
Renderable.render(org.hibernate.jpa.criteria.compile.RenderingContext) used when the predicate is wrapped in a negated wrapper. |
getExpressions, getOperator, isNegated, not
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
render, renderProjection
CriteriaBuilderImpl criteriaBuilder()
boolean isJunction()
true
if this predicate is a junction (AND/OR); false
otherwiseString render(boolean isNegated, RenderingContext renderingContext)
Renderable.render(org.hibernate.jpa.criteria.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 renderingCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.