com.metamatrix.connector.xml.http
Class HTTPExecution

java.lang.Object
  extended by com.metamatrix.connector.xml.streaming.BaseStreamingExecution
      extended by com.metamatrix.connector.xml.http.HTTPExecution
All Implemented Interfaces:
XMLExecution, Execution, ResultSetExecution
Direct Known Subclasses:
SOAPExecution

public class HTTPExecution
extends BaseStreamingExecution


Field Summary
 
Fields inherited from class com.metamatrix.connector.xml.streaming.BaseStreamingExecution
connection, connEnv, exeContext, exeInfo, logger, metadata, query, resultProducers, results, rowProducer, xpaths
 
Constructor Summary
HTTPExecution(IQuery query, XMLConnectionImpl conn, RuntimeMetadata metadata, ExecutionContext exeContext, ConnectorEnvironment connectorEnv)
           
 
Method Summary
 void execute()
          HTTP execution can have multiple permutations from a single SQL query, but each will have only one response.
 ResultProducer getStreamProducer()
          Gets all the InputStreams for a single ExecutionInfo instance.
 
Methods inherited from class com.metamatrix.connector.xml.streaming.BaseStreamingExecution
cancel, close, getConnection, getExeContext, next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPExecution

public HTTPExecution(IQuery query,
                     XMLConnectionImpl conn,
                     RuntimeMetadata metadata,
                     ExecutionContext exeContext,
                     ConnectorEnvironment connectorEnv)
Method Detail

execute

public void execute()
             throws ConnectorException
HTTP execution can have multiple permutations from a single SQL query, but each will have only one response.

Throws:
ConnectorException

getStreamProducer

public ResultProducer getStreamProducer()
                                 throws ConnectorException
Description copied from interface: XMLExecution
Gets all the InputStreams for a single ExecutionInfo instance. This could be any number or streams and is implementation dependent.

Returns:
Throws:
ConnectorException


Copyright © 2009. All Rights Reserved.