addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameter) - JDO Query's method

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.
sub - the subquery to add to this Query
variableDeclaration - the name of the variable to be used in this Query
candidateCollectionExpression - the candidate collection to apply to the subquery
parameter - the expression from the outer query to bind the parameter in the subquery
JDO 2.1
See Also:
addSubquery(Query sub, String variableDeclaration, String candidateCollectionExpression, String... parameters)

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.