26 #ifndef __TERRALIB_SQLITE_INTERNAL_BATCHEXECUTOR_H
27 #define __TERRALIB_SQLITE_INTERNAL_BATCHEXECUTOR_H
30 #include "../dataaccess/datasource/BatchExecutor.h"
53 void execute(
const std::string& uri,
const std::map<std::string, std::string>& options);
55 void execute(std::istream& istr,
const std::map<std::string, std::string>& options);
59 void add(std::string* sql);
72 #endif // __TERRALIB_SQLITE_INTERNAL_BATCHEXECUTOR_H
std::vector< std::string * > m_commands
~BatchExecutor()
Virtual destructor.
BatchExecutor()
Constructor.
A class that models an object that submits commands in batch to the data source.
A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things in...
te::da::DataSourceTransactor * getTransactor() const
It returns a pointer to the underlying data source transactor.
DataSourceTransactor * m_t
void add(te::da::Query *q)
It adds the given statement to the list of commands to be executed.
A Query is independent from the data source language/dialect.