26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_DATASETTYPECAPABILITIES_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_DATASETTYPECAPABILITIES_H
30 #include "../Config.h"
55 bool supportsPrimaryKey()
const;
57 void setSupportPrimaryKey(
const bool& support);
59 bool supportsUniqueKey()
const;
61 void setSupportUniqueKey(
const bool& support);
63 bool supportsForeignKey()
const;
65 void setSupportForeingKey(
const bool& support);
67 bool supportsSequence()
const;
69 void setSupportSequence(
const bool& support);
71 bool supportsCheckConstraints()
const;
73 void setSupportCheckConstraints(
const bool& support);
75 bool supportsIndex()
const;
77 void setSupportIndex(
const bool& support);
79 bool supportsRTreeIndex()
const;
81 void setSupportRTreeIndex(
const bool& support);
83 bool supportsBTreeIndex()
const;
85 void setSupportBTreeIndex(
const bool& support);
87 bool supportsHashIndex()
const;
89 void setSupportHashIndex(
const bool& support);
91 bool supportsQuadTreeIndex()
const;
97 bool supportsAddColumn()
const;
99 void setSupportAddColumn(
const bool& support);
101 bool supportsRemoveColumn()
const;
103 void setSupportRemoveColumn(
const bool& support);
105 bool supportsDataEdition()
const;
107 void setSupportDataEdition(
const bool& support);
129 #endif // __TERRALIB_DATAACCESS_INTERNAL_DATASETTYPECAPABILITIES_H
bool m_supportQuadTreeIndex
A flag that indicates if the data source supports quad-tree indexes.
A class that informs what kind of constraint and index is supported by a given data source...
bool m_supportPrimaryKey
A flag that indicates if the data source supports primary key constraint.
bool m_supportForeignKey
A flag that indicates if the data source supports foreign key constraint.
bool m_supportUniqueKey
A flag that indicates if the data source supports unique key constraint.
bool m_supportBTreeIndex
A flag that indicates if the data source supports b-tree indexes.
bool m_supportCheckConstraints
A flag that indicates if the data source supports check-constraints.
bool m_supportSequence
A flag that indicates if the data source supports sequence constraint.
bool m_supportRTreeIndex
A flag that indicates if the data source supports r-tree indexes.
dataTypeCapabilities setSupportAll()
bool m_supportRemoveColumn
A flag that indicates if the data set supports removing columns.
dataSetTypeCapabilities setSupportQuadTreeIndex(false)
bool m_supportHashIndex
A flag that indicates if the data source supports hash indexes.
bool m_supportIndex
A flag that indicates if the data source supports some type of index.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
bool m_supportDataEdition
A flag that indicates if the data set supports data edition.
bool m_supportAddColumn
A flag that indicates if the data set supports adding columns.