GDBMS 1.0
|
#include <transaction_mode_commands_edges.h>
Static Public Member Functions | |
static int | AddEdge (int transaction_USCOREid, std::string edge_USCOREname, std::string edge_USCOREtype, struct ns1__AddEdgeResponse &_param_21) |
Operation AddEdge. | |
static int | AddValueToEdge (int transaction_USCOREid, std::string edge_USCOREname, std::string path, std::string value, struct ns1__AddValueToEdgeResponse &_param_22) |
Operation AddValueToEdge. | |
static int | DeleteEdge (int transaction_USCOREid, std::string edge_USCOREname, struct ns1__DeleteEdgeResponse &_param_23) |
Operation DeleteEdge. |
Definition at line 1 of file transaction_mode_commands_edges.h.
int transaction_mode_commands_edges::AddEdge | ( | int | transaction_USCOREid, |
std::string | edge_USCOREname, | ||
std::string | edge_USCOREtype, | ||
struct ns1__AddEdgeResponse & | _param_21 | ||
) | [static] |
Operation AddEdge.
transaction_USCOREid | an integer id of the transaction. |
edge_USCOREname | a string node name. If the edge_USCOREname doesn't fit in below listed patterns, simply a non connected edge is added. To add a connected edge or a connection to an existing edge, call the same operation but with edge_USCOREname fitting in the following patterns: ([EDGNAME]) with incoming Nodes([NODESLIST]) and outgoing Nodes([NODESLIST]); [EDGNAME] represent the name of the edge to be created. [NODESLIST] represents |
Link for Edge([EDGNAME]) with incoming Node([NODENAME]);
[EDGNAME] represent the name of the edge which is about to be linked. [NODENAME] represents the incoming node. The edge and the node already exist. Just the link is added.
Link for Edge([EDGNAME]) with outgoing Node([NODENAME]);
[EDGNAME] represent the name of the edge which is about to be linked. [NODENAME] represents the outgoing node. The edge and the node already exist. Just the link is added.
edge_USCOREtype | the type of the node. |
_param_21 | structure containing the return value |
This function adds an edge.
Definition at line 16 of file transaction_mode_commands_edges.cpp.
int transaction_mode_commands_edges::AddValueToEdge | ( | int | transaction_USCOREid, |
std::string | edge_USCOREname, | ||
std::string | path, | ||
std::string | value, | ||
struct ns1__AddValueToEdgeResponse & | _param_22 | ||
) | [static] |
Operation AddValueToEdge.
transaction_USCOREid | an integer id of the transaction. |
edge_USCOREname | a string node name |
path | a . separated type names path to a value. An array element is chosen like: INT[3] if there is an array of type INT. |
value | the string representation of the value to be added |
_param_22 | structure containing the return value |
This function adds a value to an existing edge with a provided type path in the type tree of the edge.
Definition at line 231 of file transaction_mode_commands_edges.cpp.
int transaction_mode_commands_edges::DeleteEdge | ( | int | transaction_USCOREid, |
std::string | edge_USCOREname, | ||
struct ns1__DeleteEdgeResponse & | _param_23 | ||
) | [static] |
Operation DeleteEdge.
transaction_USCOREid | an integer id of the transaction. |
edge_USCOREname | a string edge name |
_param_23 | structure containing the return value |
This function deletes an edge and its dependent connections to nodes.
Definition at line 356 of file transaction_mode_commands_edges.cpp.