com.metamatrix.query.xquery
Interface XQuerySQLEvaluator

All Known Implementing Classes:
SqlEval

public interface XQuerySQLEvaluator

Since:
4.3

Method Summary
 void close()
          Closes any resources opened during the evaluation
 javax.xml.transform.Source executeSQL(java.lang.String sql)
          Execute a SQL string that returns an XML result
 

Method Detail

executeSQL

javax.xml.transform.Source executeSQL(java.lang.String sql)
                                      throws QueryParserException,
                                             MetaMatrixProcessingException,
                                             MetaMatrixComponentException
Execute a SQL string that returns an XML result

Parameters:
sql - SQL string, typically an EXEC against an xml service or virtual document
Throws:
QueryParserException - If sql parameter is not sql
MetaMatrixProcessingException - If execution of the sql fails due to a bad query
MetaMatrixComponentException - If execution of the sql fails due to an internal failure

close

void close()
           throws MetaMatrixComponentException
Closes any resources opened during the evaluation

Throws:
MetaMatrixComponentException


Copyright © 2009. All Rights Reserved.