|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.connector.basic.BasicExecution
com.metamatrix.connector.xmlsource.XMLSourceExecution
public abstract class XMLSourceExecution
This is main class which will execute request in the XML Source
Field Summary | |
---|---|
protected ConnectorEnvironment |
env
|
Constructor Summary | |
---|---|
XMLSourceExecution(ConnectorEnvironment env)
ctor |
Method Summary | |
---|---|
void |
cancel()
Cancels the execution abnormally. |
void |
close()
Terminates the execution normally. |
protected java.sql.SQLXML |
convertToXMLType(javax.xml.transform.Source value)
|
java.util.List<?> |
getOutputParameterValues()
Get the output parameter values. |
protected abstract javax.xml.transform.Source |
getReturnValue()
|
java.util.List<?> |
next()
Retrieves the next row of the resultset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.teiid.connector.api.Execution |
---|
execute |
Field Detail |
---|
protected ConnectorEnvironment env
Constructor Detail |
---|
public XMLSourceExecution(ConnectorEnvironment env)
context
- metadata
- Method Detail |
---|
protected java.sql.SQLXML convertToXMLType(javax.xml.transform.Source value) throws ConnectorException
ConnectorException
protected abstract javax.xml.transform.Source getReturnValue()
public java.util.List<?> next() throws ConnectorException, DataNotAvailableException
ResultSetExecution
next
in interface ResultSetExecution
ConnectorException
DataNotAvailableException
public java.util.List<?> getOutputParameterValues() throws ConnectorException
ProcedureExecution
getOutputParameterValues
in interface ProcedureExecution
ConnectorException
- If an error occurs while retrieving the output valuepublic void close() throws ConnectorException
Execution
close
in interface Execution
ConnectorException
Execution.close()
public void cancel() throws ConnectorException
Execution
cancel
in interface Execution
ConnectorException
Execution.cancel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |