## Uses of Interface
org.modeshape.jcr.api.query.qom.Limit

- Packages that use Limit
  Package | Description
  --- | ---
  org.modeshape.jcr.api.query.qom |
  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.

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

    Methods in org.modeshape.jcr.api.query.qom that return Limit
    Modifier and Type | Method and Description
    --- | ---
    `Limit` | QueryCommand.`getLimits()` Get the limits associated with this query.
    `Limit` | QueryObjectModelFactory.`limit(int rowLimit, int offset)` Evaluates to a limit on the maximum number of tuples in the results and the number of rows that are skipped before the first tuple in the results.

    Methods in org.modeshape.jcr.api.query.qom with parameters of type Limit
    Modifier and Type | Method and Description
    --- | ---
    `SetQuery` | QueryObjectModelFactory.`except(QueryCommand left, QueryCommand right, Ordering[] orderings, Limit limit, boolean all)` Creates a query command that returns all rows that are in the result of the left-hand query but not in the result of the right-hand query.
    `SetQuery` | QueryObjectModelFactory.`intersect(QueryCommand left, QueryCommand right, Ordering[] orderings, Limit limit, boolean all)` Creates a query command that returns all rows that are both in the result of the left-hand query and in the result of the right-hand query.
    `SelectQuery` | QueryObjectModelFactory.`select(Source source, Constraint constraint, Ordering[] orderings, Column[] columns, Limit limit, boolean isDistinct)` Creates a query with one or more selectors.
    `SetQuery` | QueryObjectModelFactory.`union(QueryCommand left, QueryCommand right, Ordering[] orderings, Limit limit, boolean all)` Creates a query command that effectively appends the results of the right-hand query to those of the left-hand query.

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

    Methods in org.modeshape.jcr.query with parameters of type Limit
    Modifier and Type | Method and Description
    --- | ---
    `static NodeSequence` | NodeSequence.`limit(NodeSequence sequence, Limit limitAndOffset)` Create a sequence of nodes that skips a specified number of nodes before returning any nodes and that limits the number of nodes returned.

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

    Classes in org.modeshape.jcr.query.model that implement Limit
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Limit` A specification of the limit placed on a query, detailing the a maximum number of result rows and an offset for the first row in the results.

    Methods in org.modeshape.jcr.query.model that return Limit
    Modifier and Type | Method and Description
    --- | ---
    `Limit` | SetQueryObjectModel.`getLimits()`

    Methods in org.modeshape.jcr.query.model with parameters of type Limit
    Modifier and Type | Method and Description
    --- | ---
    `SetQuery` | QueryObjectModelFactory.`except(QueryCommand left, QueryCommand right, Ordering[] orderings, Limit limit, boolean all)`
    `SetQuery` | QueryObjectModelFactory.`intersect(QueryCommand left, QueryCommand right, Ordering[] orderings, Limit limit, boolean all)`
    `SelectQuery` | QueryObjectModelFactory.`select(Source source, Constraint constraint, Ordering[] orderings, Column[] columns, Limit limit, boolean distinct)`
    `SetQuery` | QueryObjectModelFactory.`setQuery(QueryCommand left, SetQuery.Operation operation, QueryCommand right, Ordering[] orderings, Limit limit, boolean all)`
    `SetQuery` | QueryObjectModelFactory.`union(QueryCommand left, QueryCommand right, Ordering[] orderings, Limit limit, boolean all)`

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