Class ExpressionInImpl<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.ExpressionInImpl<Y>
- All Implemented Interfaces:
Expression<Boolean>
,Predicate
,PredicateFactory.In<Y>
,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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the expression to be tested against the list of values.Return the top-level conjuncts or disjuncts of the predicate.not()
Create a negation of the predicate.void
setExpressionToQuery
(StringBuilder query, CriteriaParameterFiller parameterFiller) Add to list of values to be tested against.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.Predicate
getOperator, isNegated
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
-
ExpressionInImpl
-
-
Method Details
-
getExpression
Description copied from interface:PredicateFactory.In
Return the expression to be tested against the list of values.- Specified by:
getExpression
in interfacePredicateFactory.In<Y>
- Returns:
- expression
-
value
Description copied from interface:PredicateFactory.In
Add to list of values to be tested against.- Specified by:
value
in interfacePredicateFactory.In<Y>
- Parameters:
value
- - value- Returns:
- in predicate
-
not
Description copied from interface:Predicate
Create a negation of the 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
-