org.teiid.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 TeiidComponentException,
                    BlockedException,
                    TeiidProcessingException
Execute the plan

Parameters:
referenceValues - - values for any external references
Throws:
TeiidComponentException
BlockedException
TeiidProcessingException

getOutputElements

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

Returns:
Throws:
TeiidComponentException

nextRow

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

Returns:
values of the row
Throws:
TeiidComponentException
TeiidProcessingException

currentRow

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

Returns:
Throws:
TeiidComponentException
TeiidProcessingException

close

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

Throws:
TeiidComponentException


Copyright © 2010. All Rights Reserved.