28 #ifndef __TERRALIB_DATAACCESS_INTERNAL_DATAACCESS_H 29 #define __TERRALIB_DATAACCESS_INTERNAL_DATAACCESS_H 31 #include "../Config.h" 34 #include "../datasource/DataSource.h" 60 class DataSetTypeConverter;
118 bool dataSetExists()
const;
125 std::string getDataSourceConnectionInfo();
132 std::string getDataSetName()
const;
184 std::string getStrQuery()
const;
191 std::unique_ptr<te::da::DataSet> getDataSet()
const;
208 std::unique_ptr<te::da::DataSet> query(
const te::da::Select& select);
209 std::unique_ptr<te::da::DataSet> query(
const std::string& query);
225 void saveDataSet(
te::da::DataSet* dataSet,
bool enableProgress =
true);
234 std::vector<std::string> getDistinctValues(
const std::string& attributeName);
245 te::da::Literal* getLiteral(
const std::string& attributeName,
const std::string& value);
287 #endif // __TERRALIB_DATAACCESS_INTERNAL_DATAACCESS_H boost::shared_ptr< DataSource > DataSourcePtr
A class that models the description of a dataset.
std::string m_dataSetName
Dataset name.
std::unique_ptr< te::da::DataSetType > m_dataSetType
Data set type.
An converter for DataSetType.
std::unique_ptr< te::da::Select > m_dataSetQuery
Filter used to load data with restriction.
An Envelope defines a 2D rectangular region.
This class models a literal value.
This class represents a set of unique ids created in the same context. i.e. from the same data set...
A Select models a query to be used when retrieving data from a DataSource.
A class to store the proxy information that must be used to access data located in URIs...
A dataset is the unit of information manipulated by the data access module of TerraLib.
std::unique_ptr< te::da::ObjectIdSet > m_objectIdSetFilter
A optional filter containg an objectId set.
DataAccessPtr(te::da::DataAccess *dataAccess=nullptr)
DataAccessSharedPtr(te::da::DataAccess *dataAccess=nullptr)
te::da::DataSourcePtr m_dataSource
Data source.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Class used to centralize and control access to data in terralib. It aims to create a high-level inter...
std::unique_ptr< te::da::DataSetTypeConverter > m_dataSetTypeConverter
DataSetType Converter.