Package | Description |
---|---|
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 |
---|---|
protected static QueryResults.Statistics |
QueryResults.Statistics.EMPTY_STATISTICS |
Modifier and Type | Method and Description |
---|---|
QueryResults.Statistics |
QueryResults.getStatistics()
Get the statistics that describe the time metrics for this query.
|
QueryResults.Statistics |
QueryResults.Statistics.withExecutionTime(long executionNanos)
Create a new statistics object that has the supplied execution time.
|
QueryResults.Statistics |
QueryResults.Statistics.withExecutionTime(long execution,
TimeUnit unit)
Create a new statistics object that has the supplied execution time.
|
QueryResults.Statistics |
QueryResults.Statistics.withOptimizationTime(long optimizationNanos)
Create a new statistics object that has the supplied optimization time.
|
QueryResults.Statistics |
QueryResults.Statistics.withOptimizationTime(long optimization,
TimeUnit unit)
Create a new statistics object that has the supplied optimization time.
|
QueryResults.Statistics |
QueryResults.Statistics.withPlanningTime(long planningNanos)
Create a new statistics object that has the supplied planning time.
|
QueryResults.Statistics |
QueryResults.Statistics.withPlanningTime(long planning,
TimeUnit unit)
Create a new statistics object that has the supplied planning time.
|
QueryResults.Statistics |
QueryResults.Statistics.withResultsFormulationTime(long resultFormulationNanos)
Create a new statistics object that has the supplied result formulation time.
|
QueryResults.Statistics |
QueryResults.Statistics.withResultsFormulationTime(long resultFormulation,
TimeUnit unit)
Create a new statistics object that has the supplied result formulation time.
|
Modifier and Type | Method and Description |
---|---|
int |
QueryResults.Statistics.compareTo(QueryResults.Statistics that) |
Modifier and Type | Method and Description |
---|---|
QueryResults.Statistics |
Results.getStatistics() |
Modifier and Type | Method and Description |
---|---|
protected QueryResults |
ScanningQueryEngine.executeOptimizedQuery(org.modeshape.jcr.query.engine.ScanningQueryEngine.ScanQueryContext context,
QueryCommand command,
QueryResults.Statistics statistics,
PlanNode plan)
Execute the optimized query defined by the supplied
plan node . |
Constructor and Description |
---|
Results(QueryResults.Columns columns,
QueryResults.Statistics statistics,
NodeSequence rows,
CachedNodeSupplier cachedNodes,
Problems problems,
String plan)
Create a results object for the supplied context, command, and result columns and with the supplied tuples.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.