26 #ifndef __TERRALIB_WFS_INTERNAL_TRANSACTOR_H    27 #define __TERRALIB_WFS_INTERNAL_TRANSACTOR_H    30 #include "../dataaccess/datasource/DataSourceTransactor.h"    66         bool isInTransaction() 
const;
    68         std::auto_ptr<te::da::DataSet> getDataSet(
const std::string& name,
    70                                                   bool connected = 
false,
    73         std::auto_ptr<te::da::DataSet> getDataSet(
const std::string& name,
    74                                                   const std::string& propertyName,
    78                                                   bool connected = 
false,
    81         std::auto_ptr<te::da::DataSet> getDataSet(
const std::string& name,
    82                                                   const std::string& propertyName,
    86                                                   bool connected = 
false,
    91                                              bool connected = 
false,
    94         std::auto_ptr<te::da::DataSet> query(
const std::string& query,
    96                                              bool connected = 
false,
   101         void execute(
const std::string& command);
   103         std::auto_ptr<te::da::PreparedQuery> getPrepared(
const std::string& qName = std::string(
""));
   105         std::auto_ptr<te::da::BatchExecutor> getBatchExecutor();
   109         boost::int64_t getLastGeneratedId();
   111         std::string escape(
const std::string& value);
   113         bool isDataSetNameValid(
const std::string& datasetName);
   115         bool isPropertyNameValid(
const std::string& propertyName);
   117         std::vector<std::string> getDataSetNames();
   119         std::size_t getNumberOfDataSets();
   121         std::auto_ptr<te::da::DataSetType> getDataSetType(
const std::string& name);
   123         boost::ptr_vector<te::dt::Property> getProperties(
const std::string& datasetName);
   125         std::auto_ptr<te::dt::Property> getProperty(
const std::string& datasetName, 
const std::string& name);
   127         std::auto_ptr<te::dt::Property> getProperty(
const std::string& datasetName, std::size_t propertyPos);
   129         std::vector<std::string> getPropertyNames(
const std::string& datasetName);
   131         std::size_t getNumberOfProperties(
const std::string& datasetName);
   133         bool propertyExists(
const std::string& datasetName, 
const std::string& name);
   137         void dropProperty(
const std::string& datasetName, 
const std::string& name);
   139         void renameProperty(
const std::string& datasetName , 
const std::string& propertyName, 
const std::string& newPropertyName);
   141         std::auto_ptr<te::da::PrimaryKey> getPrimaryKey(
const std::string& datasetName);
   143         bool primaryKeyExists(
const std::string& datasetName, 
const std::string& name);
   147         void dropPrimaryKey(
const std::string& datasetName);
   149         std::auto_ptr<te::da::ForeignKey> getForeignKey(
const std::string& datasetName, 
const std::string& name);
   151         std::vector<std::string> getForeignKeyNames(
const std::string& datasetName);
   153         bool foreignKeyExists(
const std::string& datasetName , 
const std::string& name);
   157         void dropForeignKey(
const std::string& datasetName , 
const std::string& fkName);
   159         std::auto_ptr<te::da::UniqueKey> getUniqueKey(
const std::string& datasetName, 
const std::string& name);
   161         std::vector<std::string> getUniqueKeyNames(
const std::string& datasetName);
   163         bool uniqueKeyExists(
const std::string& datasetName, 
const std::string& name);
   167         void dropUniqueKey(
const std::string& datasetName, 
const std::string& name);
   169         std::auto_ptr<te::da::CheckConstraint> getCheckConstraint(
const std::string& datasetName, 
const std::string& name);
   171         std::vector<std::string> getCheckConstraintNames(
const std::string& datasetName);
   173         bool checkConstraintExists(
const std::string& datasetName, 
const std::string& name);
   177         void dropCheckConstraint(
const std::string& datasetName, 
const std::string& name);
   179         std::auto_ptr<te::da::Index> getIndex(
const std::string& datasetName, 
const std::string& name);
   181         std::vector<std::string> getIndexNames(
const std::string& datasetName);
   183         bool indexExists(
const std::string& datasetName, 
const std::string& name);
   185         void addIndex(
const std::string& datasetName, 
te::da::Index* idx, 
const std::map<std::string, std::string>& options);
   187         void dropIndex(
const std::string& datasetName, 
const std::string& idxName);
   189         std::auto_ptr<te::da::Sequence> getSequence(
const std::string& name);
   191         std::vector<std::string> getSequenceNames();
   193         bool sequenceExists(
const std::string& name);
   197         void dropSequence(
const std::string& name);
   199         std::auto_ptr<te::gm::Envelope> getExtent(
const std::string& datasetName,
   200                                                   const std::string& propertyName);
   202         std::auto_ptr<te::gm::Envelope> getExtent(
const std::string& datasetName,
   203                                                   std::size_t propertyPos);
   205         std::size_t getNumberOfItems(
const std::string& datasetName);
   209         bool dataSetExists(
const std::string& name);
   212                            const std::map<std::string, std::string>& options);
   214         void cloneDataSet(
const std::string& name,
   215                           const std::string& cloneName,
   216                           const std::map<std::string, std::string>& options);
   218         void dropDataSet(
const std::string& name);
   220         void renameDataSet(
const std::string& name,
   221                            const std::string& newName);
   223         void add(
const std::string& datasetName,
   225                  const std::map<std::string, std::string>& options,
   226                  std::size_t limit = 0,
   227                  bool enableProgress = 
true);
   231         void update(
const std::string& datasetName,
   233                     const std::vector<std::size_t>& properties,
   235                     const std::map<std::string, std::string>& options,
   236                     std::size_t limit = 0);
   238         void optimize(
const std::map<std::string, std::string>& opInfo);
   248 #endif // __TERRALIB_WFS_INTERNAL_TRANSACTOR_H Implementation of the transactor for the WFS driver. 
 
A class that models the description of a dataset. 
 
SpatialRelation
Spatial relations between geometric objects. 
 
It describes a sequence (a number generator). 
 
A class that describes a check constraint. 
 
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
 
It models a property definition. 
 
#define TEWFSEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
Implementation of the data source for the WFS driver. 
 
AccessPolicy
Supported data access policies (can be used as bitfield). 
 
TraverseType
A dataset can be traversed in two ways: 
 
An Envelope defines a 2D rectangular region. 
 
This class represents a set of unique ids created in the same context. i.e. from the same data set...
 
It models a foreign key constraint for a DataSetType. 
 
It describes a unique key (uk) constraint. 
 
A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things in...
 
Configuration flags for the TerraLib WFS module. 
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards. 
 
A Select models a query to be used when retrieving data from a DataSource. 
 
A dataset is the unit of information manipulated by the data access module of TerraLib. 
 
It describes a primary key (pk) constraint. 
 
A Query is independent from the data source language/dialect. 
 
It describes an index associated to a DataSetType.