public class PredicateImpl extends ExpressionImpl<Boolean> implements javax.persistence.criteria.Predicate
Modifier and Type | Field and Description |
---|---|
protected List<javax.persistence.criteria.Predicate> |
exprs |
cb
Constructor and Description |
---|
PredicateImpl(CriteriaBuilderImpl cb) |
PredicateImpl(CriteriaBuilderImpl cb,
javax.persistence.criteria.Predicate.BooleanOperator op) |
Modifier and Type | Method and Description |
---|---|
PredicateImpl |
append(javax.persistence.criteria.Predicate pred)
Convenience method to add on the supplied predicate to this one
|
List<javax.persistence.criteria.Expression<Boolean>> |
getExpressions() |
javax.persistence.criteria.Predicate.BooleanOperator |
getOperator() |
org.datanucleus.query.expression.Expression |
getQueryExpression()
Accessor for the underlying DataNucleus query expression for this predicate.
|
boolean |
isNegated() |
javax.persistence.criteria.Predicate |
not() |
String |
toString()
Method to print out the predicate as it would appear in JPQL single-string form.
|
alias, as, getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
as, in, in, in, in, isNotNull, isNull
protected List<javax.persistence.criteria.Predicate> exprs
public PredicateImpl(CriteriaBuilderImpl cb)
public PredicateImpl(CriteriaBuilderImpl cb, javax.persistence.criteria.Predicate.BooleanOperator op)
public javax.persistence.criteria.Predicate not()
not
in interface javax.persistence.criteria.Predicate
public List<javax.persistence.criteria.Expression<Boolean>> getExpressions()
getExpressions
in interface javax.persistence.criteria.Predicate
public javax.persistence.criteria.Predicate.BooleanOperator getOperator()
getOperator
in interface javax.persistence.criteria.Predicate
public boolean isNegated()
isNegated
in interface javax.persistence.criteria.Predicate
public PredicateImpl append(javax.persistence.criteria.Predicate pred)
pred
- The supplied predicate to append to thispublic org.datanucleus.query.expression.Expression getQueryExpression()
getQueryExpression
in class ExpressionImpl<Boolean>
public String toString()
toString
in class ExpressionImpl<Boolean>
Copyright © 2020. All rights reserved.