Class IsMemberExpression<Y>
java.lang.Object
cz.cvut.kbss.jopa.query.criteria.SelectionImpl<Y>
cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression<Boolean>
cz.cvut.kbss.jopa.query.criteria.AbstractPredicate
cz.cvut.kbss.jopa.query.criteria.expressions.IsMemberExpression<Y>
- All Implemented Interfaces:
Expression<Boolean>
,Predicate
,Selection<Boolean>
,TupleElement<Boolean>
-
Nested Class Summary
Nested classes/interfaces inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Predicate
Predicate.BooleanOperator
-
Field Summary
Fields inherited from class cz.cvut.kbss.jopa.query.criteria.AbstractPredicate
booleanOperator
Fields inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression
cb, negated
Fields inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImpl
type
-
Constructor Summary
ConstructorsConstructorDescriptionIsMemberExpression
(Y value, Expression<? extends Collection<Y>> collectionExpression, CriteriaBuilder cb) -
Method Summary
Modifier and TypeMethodDescriptionReturn the top-level conjuncts or disjuncts of the predicate.not()
Create a negation of the predicate.void
setExpressionToQuery
(StringBuilder query, CriteriaParameterFiller parameterFiller) Methods inherited from class cz.cvut.kbss.jopa.query.criteria.AbstractPredicate
getOperator, negateOperator
Methods inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression
in, in, isNegated, negate
Methods inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImpl
getAlias, getCompoundedSelectionItems, getJavaType, isCompoundedSelection
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Expression
in, in
Methods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Selection
getCompoundedSelectionItems, isCompoundedSelection
Methods inherited from interface cz.cvut.kbss.jopa.model.query.TupleElement
getAlias, getJavaType
-
Constructor Details
-
IsMemberExpression
public IsMemberExpression(Y value, Expression<? extends Collection<Y>> collectionExpression, CriteriaBuilder cb)
-
-
Method Details
-
not
Description copied from interface:Predicate
Create a negation of the predicate.- Returns:
- negated predicate
-
getExpressions
Description copied from interface:Predicate
Return the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level conjuncts or disjuncts of the predicate.- Specified by:
getExpressions
in interfacePredicate
- Specified by:
getExpressions
in classAbstractPredicate
- Returns:
- list of boolean expressions forming the predicate
-
setExpressionToQuery
- Specified by:
setExpressionToQuery
in classAbstractPredicate
-