org.objectweb.medor.datasource.lib
Class TCWrapper

java.lang.Object
  extended byorg.objectweb.medor.datasource.lib.TCWrapper
All Implemented Interfaces:
Wrapper

public class TCWrapper
extends java.lang.Object
implements Wrapper


Constructor Summary
TCWrapper()
           
 
Method Summary
 TupleCollection fetchData(QueryLeaf ql, ParameterOperand[] parameters, java.lang.Object conn, EvaluationMetaData evalmd)
          This method links the wrapper to a particular QueryLeaf, and executes the query on the underlying data store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCWrapper

public TCWrapper()
Method Detail

fetchData

public TupleCollection fetchData(QueryLeaf ql,
                                 ParameterOperand[] parameters,
                                 java.lang.Object conn,
                                 EvaluationMetaData evalmd)
                          throws EvaluationException
Description copied from interface: Wrapper
This method links the wrapper to a particular QueryLeaf, and executes the query on the underlying data store.

Specified by:
fetchData in interface Wrapper
Parameters:
ql - the QueryLeaf
parameters - the parameters necessary for obtaining data from the QueryLeaf (in the case the QueryLeaf contains an expression)
conn - an Object which contains information for connecting to the DataStore behind the QueryLeaf (could be a JDBC connection, ...)s
Returns:
the TupleCollection containing the result of the execution.
Throws:
EvaluationException - in case of problems during the evaluation.