27 #ifndef __TERRALIB_GRAPH_INTERNAL_DATASOURCEGRAPHMETADATA_H
28 #define __TERRALIB_GRAPH_INTERNAL_DATASOURCEGRAPHMETADATA_H
31 #include "../../core/GraphMetadata.h"
32 #include "../../Config.h"
47 namespace gm {
class Envelope; }
110 virtual void removeVertexProperty(
int idx);
128 virtual void removeEdgeProperty(
int idx);
138 void createGraphMetadataTable();
146 void createGraphAttributesTable();
155 void createGraphTableVertexModel();
162 void createGraphTableEdgeModel();
170 void createVertexAttrTable();
178 void createEdgeAttrTable();
195 bool isValidGraphName(std::string graphName);
202 void addGraphTableNewEntry();
211 void addGraphAttrTableNewEntry();
228 void saveGraphAttrTableNewEntry(
int graphId, std::string tableName, std::string attrName, std::string linkColumn,
te::graph::GraphAttrType type);
250 void removeProperty(std::string tableName, std::string propertyName);
258 void loadGraphInfo(
int id);
266 void loadGraphAttrInfo(
int id);
276 void loadVertexAttr(std::string tableName, std::string columnName);
286 void loadEdgeAttr(std::string tableName, std::string columnName);
291 void updateGraphId();
296 #endif // __TERRALIB_GRAPH_INTERNAL_DATASOURCEGRAPHMETADATA_H
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
A class that models the description of a dataset.
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
It models a property definition.