26 #ifndef __TERRALIB_TERRALIB4_INTERNAL_DATASOURCE_H 27 #define __TERRALIB_TERRALIB4_INTERNAL_DATASOURCE_H 30 #include "../dataaccess/datasource/DataSource.h" 31 #include "../dataaccess/datasource/DataSourceCapabilities.h" 51 std::string getType()
const;
53 std::unique_ptr<te::da::DataSourceTransactor> getTransactor();
59 bool isOpened()
const;
67 TeDatabase* getTerralib4Db();
69 std::vector<std::string> getTL4Layers();
71 std::vector<std::string> getTL4Tables();
73 std::vector<std::string> getTL4Rasters();
75 std::vector<std::pair<std::string, std::string> > getTL4RasterFiles();
77 std::vector<::terralib4::ThemeInfo> getTL4Themes();
79 TeTheme* getTL4Theme(const ::terralib4::ThemeInfo& theme);
81 int getLayerSRID(
const std::string & layerName);
85 void create(
const std::string& dsInfo);
87 void drop(
const std::string& dsInfo);
89 bool exists(
const std::string& dsInfo);
91 std::vector<std::string> getDataSourceNames(
const std::string& dsInfo);
103 #endif // __TERRALIB_TERRALIB4_INTERNAL_DATASOURCE_H static te::da::SQLDialect * sm_dialect
It represents the SQL query dialect accepted by a given data source.
static te::da::DataSourceCapabilities sm_capabilities
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
Configuration flags for the TerraLib 4 driver.
A class to store the proxy information that must be used to access data located in URIs...
#define TETERRALIB4EXPORT
You can use this macro in order to export/import classes and functions from this module.