Data Access

The data access module provides a basic framework for accessing data. More...

Classes

class  te::da::DataSet
 A dataset is the unit of information manipulated by the data access module of TerraLib. More...
 
class  te::da::DataSetCapabilities
 A class that informs what the dataset implementation of a given data source can perform. More...
 
class  te::da::DataSetType
 A class that models the description of a dataset. More...
 
class  te::da::DataSetTypeCapabilities
 A class that informs what kind of constraint and index is supported by a given data source. More...
 
class  te::da::DataSource
 An abstract class for data providers like a DBMS, Web Services or a regular file. More...
 
class  te::da::DataSourceCapabilities
 A class that represents the known capabilities of a specific data source, i.e. this class informs all information about what the data source can perform. Here you will find if the data source implementation supports primary keys, foreign keys, if it can be used in a thread environment and much more information. More...
 
class  te::da::DataSourceCatalog
 It represents the system catalog of a DataSource. More...
 
class  te::da::DataSourceCatalogManager
 This is a singleton for managing all the data source catalog instances available in the system. More...
 
class  te::da::DataSourceFactory
 A factory for data sources. More...
 
class  te::da::DataSourceInfo
 A class that represents a data source component. More...
 
class  te::da::DataSourceInfoManager
 A singleton to keep all the registered data sources. More...
 
class  te::da::DataSourceManager
 This is a singleton for managing all data source instances available in the system. More...
 
class  te::da::DataSourceTransactor
 A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things into it. More...
 
class  te::da::Query
 A Query is independent from the data source language/dialect. More...
 
class  te::da::QueryCapabilities
 A class that informs the query support of a given data source. More...
 
class  te::da::QueryVisitor
 A visitor interface for the Query hierarchy. More...
 
class  te::da::Select
 A Select models a query to be used when retrieving data from a DataSource. More...
 
class  te::da::SQLDialect
 It represents the SQL query dialect accepted by a given data source. More...
 

Detailed Description

The data access module provides a basic framework for accessing data.

It is designed towards data interoperability. You can write your own driver for accessing a different data source. Of course, we provide some basic data sources drivers.

The Data Access module provides the fundamental layer for applications that handle spatial data from different sources, ranging from traditional DBMSs to OGC Web Services.

This module is composed by some base abstract classes that must be extended to allow the creation of Data Access Drivers which actually implement all the details needed to access data in a specific format or system.

This module provides the base foundation for an application discover what is stored in a data source and how the data is organized in it. Keep in mind that this organization is the low-level organization of the data. For instance, in a DBMS, you can find out the tables stored in a database and the relationships between them or detailed informations about their columns (data type, name and constraints).

It is not the role of this module to provide higher-level metadata about the data stored in a data source.

The main classes/concepts in this module are listed here. The namespace associated to the Data Access module is te::da. To know more about it, see the te::da namespace documentation.