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, isNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitas, in, in, in, in, isNotNull, isNullprotected 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.Predicatepublic List<javax.persistence.criteria.Expression<Boolean>> getExpressions()
getExpressions in interface javax.persistence.criteria.Predicatepublic javax.persistence.criteria.Predicate.BooleanOperator getOperator()
getOperator in interface javax.persistence.criteria.Predicatepublic boolean isNegated()
isNegated in interface javax.persistence.criteria.Predicatepublic 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 © 2015. All rights reserved.