com.metamatrix.connector.salesforce.execution
Class QueryExecutionImpl
java.lang.Object
org.teiid.connector.basic.BasicExecution
com.metamatrix.connector.salesforce.execution.QueryExecutionImpl
- All Implemented Interfaces:
- Execution, ResultSetExecution
public class QueryExecutionImpl
- extends BasicExecution
- implements ResultSetExecution
Method Summary |
void |
cancel()
Cancels the execution abnormally. |
void |
close()
Terminates the execution normally. |
void |
execute()
Execute the associated command. |
java.util.List |
next()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryExecutionImpl
public QueryExecutionImpl(IQueryCommand command,
SalesforceConnection connection,
RuntimeMetadata metadata,
ExecutionContext context,
ConnectorEnvironment connectorEnv)
cancel
public void cancel()
throws ConnectorException
- Description copied from interface:
Execution
- Cancels the execution abnormally. This will happen via
a different thread from the one performing the execution, so
should be expected to happen in a multi-threaded scenario.
- Specified by:
cancel
in interface Execution
- Throws:
ConnectorException
close
public void close()
throws ConnectorException
- Description copied from interface:
Execution
- Terminates the execution normally.
- Specified by:
close
in interface Execution
- Throws:
ConnectorException
execute
public void execute()
throws ConnectorException
- Description copied from interface:
Execution
- Execute the associated command. Results will be retrieved through a specific sub-interface call.
- Specified by:
execute
in interface Execution
- Throws:
ConnectorException
next
public java.util.List next()
throws ConnectorException,
DataNotAvailableException
- Specified by:
next
in interface ResultSetExecution
- Throws:
ConnectorException
DataNotAvailableException
Copyright © 2009. All Rights Reserved.