#include <BatchExecutor.h>
Definition at line 41 of file BatchExecutor.h.
te::sqlite::BatchExecutor::~BatchExecutor |
( |
| ) |
|
|
virtual |
It adds the given statement to the list of commands to be executed.
- Parameters
-
query | The query command to be added to the list of commands to be executed. |
- Note
- The batch executor will take the query ownership.
Implements te::da::BatchExecutor.
void te::sqlite::BatchExecutor::add |
( |
std::string * |
sql | ) |
|
void te::sqlite::BatchExecutor::execute |
( |
| ) |
|
|
virtual |
void te::sqlite::BatchExecutor::execute |
( |
const std::string & |
uri, |
|
|
const std::map< std::string, std::string > & |
options |
|
) |
| |
|
virtual |
It executes a series of statements in the respource identified by the URI.
- Parameters
-
uri | An URI with a resource with query statements. |
options | Optional parameters that can be used to refine the execution. |
- Exceptions
-
Excpetion | It throws na exception if something goes wrong. |
Implements te::da::BatchExecutor.
void te::sqlite::BatchExecutor::execute |
( |
std::istream & |
istr, |
|
|
const std::map< std::string, std::string > & |
options |
|
) |
| |
|
virtual |
It executes a series of statements from the input stream.
- Parameters
-
istr | An input stream with query statements. |
options | Optional parameters that can be used to refine the execution. |
- Exceptions
-
Excpetion | It throws na exception if something goes wrong. |
Implements te::da::BatchExecutor.
It returns a pointer to the underlying data source transactor.
- Returns
- A pointer to the underlying data source transactor.
Implements te::da::BatchExecutor.
std::vector<std::string*> te::sqlite::BatchExecutor::m_commands |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/sqlite/BatchExecutor.h