com.metamatrix.connector.xml.base
Class BaseResultsProducer

java.lang.Object
  extended by com.metamatrix.connector.xml.base.BaseResultsProducer

public class BaseResultsProducer
extends java.lang.Object

Converts a Response into an List containing results based upon the metadata from the ExecutionInfo. Elements of the List are List that each contain all of the results for a single column.

Author:
Jdoyle

Constructor Summary
BaseResultsProducer(IDocumentCache statementCache, ConnectorLogger logger)
           
 
Method Summary
static java.util.List combineResults(java.util.List responseResultList, java.util.List allResultsList)
           
 java.util.List getResult(ExecutionInfo info, Response response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseResultsProducer

public BaseResultsProducer(IDocumentCache statementCache,
                           ConnectorLogger logger)
Method Detail

getResult

public java.util.List getResult(ExecutionInfo info,
                                Response response)
                         throws ConnectorException
Throws:
ConnectorException

combineResults

public static java.util.List combineResults(java.util.List responseResultList,
                                            java.util.List allResultsList)


Copyright © 2009. All Rights Reserved.