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.
|
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.
|
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.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Limit |
SetQueryObjectModel.getLimits() |
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–2016 JBoss, a division of Red Hat. All rights reserved.