2015-05-20 22:46:27 +00:00
|
|
|
package internal;
|
|
|
|
|
|
|
|
message WriteShardRequest {
|
|
|
|
required uint64 ShardID = 1;
|
2015-09-15 22:21:39 +00:00
|
|
|
repeated bytes Points = 2;
|
2015-05-20 22:46:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message WriteShardResponse {
|
|
|
|
required int32 Code = 1;
|
|
|
|
optional string Message = 2;
|
|
|
|
}
|
|
|
|
|
2015-07-16 21:27:29 +00:00
|
|
|
message MapShardRequest {
|
|
|
|
required uint64 ShardID = 1;
|
|
|
|
required string Query = 2;
|
|
|
|
required int32 ChunkSize = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message MapShardResponse {
|
|
|
|
required int32 Code = 1;
|
|
|
|
optional string Message = 2;
|
|
|
|
optional bytes Data = 3;
|
|
|
|
repeated string TagSets = 4;
|
2015-07-28 22:49:18 +00:00
|
|
|
repeated string Fields = 5;
|
2015-09-15 22:21:39 +00:00
|
|
|
}
|