org.teiid.connector.api
Interface ResultSetExecution

All Superinterfaces:
Execution
All Known Subinterfaces:
ProcedureExecution, XMLExecution
All Known Implementing Classes:
BaseStreamingExecution, FileExecution, FileExecution, HTTPExecution, JDBCProcedureExecution, JDBCQueryExecution, LDAPSyncQueryExecution, LoopbackExecution, MetadataProcedureExecution, ObjectSynchExecution, ProcedureExecutionParentImpl, QueryExecutionImpl, SoapExecution, SOAPExecution, TextSynchExecution, XMLSourceExecution

public interface ResultSetExecution
extends Execution

Defines an execution for IQueryCommands and IProcedures 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.connector.api.Execution
cancel, close, execute
 

Method Detail

next

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

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


Copyright © 2009. All Rights Reserved.