## Uses of Class
org.modeshape.jcr.query.QueryResults.Statistics

- Packages that use QueryResults.Statistics
  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.

- - ### Uses of QueryResults.Statistics in org.modeshape.jcr.query

    Fields in org.modeshape.jcr.query declared as QueryResults.Statistics
    Modifier and Type | Field and Description
    --- | ---
    `protected static QueryResults.Statistics` | QueryResults.Statistics.`EMPTY_STATISTICS`

    Methods in org.modeshape.jcr.query that return QueryResults.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.

    Methods in org.modeshape.jcr.query with parameters of type QueryResults.Statistics
    Modifier and Type | Method and Description
    --- | ---
    `int` | QueryResults.Statistics.`compareTo(QueryResults.Statistics that)`

  - ### Uses of QueryResults.Statistics in org.modeshape.jcr.query.engine

    Methods in org.modeshape.jcr.query.engine that return QueryResults.Statistics
    Modifier and Type | Method and Description
    --- | ---
    `QueryResults.Statistics` | Results.`getStatistics()`

    Methods in org.modeshape.jcr.query.engine with parameters of type QueryResults.Statistics
    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`.

    Constructors in org.modeshape.jcr.query.engine with parameters of type QueryResults.Statistics
    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.