26 #ifndef __TERRALIB_ADO_INTERNAL_DATASOURCE_H 27 #define __TERRALIB_ADO_INTERNAL_DATASOURCE_H 30 #include "../dataaccess/datasource/DataSource.h" 31 #include "../dataaccess/datasource/DataSourceCapabilities.h" 35 #include <boost/thread/locks.hpp> 36 #include <boost/thread/mutex.hpp> 39 #import "msado15.dll" \
40 no_namespace rename(
"EOF",
"EndOfFile")
71 std::string getType()
const;
73 std::unique_ptr<te::da::DataSourceTransactor> getTransactor();
79 bool isOpened()
const;
87 const std::map<std::string, std::string>& getGeomColumns()
const;
89 void registerGeometryColumn(
const std::string& datasetName,
90 const std::string& geomColName);
92 bool isGeometryColumn(
const std::string& datasetName,
93 const std::string& colName)
const;
97 void create(
const std::string& connInfo);
99 void drop(
const std::string& connInfo);
101 bool exists(
const std::string& connInfo);
103 std::vector<std::string> getDataSourceNames(
const std::string& connInfo);
105 void loadGeometryColumnsCache(_ConnectionPtr& adoConn);
122 #endif // __TERRALIB_ADO_INTERNAL_DATASOURCE_H
static te::da::DataSourceCapabilities sm_capabilities
ADO capabilities.
std::string m_currentSchema
The default schema used when no one is provided.
#define TEADOEXPORT
You can use this macro in order to export/import classes and functions from this module.
It represents the SQL query dialect accepted by a given data source.
Configuration flags for the TerraLib ADO Data Access driver.
std::map< std::string, std::string > m_geomColumns
The list of geometry columns.
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
static te::da::SQLDialect * sm_dialect
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
A class to store the proxy information that must be used to access data located in URIs...