Package | Description |
---|---|
org.modeshape.jcr | |
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 | Method and Description |
---|---|
Schemata.Table |
NodeTypeSchemata.getTable(SelectorName name) |
Schemata.Table |
NodeTypeSchemata.SessionSchemata.getTable(SelectorName name) |
Modifier and Type | Method and Description |
---|---|
protected void |
CanonicalPlanner.allColumnsFor(Schemata.Table table,
SelectorName tableName,
List<Column> columns,
List<String> columnTypes,
boolean includeSelectorNameInColumnName) |
Modifier and Type | Method and Description |
---|---|
protected PlanNode |
CanonicalPlanner.attachProject(QueryContext context,
PlanNode plan,
List<? extends Column> columns,
Map<SelectorName,Schemata.Table> selectors)
Attach a PROJECT node at the top of the plan tree.
|
protected PlanNode |
CanonicalPlanner.createPlanNode(QueryContext context,
Source source,
Map<SelectorName,Schemata.Table> usedSelectors)
Create a JOIN or SOURCE node that contain the source information.
|
protected void |
CanonicalPlanner.validate(QueryContext context,
QueryCommand query,
Map<SelectorName,Schemata.Table> usedSelectors)
Validate the supplied query.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
Schemata.View
Information about a view that is defined in terms of other views/tables.
|
Modifier and Type | Method and Description |
---|---|
protected Schemata.Table |
ImmutableSchemata.MutableTable.asImmutable() |
Schemata.Table |
Schemata.getTable(SelectorName name)
Get the information for the table or view with the supplied name within this schema.
|
Schemata.Table |
ImmutableSchemata.getTable(SelectorName name) |
protected Schemata.Table |
Validator.tableWithNameOrAlias(SelectorName tableName) |
protected Schemata.Table |
Validator.verify(SelectorName selectorName) |
protected Schemata.Table |
Validator.verifyTable(SelectorName tableName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
Validator.checkVariationsOfPropertyName(SelectorName selector,
String propertyName,
Schemata.Table actualTable,
Problems problems) |
ImmutableSchemata |
ImmutableSchemata.with(Schemata.Table table) |
Constructor and Description |
---|
ImmutableSchemata(Map<SelectorName,Schemata.Table> tables) |
Validator(QueryContext context,
Map<SelectorName,Schemata.Table> selectorsByName) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.