addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameter) - JDO Query's method
Method javax.jdo.Query
void addSubquery(
Query sub,
String variableDeclaration,
String candidateCollectionExpression,
String parameter
)
Add a subquery to this query. The String version of the method binds the named expression to the parameter implictly or explicitly declared in the subquery.
- Parameters:
-
sub
- the subquery to add to this QueryvariableDeclaration
- the name of the variable to be used in this QuerycandidateCollectionExpression
- the candidate collection to apply to the subqueryparameter
- the expression from the outer query to bind the parameter in the subquery
- Since:
- JDO 2.1