org.modeshape.jcr.query.process

## Interface Processor

- All Known Implementing Classes:
    LuceneQueryEngine.LuceneQueryProcessor, QueryProcessor

      public interface Processor

  Interface for a query processor.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `QueryResults` | `execute(QueryContext context, QueryCommand command, QueryResults.Statistics statistics, PlanNode plan)` Process the supplied query plan for the given command and return the results.

- - ### Method Detail

    - #### execute

          QueryResults execute(QueryContext context,
                             QueryCommand command,
                             QueryResults.Statistics statistics,
                             PlanNode plan)

      Process the supplied query plan for the given command and return the results.
      Parameters:
        `context` - the context in which the command is being processed
        `command` - the command being executed
        `statistics` - the time metrics up until this execution
        `plan` - the plan to be processed
      Returns:
        the results of the query

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