org.modeshape.graph.query.process
Interface Processor

All Known Implementing Classes:
QueryProcessor

public interface Processor

Interface for a query processor.


Method Summary
 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-2010 JBoss, a division of Red Hat. All Rights Reserved.