mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
be58ccb65e
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
36 lines
661 B
Protocol Buffer
36 lines
661 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package masterpb;
|
|
|
|
option go_package="master";
|
|
|
|
import "message.proto";
|
|
|
|
message Collection {
|
|
uint64 id=1;
|
|
string name=2;
|
|
milvus.grpc.Schema schema=3;
|
|
uint64 create_time=4;
|
|
repeated uint64 segment_ids=5;
|
|
repeated string partition_tags=6;
|
|
}
|
|
|
|
message Segment {
|
|
uint64 segment_id=1;
|
|
uint64 collection_id =2;
|
|
string partition_tag=3;
|
|
int32 channel_start=4;
|
|
int32 channel_end=5;
|
|
uint64 open_timestamp=6;
|
|
uint64 close_timestamp=7;
|
|
}
|
|
|
|
message SegmentStat {
|
|
uint64 segment_id=1;
|
|
uint64 memory_size=2;
|
|
float memory_rate=3;
|
|
}
|
|
|
|
service Master {
|
|
rpc CreateCollection(milvus.grpc.Mapping) returns (milvus.grpc.Status){}
|
|
} |