ObjectDB Database Search
1-50 of 148 resultsjakarta.persistence.criteria.Predicate Jakarta Persistence (JPA) Interface jakarta.persistence.criteria. Predicate Super Interfaces: Expression , Selection , TupleElement The type of a simple or compound predicate : a conjunction or disjunction of restrictions. A simple predicate is considered to be a conjunction with a single conjunct | |
jakarta.persistence.criteria.Predicate.BooleanOperator Jakarta Persistence (JPA) Enum in jakarta.persistence.criteria. Predicate jakarta.persistence.criteria. Predicate .BooleanOperator java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.criteria. Predicate .BooleanOperator Implemented Interfaces: Constable , Comparable , Serializable Since: Jakarta | |
Logical Operators in JPQL and Criteria API part of its JDO support. Criteria Query Logical Operators Boolean Expressions and Predicates Boolean ... . get ("isInUN"); Path isInEU = country. get ("isInEU"); Path isInOECD = country. get ("isInOECD"); Predicate ... whose type is boolean - such as comparison operators: Predicate isLarge = cb. gt (country. get ("area | |
jakarta.persistence.criteria.Predicate.isNegated() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Predicate boolean isNegated() Whether the predicate has been created from another predicate by applying Predicate .not or by calling CriteriaBuilder.not . Returns: boolean indicating if the predicate is a negated predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.or(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate or ( Predicate ... restrictions ) Create a disjunction of the given restriction predicates . A disjunction of zero predicates is false. Parameters: restrictions - zero or more restriction | |
jakarta.persistence.criteria.CriteriaBuilder.and(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate and ( Predicate ... restrictions ) Create a conjunction of the given restriction predicates . A conjunction of zero predicates is true. Parameters: restrictions - zero or more restriction | |
jakarta.persistence.criteria.Predicate.getOperator() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Predicate BooleanOperator getOperator() Return the boolean operator for the predicate . If the predicate is simple, this is AND . Returns: boolean operator for the predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Predicate.getExpressions() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Predicate List getExpressions() 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 . Modifications to the list do not affect the query | |
jakarta.persistence.criteria.Predicate.not() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Predicate Predicate not() Create a negation of the predicate . Returns: negated predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.AbstractQuery.having(Predicate...) having ( Predicate ... restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates . Replaces the previously having added ... are simply removed. Parameters: restrictions - zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Subquery.where(Predicate...); Predicate ... restrictions ) Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates . Replaces the previously added restriction(s), if any ... - zero or more restriction predicates Returns: the modified subquery. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.AbstractQuery.where(Predicate...) where ( Predicate ... restrictions ) Modify the query to restrict the query results according to the conjunction of the specified restriction predicates . Replaces the previously added ... removed. Parameters: restrictions - zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Subquery.having(Predicate...); Predicate ... restrictions ) Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates . Replaces the previously added having ... : restrictions - zero or more restriction predicates Returns: the modified subquery. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaQuery.having(Predicate...) having ( Predicate ... restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates . Replaces the previously added having ... . Parameters: restrictions - zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaUpdate.where(Predicate...) where ( Predicate ... restrictions ) Modify the update query to restrict the target of the update according to the conjunction of the specified restriction predicates . Replaces the previously ... are simply removed. Parameters: restrictions - zero or more restriction predicates Returns | |
jakarta.persistence.criteria.CriteriaDelete.where(Predicate...) where ( Predicate ... restrictions ) Modify the DELETE query to restrict the target of the deletion according to the conjunction of the specified restriction predicates . Replaces ... are simply removed. Parameters: restrictions - zero or more restriction predicates Returns | |
jakarta.persistence.criteria.CriteriaQuery.where(Predicate...) where ( Predicate ... restrictions ) Modify the query to restrict the query result according to the conjunction of the specified restriction predicates . Replaces the previously added ... : restrictions - zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CollectionJoin.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CollectionJoin CollectionJoin on ( Predicate ... restrictions ) Modify the join to restrict the result according ... . Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.SetJoin.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.SetJoin SetJoin on ( Predicate ... restrictions ) Modify the join to restrict the result according to the specified ... : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.Join.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Join on ( Predicate ... restrictions ) Modify the join to restrict the result according to the specified ... - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.MapJoin.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin MapJoin on ( Predicate ... restrictions ) Modify the join to restrict the result according to the specified ... : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.ListJoin.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.ListJoin ListJoin on ( Predicate ... restrictions ) Modify the join to restrict the result according to the specified ... : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.Predicate.BooleanOperator.OR Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.criteria. Predicate .BooleanOperator OR Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Predicate.BooleanOperator.BooleanOperator() Jakarta Persistence (JPA) Constructor in jakarta.persistence.criteria. Predicate .BooleanOperator BooleanOperator() Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Predicate.BooleanOperator.AND Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.criteria. Predicate .BooleanOperator AND Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder criteria queries, compound selections, expressions, predicates , orderings. Note that Predicate ... . Since: Jakarta Persistence (JPA) 1.0 Predicate and ( Expression x , Expression y ) Create a conjunction ... : and predicate . Since: Jakarta Persistence (JPA) 1.0 Predicate and ( Predicate ... restrictions | |
Collections in JPQL and Criteria Queries"); Expression param = cb. parameter (String.class); // collection IS [NOT] EMPTY Predicate e1 = cb. isEmpty (languages); Predicate e2 = cb. isNotEmpty (languages); // element [NOT] MEMBER OF collection Predicate m1 = cb. isMember (param, languages); Predicate m2 = cb. isMember ("English", languages | |
Comparison in JPQL and Criteria API = :min AND x ) Predicate gt1 = cb. greaterThan (name, nameParam); Predicate gt2 = cb. greaterThan (name, "India"); Predicate gt3 = cb. gt (area, areaParam); Predicate gt4 = cb. gt (area, 1000000); // Greater Than or Equal (=) Predicate ge1 = cb | |
WHERE clause (JPQL / Criteria API) the WHERE predicate , defines which objects to accept. Only Country objects for which the predicate expression evaluates to TRUE are passed to the SELECT clause and then collected as query results. WHERE Predicate ... that index to iterate directly on Country objects that satisfy the WHERE predicate . For entity classes | |
jakarta.persistence.criteria.CriteriaBuilder.In.persistence.criteria.CriteriaBuilder.In Super Interfaces: Predicate , Expression , Selection , TupleElement Interface used to build in predicates . Since: Jakarta Persistence (JPA) 1.0 Public Instance ... type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate | |
Strings in JPQL and Criteria Queries Predicate l1 = cb. like (path, param); Predicate l2 = cb. like (path, "a%"); Predicate l3 = cb. notLike (path, param); Predicate l4 = cb. notLike (path, "a%"); // additional methods take also an escape | |
jakarta.persistence.criteria.Subquery whether they must be retained Returns: the modified subquery.. Since: Jakarta Persistence (JPA) 1.0 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing | |
jakarta.persistence.criteria.PluralJoin Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal | |
jakarta.persistence.criteria.MapJoin Persistence (JPA) 1.0 Predicate equalTo ( Expression value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument | |
jakarta.persistence.criteria.SetJoin Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument | |
jakarta.persistence.criteria.CollectionJoin basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta | |
jakarta.persistence.criteria.ListJoin Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal | |
jakarta.persistence.criteria.Join of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality | |
jakarta.persistence.criteria.Path expression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing | |
jakarta.persistence.criteria.ParameterExpression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality | |
jakarta.persistence.criteria.Root of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality | |
jakarta.persistence.criteria.CriteriaBuilder.Case Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument | |
jakarta.persistence.criteria.Expression (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal | |
jakarta.persistence.criteria.From) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument. Inherited | |
jakarta.persistence.criteria.AbstractQuery: the list of grouping expressions. Since: Jakarta Persistence (JPA) 1.0 Predicate getGroupRestriction () Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified. Returns: having clause predicate . Since: Jakarta Persistence | |
jakarta.persistence.criteria.CriteriaQuery AbstractQuery Returns: the list of grouping expressions. Since: Jakarta Persistence (JPA) 1.0 Predicate getGroupRestriction () Return the predicate that corresponds to the restriction(s) over the grouping items ... predicate . Since: Jakarta Persistence (JPA) 1.0 List getOrderList () Return the ordering | |
Paths and Types in JPQL and Criteria API; Country . Predicate p = cb. notEqual (e. type (), cb. literal (Country.class)); In the above example | |
GROUP BY and HAVING clauses; Expression argument and the other having form takes a variable number of Predicate arguments |