Go to the documentation of this file.
26 #ifndef __TERRALIB_GRAPH_INTERNAL_CONFIG_H
27 #define __TERRALIB_GRAPH_INTERNAL_CONFIG_H
29 #define TE_GRAPH_MODULE_NAME "te.graph"
41 #define TE_GRAPH_MODULE_IDENTIFIER "GRAPH"
48 #define TE_DEFAULT_GRAPH_TYPE TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH
55 #define TE_DEFAULT_CACHE_POLICY_TYPE TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO
62 #define TE_DEFAULT_GRAPH_LOADER_STRATEGY_TYPE TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX
69 #define TE_GRAPH_DEFAULT_MAX_CACHE_SIZE 100000
76 #define TE_GRAPH_DEFAULT_MAX_VEC_CACHE_SIZE 5
83 #define TE_GRAPH_DEFAULT_BOX_STRATEGY_LOADER_SIZE 20
90 #define TE_GRAPH_STORAGE_MODE_BY_VERTEX "GRAPH_STORAGE_MODE_BY_VERTEX"
97 #define TE_GRAPH_STORAGE_MODE_BY_EDGE "GRAPH_STORAGE_MODE_BY_EDGE"
105 #define TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH "GRAPH"
106 #define TE_GRAPH_FACTORY_GRAPH_TYPE_BIDIRECTIONALGRAPH "BIDIRECTIONALGRAPH"
107 #define TE_GRAPH_FACTORY_GRAPH_TYPE_DIRECTEDGRAPH "DIRECTEDGRAPH"
108 #define TE_GRAPH_FACTORY_GRAPH_TYPE_UNDIRECTEDGRAPH "UNDIRECTEDGRAPH"
110 #define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO "FIFO"
111 #define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_LFU "LFU"
113 #define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX "BOX_LOADER_STRATEGY"
114 #define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_SEQUENCE "SEQUENCE_LOADER_STRATEGY"
123 #define TE_GRAPH_GRAPH_TABLE_NAME "te_graph"
124 #define TE_GRAPH_GRAPH_TABLE_ATTR_ID "id"
125 #define TE_GRAPH_GRAPH_TABLE_ATTR_NAME "name"
126 #define TE_GRAPH_GRAPH_TABLE_ATTR_TYPE "type"
127 #define TE_GRAPH_GRAPH_TABLE_ATTR_TABLE_NAME "table_name"
128 #define TE_GRAPH_GRAPH_TABLE_ATTR_DESCRIPTION "description"
130 #define TE_GRAPH_GRAPH_ATTR_TABLE_NAME "te_graph_attr"
131 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_ID "id"
132 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_GRAPH_ID "graph_id"
133 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TABLE "table_name"
134 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_COLUMN "column_name"
135 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_LINK "link_column"
136 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TYPE "type"
138 #define TE_GRAPH_GRAPH_TABLE_ATTR_EDGE_SUFIX "_attr_model_edge"
139 #define TE_GRAPH_GRAPH_TABLE_EDGE_SUFIX "_model_edge"
140 #define TE_GRAPH_GRAPH_EDGE_MODEL_ID "edge_id"
141 #define TE_GRAPH_GRAPH_EDGE_MODEL_VFROM "vertex_from"
142 #define TE_GRAPH_GRAPH_EDGE_MODEL_VTO "vertex_to"
144 #define TE_GRAPH_GRAPH_TABLE_ATTR_VERTEX_SUFIX "_attr_model_vertex"
145 #define TE_GRAPH_GRAPH_TABLE_VERTEX_SUFIX "_model_vertex"
146 #define TE_GRAPH_GRAPH_VERTEX_MODEL_ID "vertex_id"
166 #pragma warning( disable : 4251 )
167 #pragma warning( disable : 4275 )
171 #define TEGRAPHEXPORT
173 #define TEGRAPHEXPORT __declspec(dllexport)
175 #define TEGRAPHEXPORT __declspec(dllimport)
178 #define TEGRAPHEXPORT