|
Covalent Bond
0.0.1-alpha
'covalent bond' is a data middle office. As a 2022-2023 Fall SWE final project.
|
Go to the documentation of this file.
11 #ifndef __SERVER_API_HPP_
12 #define __SERVER_API_HPP_
14 #include "wfrest/HttpMsg.h"
21 #if defined(__unix__) && defined(__clang__)
27 #include <wfrest/json.hpp>
31 using namespace wfrest;
60 void Node_leaf_connect(
int nodeleftnum,
int noderightnum,
int nowinputsnum, HttpResp* resp);
61 void Node_op_connect(
int nodeleftnum,
int nowinputsnum, HttpResp* resp);
65 #endif //! __SERVER_API_HPP_
void createOpNode(HttpResp *resp, cb::trans::opMapStruct &opMapStruct)
void outbaseo(HttpResp *resp)
void createLeafNode(HttpResp *resp, cb::trans::leafMapStruct &leafMapStruct, trivial::cbMySqlDevice *leafNode)
void createFinNode(int posy, int opCodeNow, HttpResp *resp)
void Node_op_connect(int nodeleftnum, int nowinputsnum, HttpResp *resp)
std::vector< int > inputNodeCode
void Node_leaf_connect(int nodeleftnum, int noderightnum, int nowinputsnum, HttpResp *resp)
The compute graph(DAG), a prepared graph for task flow to execute. It works as a state machine.
abstract virtual device. Provide MySql/Redis/Kafka warper. All virtual device will handle the connect...
void outbase(HttpResp *resp)
cb::graph::cbComputeGraph * addGraph(int32_t idx, const std::string &cmd, trivial::cbVirtualDeviceManager *vdm)