ObjectDB Database Search
101-150 of 200 resultsjakarta.persistence.criteria.AbstractQuery.getRoots() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery Set getRoots() Return the query roots. These are the roots that are defined for the CriteriaQuery or Subquery itself, including any subquery roots defined as a result of correlation. Returns an empty set if no roots | |
jakarta.persistence.criteria.AbstractQuery.getSelection() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery Selection getSelection() Return the selection of the query, or null if no selection has been set. Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.AbstractQuery.getGroupList() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery List getGroupList() Return a list of the grouping expressions. Returns empty list if no grouping expressions have been specified. Modifications to the list do not affect the query. Returns: the list of grouping expressions. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CommonAbstractCriteria.getRestriction() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CommonAbstractCriteria Predicate getRestriction() Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified. Returns: where clause predicate. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CommonAbstractCriteria.getParameters() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CommonAbstractCriteria Set getParameters() Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Returns: the query parameters. 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 to the specified ON condition and return the join object. Replaces the previous ON condition, if any | |
jakarta.persistence.criteria.CollectionJoin.getModel() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CollectionJoin CollectionAttribute getModel() Return the metamodel representation for the collection attribute. Returns: metamodel type representing the Collection that is the target of the join. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CommonAbstractCriteria.subquery(Class) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CommonAbstractCriteria Subquery subquery ( Class type ) Create a subquery of the query. Parameters: type - the subquery result type Returns: subquery. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CommonAbstractCriteria.subquery(EntityType) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CommonAbstractCriteria Subquery subquery ( EntityType type ) Create a subquery of the query. Parameters: type - the subquery result type Returns: subquery. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.tuple(Selection...) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder CompoundSelection tuple ( Selection ... selections ) Create a tuple-valued selection item. Parameters: selections - selection items Returns: tuple-valued compound selection. Throws | |
jakarta.persistence.criteria.CriteriaBuilder.tuple(List) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder CompoundSelection tuple ( List selections ) Create a tuple-valued selection item. Parameters: selections - list of selection items Returns: tuple-valued compound selection. Throws | |
jakarta.persistence.criteria.CriteriaBuilder.array(Selection...) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder CompoundSelection array ( Selection ... selections ) Create an array-valued selection item. Parameters: selections - selection items Returns: array-valued compound selection. Throws | |
jakarta.persistence.criteria.CriteriaBuilder.array(List) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder CompoundSelection array ( List selections ) Create an array-valued selection item. Parameters: selections - list of selection items Returns: array-valued compound selection. Throws | |
jakarta.persistence.criteria.CriteriaBuilder.createCriteriaUpdate(Class) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder CriteriaUpdate createCriteriaUpdate ( Class targetEntity ) Create a CriteriaUpdate query object to perform a bulk update operation. Parameters: targetEntity - target type for update operation Returns: the query object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.CriteriaBuilder.createCriteriaDelete(Class) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder CriteriaDelete createCriteriaDelete ( Class targetEntity ) Create a CriteriaDelete query object to perform a bulk delete operation. Parameters: targetEntity - target type for delete operation Returns: the query object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.CriteriaBuilder.construct(Class,Selection...) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder CompoundSelection construct ( Class resultClass , Selection ... selections ) Create a selection item corresponding to a constructor. This method is used to specify a constructor | |
jakarta.persistence.criteria.CriteriaBuilder.avg(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder Expression avg ( Expression x ) Create an aggregate expression applying the avg operation. Parameters: x - expression representing input value to avg operation Returns: avg expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.sum(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder Expression sum ( Expression x ) Create an aggregate expression applying the sum operation. Parameters: x - expression representing input value to sum operation Returns: sum expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.sumAsLong(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder Expression sumAsLong ( Expression x ) Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result. Parameters: x - expression representing input | |
jakarta.persistence.criteria.CriteriaBuilder.sumAsDouble(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder Expression sumAsDouble ( Expression x ) Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result. Parameters: x - expression representing input | |
jakarta.persistence.criteria.CriteriaBuilder.asc(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder Order asc ( Expression expression ) Create an ordering by the ascending value of the expression. Parameters: expression - expression used to define the ordering Returns: ascending ordering corresponding to the expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.desc(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder Order desc ( Expression expression ) Create an ordering by the descending value of the expression. Parameters: expression - expression used to define the ordering Returns: descending ordering | |
jakarta.persistence.criteria.CriteriaBuilder.asc(Expression,Nulls) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder Order asc ( Expression expression , Nulls nullPrecedence ) Create an ordering by the ascending value of the expression. Parameters: expression - expression used to define the ordering | |
jakarta.persistence.criteria.CriteriaBuilder.desc(Expression,Nulls) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .CriteriaBuilder Order desc ( Expression expression , Nulls nullPrecedence ) Create an ordering by the descending value of the expression. Parameters: expression - expression used to define the ordering | |
jakarta.persistence.criteria.AbstractQuery.from(Class) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery Root from ( Class entityClass ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots. Parameters: entityClass - the entity class Returns: query | |
jakarta.persistence.criteria.AbstractQuery.from(EntityType) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery Root from ( EntityType entity ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots. Parameters: entity - metamodel entity representing | |
jakarta.persistence.criteria.Root.getModel() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Root EntityType getModel() Return the metamodel entity corresponding to the root. Returns: metamodel entity corresponding to the root. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Selection.alias(String) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Selection Selection alias ( String name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Selection.isCompoundSelection() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Selection boolean isCompoundSelection() Whether the selection item is a compound selection. Returns: boolean indicating whether the selection is a compound selection. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Selection.getCompoundSelectionItems() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Selection List getCompoundSelectionItems() Return the selection items composing a compound selection. Modifications to the list do not affect the query. Returns: list of selection items. Throws: IllegalStateException - if selection | |
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.AbstractQuery.groupBy(List) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery AbstractQuery groupBy ( List grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions | |
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.AbstractQuery.having(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery AbstractQuery having ( Expression restriction ) Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any. Parameters: restriction - a simple or compound | |
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.AbstractQuery.having(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery AbstractQuery having ( Predicate... restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously having added | |
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(List) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery AbstractQuery having ( List restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously added having | |
jakarta.persistence.criteria.Subquery.where(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Subquery Subquery where ( Expression restriction ) Modify the subquery to restrict the result according to the specified boolean expression. Replaces the previously added restriction(s), if any. This method | |
jakarta.persistence.criteria.AbstractQuery.where(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery AbstractQuery where ( Expression restriction ) Modify the query to restrict the query results according to the specified boolean expression. Replaces the previously added restriction(s), if any. Parameters | |
jakarta.persistence.criteria.Subquery.where(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Subquery Subquery where ( 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 | |
jakarta.persistence.criteria.AbstractQuery.where(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery AbstractQuery where ( Predicate... restrictions ) Modify the query to restrict the query results according to the conjunction of the specified restriction predicates. Replaces the previously added | |
jakarta.persistence.criteria.Subquery.where(List) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Subquery Subquery where ( List restrictions ) Modify the query to restrict the query result according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any | |
jakarta.persistence.criteria.AbstractQuery.where(List) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery AbstractQuery where ( List restrictions ) Modify the query to restrict the query result according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s | |
jakarta.persistence.criteria.Subquery.groupBy(Expression...) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Subquery Subquery groupBy ( Expression ... grouping ) Specify the expressions that are used to form groups over the subquery results. Replaces the previous specified grouping expressions, if any. If no grouping | |
jakarta.persistence.criteria.AbstractQuery.groupBy(Expression...) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .AbstractQuery AbstractQuery groupBy ( Expression ... grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping | |
jakarta.persistence.criteria.SetJoin.on(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .SetJoin SetJoin on ( Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction | |
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 ON condition and return the join object. Replaces the previous ON condition, if any. Parameters | |
jakarta.persistence.criteria.SetJoin.getModel() Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .SetJoin SetAttribute getModel() Return the metamodel representation for the set attribute. Returns: metamodel type representing the Set that is the target of the join. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Subquery.select(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Subquery Subquery select ( Expression expression ) Specify the item that is to be returned as the subquery result. Replaces the previously specified selection, if any. Parameters: expression - expression specifying |