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

- Packages that use Limit
  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.

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

    Fields in org.modeshape.jcr.query declared as Limit
    Modifier and Type | Field and Description
    --- | ---
    `protected Limit` | QueryBuilder.`limit`

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

    Fields in org.modeshape.jcr.query.model declared as Limit
    Modifier and Type | Field and Description
    --- | ---
    `static Limit` | Limit.`NONE`

    Methods in org.modeshape.jcr.query.model that return Limit
    Modifier and Type | Method and Description
    --- | ---
    `Limit` | SetQuery.`getLimits()`
    `Limit` | Query.`getLimits()`
    `Limit` | QueryObjectModelFactory.`limit(int rowLimit, int offset)`
    `Limit` | Limit.`withOffset(int offset)` Create a new Limit object that contains the same maximum row count as this object but a new offset.
    `Limit` | Limit.`withRowLimit(int rowLimit)` Create a new Limit object that contains the same offset as this object but a new maximum row count.

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

    Constructors in org.modeshape.jcr.query.model with parameters of type Limit
    Constructor and Description
    `Query(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean isDistinct)` Create a new query that uses the supplied source, constraint, orderings, columns and limits.
    `SelectQuery(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean isDistinct)` Create a new query that uses the supplied source, constraint, orderings, columns and limits.
    `SetQuery(QueryCommand left, SetQuery.Operation operation, QueryCommand right, boolean all, List<? extends Ordering> orderings, Limit limit)` Create a set query involving the supplied left- and right-hand-side queries.

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

    Methods in org.modeshape.jcr.query.parse that return Limit
    Modifier and Type | Method and Description
    --- | ---
    `protected Limit` | BasicSqlQueryParser.`limit(int rowCount, int offset)`
    `protected Limit` | BasicSqlQueryParser.`parseLimit(TokenStream tokens)`

    Methods in org.modeshape.jcr.query.parse with parameters of type Limit
    Modifier and Type | Method and Description
    --- | ---
    `protected Query` | BasicSqlQueryParser.`query(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean distinct)`

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

    Methods in org.modeshape.jcr.query.plan with parameters of type Limit
    Modifier and Type | Method and Description
    --- | ---
    `protected PlanNode` | CanonicalPlanner.`attachLimits(QueryContext context, PlanNode plan, Limit limit)` Attach a LIMIT node at the top of the plan tree.

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