com.metamatrix.query.processor.xml
Interface PlanExecutor


public interface PlanExecutor

This interface is responsible for executing the queries for the XML processing environment.


Method Summary
 void close()
          close the plan and cleanup the resultset.
 java.util.List currentRow()
          Get the result set values of the current row.
 void execute(java.util.Map referenceValues)
          Execute the plan
 java.util.List getOutputElements()
          Get the ElementSymbol list which represents the schema of the result set
 java.util.List nextRow()
          Advance the resultset cursor to next row and retun the row values
 

Method Detail

execute

void execute(java.util.Map referenceValues)
             throws MetaMatrixComponentException,
                    BlockedException,
                    MetaMatrixProcessingException
Execute the plan

Parameters:
referenceValues - - values for any external references
Throws:
MetaMatrixComponentException
BlockedException
MetaMatrixProcessingException

getOutputElements

java.util.List getOutputElements()
                                 throws MetaMatrixComponentException
Get the ElementSymbol list which represents the schema of the result set

Returns:
Throws:
MetaMatrixComponentException

nextRow

java.util.List nextRow()
                       throws MetaMatrixComponentException,
                              MetaMatrixProcessingException
Advance the resultset cursor to next row and retun the row values

Returns:
values of the row
Throws:
MetaMatrixComponentException
MetaMatrixProcessingException

currentRow

java.util.List currentRow()
                          throws MetaMatrixComponentException,
                                 MetaMatrixProcessingException
Get the result set values of the current row.

Returns:
Throws:
MetaMatrixComponentException
MetaMatrixProcessingException

close

void close()
           throws MetaMatrixComponentException
close the plan and cleanup the resultset.

Throws:
MetaMatrixComponentException


Copyright © 2009. All Rights Reserved.