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
booleanOperatorFields inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression
cb, negatedFields 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.voidsetExpressionToQuery(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, negateOperatorMethods inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression
in, in, isNegated, negateMethods inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImpl
getAlias, getCompoundedSelectionItems, getJavaType, isCompoundedSelectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Expression
in, inMethods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Predicate
getOperator, isNegatedMethods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Selection
getCompoundedSelectionItems, isCompoundedSelectionMethods inherited from interface cz.cvut.kbss.jopa.model.query.TupleElement
getAlias, getJavaType
-
Constructor Details
-
ExpressionInImpl
-
-
Method Details
-
getExpression
Description copied from interface:PredicateFactory.InReturn the expression to be tested against the list of values.- Specified by:
getExpressionin interfacePredicateFactory.In<Y>- Returns:
- expression
-
value
Description copied from interface:PredicateFactory.InAdd to list of values to be tested against.- Specified by:
valuein interfacePredicateFactory.In<Y>- Parameters:
value- - value- Returns:
- in predicate
-
not
Description copied from interface:PredicateCreate a negation of the predicate. -
getExpressions
Description copied from interface:PredicateReturn 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:
getExpressionsin interfacePredicate- Specified by:
getExpressionsin classAbstractPredicate- Returns:
- list of boolean expressions forming the predicate
-
setExpressionToQuery
- Specified by:
setExpressionToQueryin classAbstractPredicate
-