## Uses of Class
org.modeshape.jcr.query.model.Subquery

- Packages that use Subquery
  Package | Description
  --- | ---
  org.modeshape.jcr.query | The Query API provides a mechanism for building and executing queries.
  org.modeshape.jcr.query.model | The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
  org.modeshape.jcr.query.parse | This package defines the `QueryParser` interface, which defines a component that can parse a query represented in a specific language and produce the corresponding `abstract query model` representation.
  org.modeshape.jcr.query.plan | This package defines the `Planner` interface, the `CanonicalPlanner` implementation, and the `PlanNode` class that is used to represent a canonical query plan.
  org.modeshape.jcr.query.validate | This package provides the interfaces that define the tables and columns that can be queried.

- - ### Uses of Subquery in org.modeshape.jcr.query

    Methods in org.modeshape.jcr.query with parameters of type Subquery
    Modifier and Type | Method and Description
    --- | ---
    `QueryBuilder.ConstraintBuilder` | QueryBuilder.ComparisonBuilder.`is(Operator operator, Subquery subquery)` Define the right-hand-side of the constraint using the supplied operator.
    `QueryBuilder.ConstraintBuilder` | QueryBuilder.ComparisonBuilder.`isInSubquery(Subquery subquery)`
    `QueryBuilder.ConstraintBuilder` | QueryBuilder.UpperBoundary.`subquery(Subquery subquery)` Define the upper boundary value of a range.
    `QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary>` | QueryBuilder.LowerBoundary.`subquery(Subquery subquery)` Define the lower boundary value of a range.

  - ### Uses of Subquery in org.modeshape.jcr.query.model

    Methods in org.modeshape.jcr.query.model that return Subquery
    Modifier and Type | Method and Description
    --- | ---
    `Subquery` | QueryObjectModelFactory.`subquery(QueryCommand subqueryCommand)`

    Methods in org.modeshape.jcr.query.model that return types with arguments of type Subquery
    Modifier and Type | Method and Description
    --- | ---
    `static Collection<Subquery>` | Visitors.`subqueries(Visitable visitable, boolean includeNestedSubqueries)` Using a visitor, obtain the `Subquery` objects that are contained within the supplied `object`.

    Methods in org.modeshape.jcr.query.model with parameters of type Subquery
    Modifier and Type | Method and Description
    --- | ---
    `void` | Visitors.AbstractVisitor.`visit(Subquery obj)`
    `void` | Visitors.WalkAllVisitor.`visit(Subquery subquery)`
    `void` | Visitors.ReadableVisitor.`visit(Subquery subquery)`
    `void` | Visitor.`visit(Subquery obj)`

  - ### Uses of Subquery in org.modeshape.jcr.query.parse

    Methods in org.modeshape.jcr.query.parse that return Subquery
    Modifier and Type | Method and Description
    --- | ---
    `protected Subquery` | BasicSqlQueryParser.`subquery(QueryCommand queryCommand)`

  - ### Uses of Subquery in org.modeshape.jcr.query.plan

    Method parameters in org.modeshape.jcr.query.plan with type arguments of type Subquery
    Modifier and Type | Method and Description
    --- | ---
    `protected PlanNode` | CanonicalPlanner.`attachCriteria(QueryContext context, PlanNode plan, Constraint constraint, List<? extends Column> columns, Map<String,Subquery> subqueriesByVariableName)` Attach all criteria above the join nodes.
    `protected PlanNode` | CanonicalPlanner.`attachSubqueries(QueryContext context, PlanNode plan, Map<String,Subquery> subqueriesByVariableName)` Attach plan nodes for each subquery, resulting with the first subquery at the top of the plan tree.
    `static Constraint` | PlanUtil.`replaceSubqueriesWithBindVariables(QueryContext context, Constraint constraint, Map<String,Subquery> subqueriesByVariableName)`
    `static StaticOperand` | PlanUtil.`replaceSubqueriesWithBindVariables(QueryContext context, StaticOperand staticOperand, Map<String,Subquery> subqueriesByVariableName)`

  - ### Uses of Subquery in org.modeshape.jcr.query.validate

    Methods in org.modeshape.jcr.query.validate with parameters of type Subquery
    Modifier and Type | Method and Description
    --- | ---
    `void` | Validator.`visit(Subquery subquery)`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.