Java javax.persistence.criteria Subquery fields, constructors, methods, implement or subclass

Example usage for Java javax.persistence.criteria Subquery fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.persistence.criteria Subquery.

The text is from its open source code.

Constructor

subquery(Class type)
Create a subquery of the query.

Method

Rootcorrelate(Root parentRoot)
Create a subquery root correlated to a root of the enclosing query.
Joincorrelate(Join parentJoin)
Create a subquery join object correlated to a join object of the enclosing query.
CollectionJoincorrelate(CollectionJoin parentCollection)
Create a subquery collection join object correlated to a collection join object of the enclosing query.
SetJoincorrelate(SetJoin parentSet)
Create a subquery set join object correlated to a set join object of the enclosing query.
ListJoincorrelate(ListJoin parentList)
Create a subquery list join object correlated to a list join object of the enclosing query.
MapJoincorrelate(MapJoin parentMap)
Create a subquery map join object correlated to a map join object of the enclosing query.
Rootfrom(Class entityClass)
Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots.
Subqueryselect(Expression expression)
Specify the item that is to be returned as the subquery result.
Subquerywhere(Expression restriction)
Modify the subquery to restrict the result according to the specified boolean expression.
Subquerywhere(Predicate... restrictions)
Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates.