Package | Description |
---|---|
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
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. |
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 |
QueryResults.getStatistics() |
Modifier and Type | Method and Description |
---|---|
QueryResults |
QueryProcessor.execute(QueryContext context,
QueryCommand command,
QueryResults.Statistics statistics,
PlanNode plan) |
QueryResults |
Processor.execute(QueryContext context,
QueryCommand command,
QueryResults.Statistics statistics,
PlanNode plan)
Process the supplied query plan for the given command and return the results.
|
Constructor and Description |
---|
QueryResults(QueryResults.Columns columns,
QueryResults.Statistics statistics)
Create an empty
QueryResults object for the supplied context, command, and result columns. |
QueryResults(QueryResults.Columns columns,
QueryResults.Statistics statistics,
List<Object[]> tuples)
Create a results object for the supplied context, command, and result columns and with the supplied tuples.
|
QueryResults(QueryResults.Columns columns,
QueryResults.Statistics statistics,
List<Object[]> tuples,
Problems problems,
String plan)
Create a results object for the supplied context, command, and result columns and with the supplied tuples.
|
QueryResults(QueryResults.Columns columns,
QueryResults.Statistics statistics,
Problems problems)
Create an empty
QueryResults object for the supplied context, command, and result columns. |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.