org.teiid.translator
Interface ResultSetExecution

All Superinterfaces:
Execution
All Known Subinterfaces:
ProcedureExecution

public interface ResultSetExecution
extends Execution

Defines an execution for QueryExpressions and Calls that returns a resultset, which is represented through the iterator method next().


Method Summary
 java.util.List<?> next()
          Retrieves the next row of the resultset.
 
Methods inherited from interface org.teiid.translator.Execution
cancel, close, execute
 

Method Detail

next

java.util.List<?> next()
                       throws TranslatorException,
                              DataNotAvailableException
Retrieves the next row of the resultset.

Returns:
the next row or null indicating that there are no more results
Throws:
TranslatorException
DataNotAvailableException


Copyright © 2011. All Rights Reserved.