Package | Description |
---|---|
org.modeshape.jcr.query.engine |
This package contains several fully-functional query engine implementations.
|
Modifier and Type | Method and Description |
---|---|
protected RowExtractors.ExtractFromRow |
ScanningQueryEngine.createExtractFromRow(DynamicOperand operand,
QueryContext context,
QueryResults.Columns columns,
QuerySources sources,
TypeSystem.TypeFactory<?> defaultType,
boolean allowMultiValued,
boolean isLike)
Create a
RowExtractors.ExtractFromRow implementation that performs the supplied DynamicOperand against a current row in
the current batch. |
protected RowExtractors.ExtractFromRow |
ScanningQueryEngine.createExtractFromRow(String selectorName,
String propertyName,
QueryContext context,
QueryResults.Columns columns,
QuerySources sources,
TypeSystem.TypeFactory<?> defaultType,
boolean allowMultiValued)
Create a
RowExtractors.ExtractFromRow implementation that accesses the value(s) in the property identified by the supplied
selector and property names. |
protected RowExtractors.ExtractFromRow |
ScanningQueryEngine.createExtractReferencesFromRow(String selectorName,
QueryContext context,
QueryResults.Columns columns,
QuerySources sources,
TypeSystem.TypeFactory<?> defaultType)
Create a
RowExtractors.ExtractFromRow implementation that accesses the REFERENCE value(s) in the properties of the node
identified by the supplied selector names. |
protected NodeSequence |
ScanningQueryEngine.createNodeSequence(QueryCommand originalQuery,
org.modeshape.jcr.query.engine.ScanningQueryEngine.ScanQueryContext context,
PlanNode plan,
QueryResults.Columns columns,
QuerySources sources)
Create a node sequence containing the results of the original query as defined by the supplied plan.
|
protected NodeSequence |
ScanningQueryEngine.createNodeSequenceForSource(QueryCommand originalQuery,
QueryContext context,
PlanNode sourceNode,
IndexPlan index,
QueryResults.Columns columns,
QuerySources sources)
Create a node sequence for the given index
|
protected NodeSequence |
IndexQueryEngine.createNodeSequenceForSource(QueryCommand originalQuery,
QueryContext context,
PlanNode sourceNode,
IndexPlan indexPlan,
QueryResults.Columns columns,
QuerySources sources) |
protected NodeSequence |
ScanningQueryEngine.createNodeSequenceForSource(QueryCommand originalQuery,
QueryContext context,
PlanNode sourceNode,
QueryResults.Columns columns,
QuerySources sources)
Create a node sequence for the given source.
|
protected NodeSequence.RowFilter |
ScanningQueryEngine.createRowFilter(Constraint constraint,
QueryContext context,
QueryResults.Columns columns,
QuerySources sources)
Create a
NodeSequence.RowFilter implementation given the supplied constraints. |
protected RowExtractors.ExtractFromRow |
ScanningQueryEngine.createSortingExtractor(List<Ordering> orderings,
Map<SelectorName,SelectorName> sourceNamesByAlias,
QueryContext context,
QueryResults.Columns columns,
QuerySources sources)
Create an
RowExtractors.ExtractFromRow instance that produces for given row a single object that can be used to sort all rows in
the specified order. |
protected RowExtractors.ExtractFromRow |
ScanningQueryEngine.createSortingExtractor(Ordering ordering,
Map<SelectorName,SelectorName> sourceNamesByAlias,
QueryContext context,
QueryResults.Columns columns,
QuerySources sources)
Create an
RowExtractors.ExtractFromRow instance that produces for given row a single object that can be used to sort all rows in
the specified order. |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.