26 #ifndef __TERRALIB_EXAMPLES_DATAACCESS_INTERNAL_DATAACCESSEXAMPLES_H 27 #define __TERRALIB_EXAMPLES_DATAACCESS_INTERNAL_DATAACCESSEXAMPLES_H 30 #include <terralib_buildconfig.h> 258 #endif // __TERRALIB_EXAMPLES_DATAACCESS_INTERNAL_DATAACCESSEXAMPLES_H void OGRExampleRead()
An example using OGR data source driver to retrieve data from a datafile.
An atomic property like an integer or double.
void MySQLExample()
An example using MySQL data source driver.
A class that models the description of a dataset.
void RetrieveUsingSpatialFilter(te::da::DataSource *ds)
An example showing how to retrieve data using a spatial filter.
void PostGISExample()
An example using PostGIS data source driver.
void QueryExample()
Quering a dataset.
void DroppingDataSetTypeProperty(const std::string &datasetname, const std::string &propname, te::da::DataSourceTransactor *trans)
It removes a property from the data set type and from the associated data source. ...
Forward declarations for the Data Access module.
static te::dt::Date ds(2010, 01, 01)
void LoadModules()
It loads the data source drivers.
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
void PrintDataSourceCapabilities(te::da::DataSource *ds)
It retrieves and prints the capabilities of a given data source.
te::da::UniqueKey * AddUniqueKey(const std::string &datasetname, te::da::DataSourceTransactor *transactor)
void DataSetAdapter()
DataSet Adapter example.
void SQLiteExample()
An example using SQLite data source driver.
te::da::DataSetType * CreateDataSetType(const std::string &datasetname, te::da::DataSetType *dt, te::da::DataSourceTransactor *transactor)
te::da::Index * AddSpatialIndex(const std::string &datasetname, te::da::DataSourceTransactor *transactor)
void ObjectId()
ObjectId example.
void DataSetGetExtent(te::da::DataSourceTransactor *transactor)
An example showing how to retrieve the extent of a DataSet.
static te::dt::TimeDuration dt(20, 30, 50, 11)
A factory for data sources.
te::da::DataSet * CreatingDataSetInMemory(const std::string &datasetName)
It creates a data set in memory.
te::da::DataSetType * CreateDataSetTypeInMemory(const std::string &datasettypename)
void CopyingData()
This example shows how to copy a given dataset from one data source to another one.
It describes a unique key (uk) constraint.
A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things in...
void ORGExampleWrite()
An example using OGR data source driver to persist data to a datafile.
void CopyingDataSetToDataSource(te::da::DataSet *dataSet, const std::string &dsName, std::map< std::string, std::string > &dsInfo)
It copies a data set to a data source.
void GDALExample()
An example using GDAL data source driver.
void PrintCatalog(te::da::DataSource *ds)
This example will print to standard output all information about the datasets stored in the data sour...
This file contains forward declarations for the Data Type module of TerraLib.
void ExportingOGR()
An example using OGR data source driver to export some ;.
A dataset is the unit of information manipulated by the data access module of TerraLib.
It describes a primary key (pk) constraint.
te::da::PrimaryKey * AddPrimaryKey(const std::string &datasetname, te::da::DataSourceTransactor *transactor)
te::da::DataSet * CreatingDataSetInMemoryGivingDt(te::da::DataSetType *dt)
void AddingDataSetPropertyValues(te::da::DataSet *ds)
It adds a new data set property and its values.
void PrintDataSets(te::da::DataSource *ds)
It prints datasets in a given data source.
void DroppingDataSetType(const std::string &datasetname, te::da::DataSourceTransactor *trans)
It removes a data set type from the associated data source.
te::dt::SimpleProperty * AddProperty(const std::string &datasetname, te::da::DataSourceTransactor *transactor)
This file contains include headers for the TerraLib Common Runtime module.
This file contains include headers for the Vector Geometry model of TerraLib.
This file contains include headers for the Data Access module of TerraLib.
void MemoryExample()
This example shows how to create DataSet and DataSetType in memory.
void QueryInsertExample()
Quering Insert clause.
It describes an index associated to a DataSetType.
void PrintDataSet(std::string datasetName, te::da::DataSet *dataset)
It prints the data in a given dataset.
void PersistenceExample()
This example shows how to use the TerraLib Persistence.