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

- Packages that use Query
  Package | Description
  --- | ---
  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 Query in org.modeshape.jcr.query.model

    Subclasses of Query in org.modeshape.jcr.query.model
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SelectQuery` An implementation of `SelectQuery`.

    Methods in org.modeshape.jcr.query.model that return Query
    Modifier and Type | Method and Description
    --- | ---
    `Query` | Query.`adding(Column... columns)` Create a copy of this query, but that returns results that include the columns specified by this query as well as the supplied columns.
    `Query` | Query.`adding(Ordering... orderings)` Create a copy of this query, but that returns results that are ordered by the `orderings` of this column as well as those supplied.
    `Query` | Query.`constrainedBy(Constraint constraint)` Create a copy of this query, but one that uses the supplied constraint.
    `Query` | Query.`distinct()` Create a copy of this query, but one in which there are no duplicate rows in the results.
    `Query` | Query.`noDistinct()` Create a copy of this query, but one in which there may be duplicate rows in the results.
    `Query` | Query.`orderedBy(List<Ordering> orderings)` Create a copy of this query, but one whose results should be ordered by the supplied orderings.
    `Query` | Query.`returning(List<Column> columns)` Create a copy of this query, but that returns results with the supplied columns.
    `Query` | SelectQuery.`withLimit(int rowLimit)`
    `Query` | Query.`withLimit(int rowLimit)`
    `Query` | SelectQuery.`withOffset(int offset)`
    `Query` | Query.`withOffset(int offset)`

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

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

    Methods in org.modeshape.jcr.query.parse that return Query
    Modifier and Type | Method and Description
    --- | ---
    `protected Query` | JcrSqlQueryParser.`parseQuery(TokenStream tokens, TypeSystem typeSystem)`
    `protected Query` | BasicSqlQueryParser.`parseQuery(TokenStream tokens, TypeSystem typeSystem)`
    `protected Query` | BasicSqlQueryParser.`query(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean distinct)`

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

    Methods in org.modeshape.jcr.query.plan with parameters of type Query
    Modifier and Type | Method and Description
    --- | ---
    `protected PlanNode` | CanonicalPlanner.`createCanonicalPlan(QueryContext context, Query query)` Create a canonical query plan for the given query.

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

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

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