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.
|
Modifier and Type | Class and Description |
---|---|
class |
SelectQuery
An implementation of
SelectQuery . |
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) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
protected PlanNode |
CanonicalPlanner.createCanonicalPlan(QueryContext context,
Query query)
Create a canonical query plan for the given query.
|
Modifier and Type | Method and Description |
---|---|
void |
Validator.visit(Query obj) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.