41 lines
822 B
Protocol Buffer
41 lines
822 B
Protocol Buffer
package ss;
|
|
|
|
message SS_Ping
|
|
{
|
|
}
|
|
|
|
message SS_Pong
|
|
{
|
|
optional int32 param1 = 1;
|
|
}
|
|
|
|
//行数据
|
|
message MFRow
|
|
{
|
|
repeated bytes values = 1; //数据
|
|
}
|
|
|
|
//数据集
|
|
message MFDataSet
|
|
{
|
|
repeated MFRow rows = 1; //行数据
|
|
}
|
|
|
|
//运行异步sql
|
|
message SS_GSM_ExecAsyncSql
|
|
{
|
|
optional int32 exec_type = 1; //查询类型0: single 1:pool
|
|
optional int32 query_type = 2; //查询类型0: execquery 1:execscript
|
|
optional int64 context_id = 3; //上下文id
|
|
optional bytes sql = 4; //sql语句
|
|
optional int64 hash_code = 5; //hash值
|
|
}
|
|
|
|
message SS_DPM_ExecAsyncSql
|
|
{
|
|
optional int64 context_id = 1; //上下文id
|
|
optional bytes sql = 2; //sql语句
|
|
optional int32 error_code = 3; //错误码
|
|
optional bytes error_msg = 4; //错误描述
|
|
optional MFDataSet data_set = 5; //数据集
|
|
} |