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. |
Modifier and Type | Field and Description |
---|---|
protected Limit |
QueryBuilder.limit |
Modifier and Type | Field and Description |
---|---|
static Limit |
Limit.NONE |
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.
|
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) |
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.
|
Modifier and Type | Method and Description |
---|---|
protected Limit |
BasicSqlQueryParser.limit(int rowCount,
int offset) |
protected Limit |
BasicSqlQueryParser.parseLimit(TokenStream tokens) |
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) |
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–2016 JBoss, a division of Red Hat. All rights reserved.