Package | Description |
---|---|
org.modeshape.jcr | |
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
org.modeshape.jcr.query.lucene |
The core query engine, which currently uses Lucene for indexing and raw queries, and
the Hibernate Search engine (which does not depend on or use Hibernate Core or JPA)
for updating and querying the Lucene indexes.
|
org.modeshape.jcr.query.process |
This package defines the
QueryProcessor interface, which is responsible for constructing for each query
a tree of ProcessingComponent objects that each are responsible for processing a specific aspect of
the query and returning the tuples to the parent component. |
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 |
NodeTypeSchemata
A
Schemata implementation that is constructed from the NodeType s and PropertyDefinition s contained
within a RepositoryNodeTypeManager . |
protected class |
NodeTypeSchemata.SessionSchemata
Implementation class that builds the tables lazily.
|
Modifier and Type | Method and Description |
---|---|
Schemata |
NodeTypeSchemata.getSchemataForSession(JcrSession session)
Get a schemata instance that works with the supplied session and that uses the session-specific namespace mappings.
|
Modifier and Type | Field and Description |
---|---|
protected Schemata |
JcrQueryResult.schemata |
Modifier and Type | Method and Description |
---|---|
Schemata |
QueryContext.getSchemata()
Get the definition of the tables available within this query context.
|
Schemata |
JcrQueryContext.getSchemata() |
Modifier and Type | Method and Description |
---|---|
QueryContext |
QueryContext.with(Schemata schemata)
Obtain a copy of this context, except that the copy uses the supplied schemata.
|
Constructor and Description |
---|
JcrQueryResult(JcrQueryContext context,
String query,
QueryResults graphResults,
Schemata schemata) |
JcrSqlQueryResult(JcrQueryContext context,
String query,
QueryResults graphResults,
Schemata schemata) |
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
PlanHints hints,
Problems problems,
Map<String,Object> variables)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Schemata schemata)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Schemata schemata,
PlanHints hints,
Problems problems)
Create a new context for query execution.
|
XPathQueryResult(JcrQueryContext context,
String query,
QueryResults graphResults,
Schemata schemata) |
Modifier and Type | Method and Description |
---|---|
protected Schemata |
LuceneQueryFactory.schemata() |
Modifier and Type | Method and Description |
---|---|
CancellableQuery |
LuceneQueryEngine.query(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
QueryCommand query,
Schemata schemata,
PlanHints hints,
Map<String,Object> variables)
Execute the supplied query against the named workspace, using the supplied hints, schemata and variables.
|
Modifier and Type | Method and Description |
---|---|
protected SelectComponent.ConstraintChecker |
SelectComponent.createChecker(TypeSystem types,
Schemata schemata,
QueryResults.Columns columns,
Constraint constraint,
Map<String,Object> variables)
Create the constraint evaluator that is used by the
SelectComponent to evaluate the supplied criteria . |
protected SelectComponent.ConstraintChecker |
SelectComponent.createChecker(TypeSystem types,
Schemata schemata,
QueryResults.Columns columns,
ProcessingComponent.DynamicOperation dynamicOperation,
Operator operator,
StaticOperand staticOperand) |
protected ProcessingComponent.DynamicOperation |
ProcessingComponent.createDynamicOperation(TypeSystem typeSystem,
Schemata schemata,
QueryResults.Columns columns,
DynamicOperand operand)
Create a
ProcessingComponent.DynamicOperation instance that is able to evaluate the supplied DynamicOperand . |
Modifier and Type | Class and Description |
---|---|
class |
ImmutableSchemata
An immutable
Schemata implementation. |
Modifier and Type | Method and Description |
---|---|
Schemata |
ImmutableSchemata.Builder.build()
Build the
Schemata instance, using the current state of the builder. |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.