Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
milvus
milvus
提交
231b2169
M
milvus
项目概览
milvus
/
milvus
12 个月 前同步成功
通知
261
Star
22476
Fork
2472
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
milvus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
231b2169
编写于
4月 29, 2019
作者:
G
groot
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add namespace for thrift api
Former-commit-id: 92f9e0a0f7d2e301120573976984f99062b8f44e
上级
e1efe942
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
25 addition
and
12 deletion
+25
-12
cpp/src/thrift/VectorService.thrift
cpp/src/thrift/VectorService.thrift
+10
-0
cpp/src/thrift/gen-cpp/VecService.cpp
cpp/src/thrift/gen-cpp/VecService.cpp
+2
-2
cpp/src/thrift/gen-cpp/VecService.h
cpp/src/thrift/gen-cpp/VecService.h
+2
-2
cpp/src/thrift/gen-cpp/VecService_server.skeleton.cpp
cpp/src/thrift/gen-cpp/VecService_server.skeleton.cpp
+2
-0
cpp/src/thrift/gen-cpp/VectorService_constants.cpp
cpp/src/thrift/gen-cpp/VectorService_constants.cpp
+2
-2
cpp/src/thrift/gen-cpp/VectorService_constants.h
cpp/src/thrift/gen-cpp/VectorService_constants.h
+2
-2
cpp/src/thrift/gen-cpp/VectorService_types.cpp
cpp/src/thrift/gen-cpp/VectorService_types.cpp
+2
-2
cpp/src/thrift/gen-cpp/VectorService_types.h
cpp/src/thrift/gen-cpp/VectorService_types.h
+2
-2
cpp/test_client/src/ClientTest.cpp
cpp/test_client/src/ClientTest.cpp
+1
-0
未找到文件。
cpp/src/thrift/VectorService.thrift
浏览文件 @
231b2169
...
...
@@ -3,6 +3,16 @@
* Unauthorized copying of this file, via any medium is strictly prohibited.
* Proprietary and confidential.
******************************************************************************/
namespace cl zilliz
namespace cpp zilliz
namespace py zilliz
namespace d zilliz
namespace dart zilliz
namespace java zilliz
namespace perl zilliz
namespace php zilliz
namespace haxe zilliz
namespace netcore zilliz
enum VecErrCode {
SUCCESS = 0,
...
...
cpp/src/thrift/gen-cpp/VecService.cpp
浏览文件 @
231b2169
...
...
@@ -6,7 +6,7 @@
*/
#include "VecService.h"
namespace
zilliz
{
VecService_add_group_args
::~
VecService_add_group_args
()
throw
()
{
...
...
@@ -4673,5 +4673,5 @@ void VecServiceConcurrentClient::recv_search_binary_vector_batch(VecSearchResult
}
// end while(true)
}
}
// namespace
cpp/src/thrift/gen-cpp/VecService.h
浏览文件 @
231b2169
...
...
@@ -11,7 +11,7 @@
#include <thrift/async/TConcurrentClientSyncInfo.h>
#include "VectorService_types.h"
namespace
zilliz
{
#ifdef _MSC_VER
#pragma warning( push )
...
...
@@ -1725,6 +1725,6 @@ class VecServiceConcurrentClient : virtual public VecServiceIf {
#pragma warning( pop )
#endif
}
// namespace
#endif
cpp/src/thrift/gen-cpp/VecService_server.skeleton.cpp
浏览文件 @
231b2169
...
...
@@ -12,6 +12,8 @@ using namespace ::apache::thrift::protocol;
using
namespace
::
apache
::
thrift
::
transport
;
using
namespace
::
apache
::
thrift
::
server
;
using
namespace
::
zilliz
;
class
VecServiceHandler
:
virtual
public
VecServiceIf
{
public:
VecServiceHandler
()
{
...
...
cpp/src/thrift/gen-cpp/VectorService_constants.cpp
浏览文件 @
231b2169
...
...
@@ -6,12 +6,12 @@
*/
#include "VectorService_constants.h"
namespace
zilliz
{
const
VectorServiceConstants
g_VectorService_constants
;
VectorServiceConstants
::
VectorServiceConstants
()
{
}
}
// namespace
cpp/src/thrift/gen-cpp/VectorService_constants.h
浏览文件 @
231b2169
...
...
@@ -9,7 +9,7 @@
#include "VectorService_types.h"
namespace
zilliz
{
class
VectorServiceConstants
{
public:
...
...
@@ -19,6 +19,6 @@ class VectorServiceConstants {
extern
const
VectorServiceConstants
g_VectorService_constants
;
}
// namespace
#endif
cpp/src/thrift/gen-cpp/VectorService_types.cpp
浏览文件 @
231b2169
...
...
@@ -11,7 +11,7 @@
#include <thrift/TToString.h>
namespace
zilliz
{
int
_kVecErrCodeValues
[]
=
{
VecErrCode
::
SUCCESS
,
...
...
@@ -1793,4 +1793,4 @@ void VecSearchFilter::printTo(std::ostream& out) const {
out
<<
")"
;
}
}
// namespace
cpp/src/thrift/gen-cpp/VectorService_types.h
浏览文件 @
231b2169
...
...
@@ -18,7 +18,7 @@
#include <thrift/stdcxx.h>
namespace
zilliz
{
struct
VecErrCode
{
enum
type
{
...
...
@@ -648,6 +648,6 @@ void swap(VecSearchFilter &a, VecSearchFilter &b);
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
VecSearchFilter
&
obj
);
}
// namespace
#endif
cpp/test_client/src/ClientTest.cpp
浏览文件 @
231b2169
...
...
@@ -12,6 +12,7 @@
#include <time.h>
using
namespace
zilliz
;
using
namespace
zilliz
::
vecwise
;
namespace
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录