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
protected  QueryAnalyzer analyzer
           
 
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 produce multiple requests from a single SQL query, but each will have only one response.
 ResultProducer getStreamProducer()
          Gets all the ResultProducers for a single query.
 
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
 

Field Detail

analyzer

protected QueryAnalyzer analyzer
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 produce multiple requests 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 ResultProducers for a single query. This could be any number or results and is implementation dependent.

Returns:
Throws:
ConnectorException


Copyright © 2009. All Rights Reserved.