## Uses of Interface
org.modeshape.jcr.query.QueryResults

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

    Fields in org.modeshape.jcr.query declared as QueryResults
    Modifier and Type | Field and Description
    --- | ---
    `protected QueryResults` | JcrQueryResult.`results`

    Methods in org.modeshape.jcr.query that return QueryResults
    Modifier and Type | Method and Description
    --- | ---
    `QueryResults` | CancellableQuery.`execute()` Execute the query and get the results.
    `QueryResults` | QueryEngine.`execute(QueryContext context, QueryCommand query)` Execute the supplied query by planning, optimizing, and then processing it.

    Constructors in org.modeshape.jcr.query with parameters of type QueryResults
    Constructor and Description
    `JcrQueryResult(JcrQueryContext context, String query, QueryResults results, boolean restartable, int numRowsInMemory)`
    `JcrSqlQueryResult(JcrQueryContext context, String query, QueryResults results, boolean restartable, int numRowsInMemory)`
    `XPathQueryResult(JcrQueryContext context, String query, QueryResults results, boolean restartable, int numRowsInMemory)`

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

    Classes in org.modeshape.jcr.query.engine that implement QueryResults
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Results`

    Methods in org.modeshape.jcr.query.engine that return QueryResults
    Modifier and Type | Method and Description
    --- | ---
    `QueryResults` | ScanningQueryEngine.`execute(QueryContext queryContext, QueryCommand query)` Execute the supplied query by planning, optimizing, and then processing it.
    `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`.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.