提交 da47eeec 编写于 作者: S slguan

#1177

上级 aaeac496
......@@ -20,6 +20,12 @@
extern "C" {
#endif
/*
* Dnode handle read messages
* The processing result is returned by callback function with pShellObj parameter
*/
int32_t dnodeReadData(SQueryMeterMsg *msg, void *pShellObj, void (*callback)(SQueryMeterRsp *rspMsg, void *pShellObj));
#ifdef __cplusplus
}
#endif
......
......@@ -53,7 +53,7 @@ int32_t dnodeConfigVnode(int vid, SVnodeCfg *cfg);
/*
* Modify vnode replication information
*/
int32_t dnodeConfigVnodePeers(int vid, SVpeerCfg *cfg);
int32_t dnodeConfigVnodePeers(int vid, /*SVpeerCfgMsg *cfg*/);
/*
* Remove vnode from local repository
......@@ -65,6 +65,7 @@ int32_t dnodeDropVnode(int vid);
*/
tsdb_repo_t* dnodeGetVnode(int vid);
#ifdef __cplusplus
}
#endif
......
......@@ -20,6 +20,32 @@
extern "C" {
#endif
/*
* Check if table already exists
*/
int32_t dnodeCheckTableExist(int vid, int sid, int64_t uid);
/*
* Create table with specified configuration and open it
*/
int32_t dnodeCreateTable(int vid, int sid, SMeterObj *table);
/*
* Modify table configuration information
*/
int32_t dnodeAlterTable(int vid, SMeterObj *table);
/*
* Remove table from local repository
*/
int32_t dnodeDropTable(int vid, int sid, int64_t uid);
/*
* Write data based on dnode
*/
int32_t dnodeWriteData(SShellSubmitMsg *msg);
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册