| Package | Description |
|---|---|
| org.modeshape.jcr | |
| org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
| org.modeshape.jcr.query.engine |
This package contains several fully-functional query engine implementations.
|
| Modifier and Type | Field and Description |
|---|---|
static RepositoryIndexes |
RepositoryIndexes.NO_INDEXES
A
RepositoryIndexes implementation that contains no indexes. |
| Modifier and Type | Field and Description |
|---|---|
protected RepositoryIndexes |
QueryContext.indexDefns |
| Modifier and Type | Method and Description |
|---|---|
RepositoryIndexes |
QueryContext.getIndexDefinitions()
Get the current index definitions.
|
| Modifier and Type | Method and Description |
|---|---|
QueryContext |
QueryEngine.createQueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Map<String,Object> variables)
Create a new context for query execution.
|
| Constructor and Description |
|---|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Problems problems,
Map<String,Object> variables)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Problems problems,
Map<String,Object> variables,
long id)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Problems problems)
Create a new context for query execution.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
IndexPlanners.applyIndexes(QueryContext context,
SelectorName selector,
List<Constraint> andedConstraints,
RepositoryIndexes indexDefinitions,
IndexCollector indexes)
Examine the supplied constraints applied to the given selector in a query, and record in the supplied
IndexCollector any and all indexes in this provider that can be used in this query. |
QueryContext |
ScanningQueryEngine.createQueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Map<String,Object> variables) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.