com.metamatrix.connector.xml.file
Class FileExecution
java.lang.Object
com.metamatrix.connector.xml.streaming.BaseStreamingExecution
com.metamatrix.connector.xml.file.FileExecution
- All Implemented Interfaces:
- ResultProducer, XMLExecution, Execution, ResultSetExecution
public class FileExecution
- extends BaseStreamingExecution
- implements ResultProducer
Fields inherited from class com.metamatrix.connector.xml.streaming.BaseStreamingExecution |
connection, connEnv, exeContext, exeInfo, logger, metadata, query, resultProducers, results, rowProducer, xpaths |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARM_FILE_NAME_TABLE_PROPERTY_NAME
public static final java.lang.String PARM_FILE_NAME_TABLE_PROPERTY_NAME
- See Also:
- Constant Field Values
FileExecution
public FileExecution(IQuery command,
XMLConnectionImpl conn,
RuntimeMetadata metadata,
ExecutionContext context,
ConnectorEnvironment env)
throws ConnectorException
- Throws:
ConnectorException
execute
public void execute()
throws ConnectorException
- Description copied from interface:
Execution
- Execute the associated command. Results will be retrieved through a specific sub-interface call.
- Specified by:
execute
in interface Execution
- Throws:
ConnectorException
getInfo
public ExecutionInfo getInfo()
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.
- Specified by:
getStreamProducer
in interface XMLExecution
- Returns:
-
- Throws:
ConnectorException
getXMLDocuments
public java.util.Iterator<Document> getXMLDocuments()
throws ConnectorException
- Description copied from interface:
ResultProducer
- Gets all the InputStreams for a single ExecutionInfo instance.
This could be any number or streams and is implementation dependent.
- Specified by:
getXMLDocuments
in interface ResultProducer
- Returns:
-
- Throws:
ConnectorException
closeStreams
public void closeStreams()
- Specified by:
closeStreams
in interface ResultProducer
Copyright © 2009. All Rights Reserved.