2021-01-14 14:24:14 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2021-06-22 19:08:03 +08:00
|
|
|
// source: query_coord.proto
|
2021-01-14 14:24:14 +08:00
|
|
|
|
|
|
|
package querypb
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
2023-06-09 01:28:37 +08:00
|
|
|
commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb"
|
|
|
|
milvuspb "github.com/milvus-io/milvus-proto/go-api/v2/milvuspb"
|
|
|
|
msgpb "github.com/milvus-io/milvus-proto/go-api/v2/msgpb"
|
|
|
|
schemapb "github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
|
2021-06-16 11:09:56 +08:00
|
|
|
datapb "github.com/milvus-io/milvus/internal/proto/datapb"
|
2023-04-26 10:14:41 +08:00
|
|
|
indexpb "github.com/milvus-io/milvus/internal/proto/indexpb"
|
2021-04-22 14:45:57 +08:00
|
|
|
internalpb "github.com/milvus-io/milvus/internal/proto/internalpb"
|
2021-01-14 14:24:14 +08:00
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
|
status "google.golang.org/grpc/status"
|
2023-03-04 23:21:50 +08:00
|
|
|
math "math"
|
2021-01-14 14:24:14 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
|
2023-03-27 00:42:00 +08:00
|
|
|
type LoadScope int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
LoadScope_Full LoadScope = 0
|
|
|
|
LoadScope_Delta LoadScope = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
var LoadScope_name = map[int32]string{
|
|
|
|
0: "Full",
|
|
|
|
1: "Delta",
|
|
|
|
}
|
|
|
|
|
|
|
|
var LoadScope_value = map[string]int32{
|
|
|
|
"Full": 0,
|
|
|
|
"Delta": 1,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x LoadScope) String() string {
|
|
|
|
return proto.EnumName(LoadScope_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (LoadScope) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{0}
|
|
|
|
}
|
|
|
|
|
2022-05-23 16:41:58 +08:00
|
|
|
type DataScope int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
DataScope_UnKnown DataScope = 0
|
|
|
|
DataScope_All DataScope = 1
|
|
|
|
DataScope_Streaming DataScope = 2
|
|
|
|
DataScope_Historical DataScope = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
var DataScope_name = map[int32]string{
|
|
|
|
0: "UnKnown",
|
|
|
|
1: "All",
|
|
|
|
2: "Streaming",
|
|
|
|
3: "Historical",
|
|
|
|
}
|
|
|
|
|
|
|
|
var DataScope_value = map[string]int32{
|
|
|
|
"UnKnown": 0,
|
|
|
|
"All": 1,
|
|
|
|
"Streaming": 2,
|
|
|
|
"Historical": 3,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x DataScope) String() string {
|
|
|
|
return proto.EnumName(DataScope_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (DataScope) EnumDescriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{1}
|
2022-05-23 16:41:58 +08:00
|
|
|
}
|
|
|
|
|
2021-01-14 14:24:14 +08:00
|
|
|
type PartitionState int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
PartitionState_NotExist PartitionState = 0
|
|
|
|
PartitionState_NotPresent PartitionState = 1
|
2021-01-22 14:28:06 +08:00
|
|
|
PartitionState_OnDisk PartitionState = 2
|
2021-01-14 14:24:14 +08:00
|
|
|
PartitionState_PartialInMemory PartitionState = 3
|
|
|
|
PartitionState_InMemory PartitionState = 4
|
|
|
|
PartitionState_PartialInGPU PartitionState = 5
|
|
|
|
PartitionState_InGPU PartitionState = 6
|
|
|
|
)
|
|
|
|
|
|
|
|
var PartitionState_name = map[int32]string{
|
|
|
|
0: "NotExist",
|
|
|
|
1: "NotPresent",
|
2021-01-22 14:28:06 +08:00
|
|
|
2: "OnDisk",
|
2021-01-14 14:24:14 +08:00
|
|
|
3: "PartialInMemory",
|
|
|
|
4: "InMemory",
|
|
|
|
5: "PartialInGPU",
|
|
|
|
6: "InGPU",
|
|
|
|
}
|
|
|
|
|
|
|
|
var PartitionState_value = map[string]int32{
|
|
|
|
"NotExist": 0,
|
|
|
|
"NotPresent": 1,
|
2021-01-22 14:28:06 +08:00
|
|
|
"OnDisk": 2,
|
2021-01-14 14:24:14 +08:00
|
|
|
"PartialInMemory": 3,
|
|
|
|
"InMemory": 4,
|
|
|
|
"PartialInGPU": 5,
|
|
|
|
"InGPU": 6,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x PartitionState) String() string {
|
|
|
|
return proto.EnumName(PartitionState_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (PartitionState) EnumDescriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{2}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type TriggerCondition int32
|
|
|
|
|
|
|
|
const (
|
2021-12-15 16:53:12 +08:00
|
|
|
TriggerCondition_UnKnowCondition TriggerCondition = 0
|
|
|
|
TriggerCondition_Handoff TriggerCondition = 1
|
|
|
|
TriggerCondition_LoadBalance TriggerCondition = 2
|
|
|
|
TriggerCondition_GrpcRequest TriggerCondition = 3
|
|
|
|
TriggerCondition_NodeDown TriggerCondition = 4
|
2021-06-15 12:41:40 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
var TriggerCondition_name = map[int32]string{
|
2021-12-15 16:53:12 +08:00
|
|
|
0: "UnKnowCondition",
|
|
|
|
1: "Handoff",
|
|
|
|
2: "LoadBalance",
|
|
|
|
3: "GrpcRequest",
|
|
|
|
4: "NodeDown",
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
var TriggerCondition_value = map[string]int32{
|
2021-12-15 16:53:12 +08:00
|
|
|
"UnKnowCondition": 0,
|
|
|
|
"Handoff": 1,
|
|
|
|
"LoadBalance": 2,
|
|
|
|
"GrpcRequest": 3,
|
|
|
|
"NodeDown": 4,
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x TriggerCondition) String() string {
|
|
|
|
return proto.EnumName(TriggerCondition_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (TriggerCondition) EnumDescriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{3}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
type LoadType int32
|
|
|
|
|
|
|
|
const (
|
2022-03-14 09:50:01 +08:00
|
|
|
LoadType_UnKnownType LoadType = 0
|
2021-12-15 16:53:12 +08:00
|
|
|
LoadType_LoadPartition LoadType = 1
|
2022-03-14 09:50:01 +08:00
|
|
|
LoadType_LoadCollection LoadType = 2
|
2021-08-02 22:39:25 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
var LoadType_name = map[int32]string{
|
2022-03-14 09:50:01 +08:00
|
|
|
0: "UnKnownType",
|
2021-12-15 16:53:12 +08:00
|
|
|
1: "LoadPartition",
|
2022-03-14 09:50:01 +08:00
|
|
|
2: "LoadCollection",
|
2021-08-02 22:39:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
var LoadType_value = map[string]int32{
|
2022-03-14 09:50:01 +08:00
|
|
|
"UnKnownType": 0,
|
2021-12-15 16:53:12 +08:00
|
|
|
"LoadPartition": 1,
|
2022-03-14 09:50:01 +08:00
|
|
|
"LoadCollection": 2,
|
2021-08-02 22:39:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x LoadType) String() string {
|
|
|
|
return proto.EnumName(LoadType_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (LoadType) EnumDescriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{4}
|
2021-08-02 22:39:25 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type LoadStatus int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
LoadStatus_Invalid LoadStatus = 0
|
|
|
|
LoadStatus_Loading LoadStatus = 1
|
|
|
|
LoadStatus_Loaded LoadStatus = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
var LoadStatus_name = map[int32]string{
|
|
|
|
0: "Invalid",
|
|
|
|
1: "Loading",
|
|
|
|
2: "Loaded",
|
|
|
|
}
|
|
|
|
|
|
|
|
var LoadStatus_value = map[string]int32{
|
|
|
|
"Invalid": 0,
|
|
|
|
"Loading": 1,
|
|
|
|
"Loaded": 2,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x LoadStatus) String() string {
|
|
|
|
return proto.EnumName(LoadStatus_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (LoadStatus) EnumDescriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{5}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type SyncType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
SyncType_Remove SyncType = 0
|
|
|
|
SyncType_Set SyncType = 1
|
2023-03-27 00:42:00 +08:00
|
|
|
SyncType_Amend SyncType = 2
|
2022-09-15 18:48:32 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
var SyncType_name = map[int32]string{
|
|
|
|
0: "Remove",
|
|
|
|
1: "Set",
|
2023-03-27 00:42:00 +08:00
|
|
|
2: "Amend",
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
var SyncType_value = map[string]int32{
|
|
|
|
"Remove": 0,
|
|
|
|
"Set": 1,
|
2023-03-27 00:42:00 +08:00
|
|
|
"Amend": 2,
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x SyncType) String() string {
|
|
|
|
return proto.EnumName(SyncType_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (SyncType) EnumDescriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{6}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
2023-03-04 23:21:50 +08:00
|
|
|
//--------------------QueryCoord grpc request and response proto------------------
|
2021-03-12 14:22:09 +08:00
|
|
|
type ShowCollectionsRequest struct {
|
2021-09-23 00:41:53 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
// Not useful for now
|
|
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
CollectionIDs []int64 `protobuf:"varint,3,rep,packed,name=collectionIDs,proto3" json:"collectionIDs,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsRequest) Reset() { *m = ShowCollectionsRequest{} }
|
|
|
|
func (m *ShowCollectionsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShowCollectionsRequest) ProtoMessage() {}
|
|
|
|
func (*ShowCollectionsRequest) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{0}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ShowCollectionsRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ShowCollectionsRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ShowCollectionsRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ShowCollectionsRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ShowCollectionsRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_ShowCollectionsRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsRequest) GetDbID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.DbID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
func (m *ShowCollectionsRequest) GetCollectionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type ShowCollectionsResponse struct {
|
2022-06-09 18:20:07 +08:00
|
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
CollectionIDs []int64 `protobuf:"varint,2,rep,packed,name=collectionIDs,proto3" json:"collectionIDs,omitempty"`
|
|
|
|
InMemoryPercentages []int64 `protobuf:"varint,3,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
|
|
|
|
QueryServiceAvailable []bool `protobuf:"varint,4,rep,packed,name=query_service_available,json=queryServiceAvailable,proto3" json:"query_service_available,omitempty"`
|
2023-04-12 15:06:28 +08:00
|
|
|
RefreshProgress []int64 `protobuf:"varint,5,rep,packed,name=refresh_progress,json=refreshProgress,proto3" json:"refresh_progress,omitempty"`
|
2022-06-09 18:20:07 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsResponse) Reset() { *m = ShowCollectionsResponse{} }
|
|
|
|
func (m *ShowCollectionsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShowCollectionsResponse) ProtoMessage() {}
|
|
|
|
func (*ShowCollectionsResponse) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{1}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ShowCollectionsResponse.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ShowCollectionsResponse.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ShowCollectionsResponse.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ShowCollectionsResponse.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ShowCollectionsResponse.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_ShowCollectionsResponse proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsResponse) GetStatus() *commonpb.Status {
|
2021-01-16 15:31:10 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *ShowCollectionsResponse) GetCollectionIDs() []int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.CollectionIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
func (m *ShowCollectionsResponse) GetInMemoryPercentages() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.InMemoryPercentages
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-06-09 18:20:07 +08:00
|
|
|
func (m *ShowCollectionsResponse) GetQueryServiceAvailable() []bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.QueryServiceAvailable
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-04-12 15:06:28 +08:00
|
|
|
func (m *ShowCollectionsResponse) GetRefreshProgress() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.RefreshProgress
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type ShowPartitionsRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
2021-08-02 22:39:25 +08:00
|
|
|
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShowPartitionsRequest) Reset() { *m = ShowPartitionsRequest{} }
|
|
|
|
func (m *ShowPartitionsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShowPartitionsRequest) ProtoMessage() {}
|
|
|
|
func (*ShowPartitionsRequest) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{2}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShowPartitionsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ShowPartitionsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ShowPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ShowPartitionsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ShowPartitionsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ShowPartitionsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ShowPartitionsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ShowPartitionsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ShowPartitionsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ShowPartitionsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ShowPartitionsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ShowPartitionsRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShowPartitionsRequest) GetDbID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.DbID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShowPartitionsRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
func (m *ShowPartitionsRequest) GetPartitionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type ShowPartitionsResponse struct {
|
|
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
PartitionIDs []int64 `protobuf:"varint,2,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
2021-08-02 22:39:25 +08:00
|
|
|
InMemoryPercentages []int64 `protobuf:"varint,3,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
|
2023-04-12 15:06:28 +08:00
|
|
|
RefreshProgress []int64 `protobuf:"varint,4,rep,packed,name=refresh_progress,json=refreshProgress,proto3" json:"refresh_progress,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShowPartitionsResponse) Reset() { *m = ShowPartitionsResponse{} }
|
|
|
|
func (m *ShowPartitionsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShowPartitionsResponse) ProtoMessage() {}
|
|
|
|
func (*ShowPartitionsResponse) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{3}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShowPartitionsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ShowPartitionsResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ShowPartitionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ShowPartitionsResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ShowPartitionsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ShowPartitionsResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ShowPartitionsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ShowPartitionsResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ShowPartitionsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ShowPartitionsResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ShowPartitionsResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ShowPartitionsResponse) GetStatus() *commonpb.Status {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ShowPartitionsResponse) GetPartitionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
func (m *ShowPartitionsResponse) GetInMemoryPercentages() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.InMemoryPercentages
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-04-12 15:06:28 +08:00
|
|
|
func (m *ShowPartitionsResponse) GetRefreshProgress() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.RefreshProgress
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-14 14:24:14 +08:00
|
|
|
type LoadCollectionRequest struct {
|
2022-10-17 18:01:25 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
|
|
ReplicaNumber int32 `protobuf:"varint,5,opt,name=replica_number,json=replicaNumber,proto3" json:"replica_number,omitempty"`
|
|
|
|
// fieldID -> indexID
|
2023-01-30 10:19:48 +08:00
|
|
|
FieldIndexID map[int64]int64 `protobuf:"bytes,6,rep,name=field_indexID,json=fieldIndexID,proto3" json:"field_indexID,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
|
|
Refresh bool `protobuf:"varint,7,opt,name=refresh,proto3" json:"refresh,omitempty"`
|
|
|
|
// resource group names
|
|
|
|
ResourceGroups []string `protobuf:"bytes,8,rep,name=resource_groups,json=resourceGroups,proto3" json:"resource_groups,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadCollectionRequest) Reset() { *m = LoadCollectionRequest{} }
|
|
|
|
func (m *LoadCollectionRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LoadCollectionRequest) ProtoMessage() {}
|
|
|
|
func (*LoadCollectionRequest) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{4}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadCollectionRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LoadCollectionRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *LoadCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LoadCollectionRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *LoadCollectionRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LoadCollectionRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *LoadCollectionRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LoadCollectionRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *LoadCollectionRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LoadCollectionRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_LoadCollectionRequest proto.InternalMessageInfo
|
|
|
|
|
2021-01-16 15:06:19 +08:00
|
|
|
func (m *LoadCollectionRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadCollectionRequest) GetDbID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.DbID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadCollectionRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-02-06 17:37:10 +08:00
|
|
|
func (m *LoadCollectionRequest) GetSchema() *schemapb.CollectionSchema {
|
|
|
|
if m != nil {
|
|
|
|
return m.Schema
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-03-25 11:13:25 +08:00
|
|
|
func (m *LoadCollectionRequest) GetReplicaNumber() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaNumber
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-17 18:01:25 +08:00
|
|
|
func (m *LoadCollectionRequest) GetFieldIndexID() map[int64]int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FieldIndexID
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-01-18 16:41:44 +08:00
|
|
|
func (m *LoadCollectionRequest) GetRefresh() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Refresh
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-01-30 10:19:48 +08:00
|
|
|
func (m *LoadCollectionRequest) GetResourceGroups() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ResourceGroups
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-14 14:24:14 +08:00
|
|
|
type ReleaseCollectionRequest struct {
|
2021-01-16 15:06:19 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
2021-06-19 11:45:09 +08:00
|
|
|
NodeID int64 `protobuf:"varint,4,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
2021-01-16 15:06:19 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseCollectionRequest) Reset() { *m = ReleaseCollectionRequest{} }
|
|
|
|
func (m *ReleaseCollectionRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ReleaseCollectionRequest) ProtoMessage() {}
|
|
|
|
func (*ReleaseCollectionRequest) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{5}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseCollectionRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ReleaseCollectionRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ReleaseCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ReleaseCollectionRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ReleaseCollectionRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReleaseCollectionRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReleaseCollectionRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ReleaseCollectionRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ReleaseCollectionRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReleaseCollectionRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReleaseCollectionRequest proto.InternalMessageInfo
|
|
|
|
|
2021-01-16 15:06:19 +08:00
|
|
|
func (m *ReleaseCollectionRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseCollectionRequest) GetDbID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.DbID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseCollectionRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *ReleaseCollectionRequest) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-07-18 09:58:28 +08:00
|
|
|
type GetStatisticsRequest struct {
|
|
|
|
Req *internalpb.GetStatisticsRequest `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
|
|
|
|
DmlChannels []string `protobuf:"bytes,2,rep,name=dml_channels,json=dmlChannels,proto3" json:"dml_channels,omitempty"`
|
|
|
|
SegmentIDs []int64 `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
|
|
FromShardLeader bool `protobuf:"varint,4,opt,name=from_shard_leader,json=fromShardLeader,proto3" json:"from_shard_leader,omitempty"`
|
|
|
|
Scope DataScope `protobuf:"varint,5,opt,name=scope,proto3,enum=milvus.proto.query.DataScope" json:"scope,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetStatisticsRequest) Reset() { *m = GetStatisticsRequest{} }
|
|
|
|
func (m *GetStatisticsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetStatisticsRequest) ProtoMessage() {}
|
|
|
|
func (*GetStatisticsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{6}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetStatisticsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetStatisticsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetStatisticsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetStatisticsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetStatisticsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetStatisticsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetStatisticsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetStatisticsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetStatisticsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetStatisticsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetStatisticsRequest) GetReq() *internalpb.GetStatisticsRequest {
|
|
|
|
if m != nil {
|
|
|
|
return m.Req
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetStatisticsRequest) GetDmlChannels() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DmlChannels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetStatisticsRequest) GetSegmentIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetStatisticsRequest) GetFromShardLeader() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.FromShardLeader
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetStatisticsRequest) GetScope() DataScope {
|
|
|
|
if m != nil {
|
|
|
|
return m.Scope
|
|
|
|
}
|
|
|
|
return DataScope_UnKnown
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type LoadPartitionsRequest struct {
|
2022-10-17 18:01:25 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
|
|
ReplicaNumber int32 `protobuf:"varint,6,opt,name=replica_number,json=replicaNumber,proto3" json:"replica_number,omitempty"`
|
|
|
|
// fieldID -> indexID
|
2023-01-30 10:19:48 +08:00
|
|
|
FieldIndexID map[int64]int64 `protobuf:"bytes,7,rep,name=field_indexID,json=fieldIndexID,proto3" json:"field_indexID,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
|
|
Refresh bool `protobuf:"varint,8,opt,name=refresh,proto3" json:"refresh,omitempty"`
|
|
|
|
// resource group names
|
2023-05-18 09:17:23 +08:00
|
|
|
ResourceGroups []string `protobuf:"bytes,9,rep,name=resource_groups,json=resourceGroups,proto3" json:"resource_groups,omitempty"`
|
|
|
|
IndexInfoList []*indexpb.IndexInfo `protobuf:"bytes,10,rep,name=index_info_list,json=indexInfoList,proto3" json:"index_info_list,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) Reset() { *m = LoadPartitionsRequest{} }
|
|
|
|
func (m *LoadPartitionsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LoadPartitionsRequest) ProtoMessage() {}
|
|
|
|
func (*LoadPartitionsRequest) Descriptor() ([]byte, []int) {
|
2022-07-18 09:58:28 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{7}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LoadPartitionsRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LoadPartitionsRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LoadPartitionsRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LoadPartitionsRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LoadPartitionsRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
var xxx_messageInfo_LoadPartitionsRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetDbID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.DbID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetCollectionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetPartitionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionIDs
|
|
|
|
}
|
|
|
|
return nil
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetSchema() *schemapb.CollectionSchema {
|
|
|
|
if m != nil {
|
|
|
|
return m.Schema
|
|
|
|
}
|
|
|
|
return nil
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-03-30 17:57:28 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetReplicaNumber() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaNumber
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-17 18:01:25 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetFieldIndexID() map[int64]int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FieldIndexID
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-01-18 16:41:44 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetRefresh() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Refresh
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-01-30 10:19:48 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetResourceGroups() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ResourceGroups
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-05-18 09:17:23 +08:00
|
|
|
func (m *LoadPartitionsRequest) GetIndexInfoList() []*indexpb.IndexInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.IndexInfoList
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type ReleasePartitionsRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
2021-06-19 11:45:09 +08:00
|
|
|
NodeID int64 `protobuf:"varint,5,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
|
|
|
|
func (m *ReleasePartitionsRequest) Reset() { *m = ReleasePartitionsRequest{} }
|
|
|
|
func (m *ReleasePartitionsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ReleasePartitionsRequest) ProtoMessage() {}
|
|
|
|
func (*ReleasePartitionsRequest) Descriptor() ([]byte, []int) {
|
2022-07-18 09:58:28 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{8}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
|
|
|
|
func (m *ReleasePartitionsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ReleasePartitionsRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *ReleasePartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ReleasePartitionsRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *ReleasePartitionsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReleasePartitionsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReleasePartitionsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ReleasePartitionsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ReleasePartitionsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReleasePartitionsRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
var xxx_messageInfo_ReleasePartitionsRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *ReleasePartitionsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-16 15:31:10 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.Base
|
2021-01-16 15:31:10 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *ReleasePartitionsRequest) GetDbID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.DbID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *ReleasePartitionsRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *ReleasePartitionsRequest) GetPartitionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionIDs
|
|
|
|
}
|
|
|
|
return nil
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *ReleasePartitionsRequest) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetPartitionStatesRequest struct {
|
2021-01-16 15:06:19 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) Reset() { *m = GetPartitionStatesRequest{} }
|
|
|
|
func (m *GetPartitionStatesRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetPartitionStatesRequest) ProtoMessage() {}
|
|
|
|
func (*GetPartitionStatesRequest) Descriptor() ([]byte, []int) {
|
2022-07-18 09:58:28 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{9}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetPartitionStatesRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetPartitionStatesRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetPartitionStatesRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetPartitionStatesRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetPartitionStatesRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetPartitionStatesRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) GetDbID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.DbID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) GetCollectionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesRequest) GetPartitionIDs() []int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.PartitionIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type GetPartitionStatesResponse struct {
|
2021-01-16 15:31:10 +08:00
|
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
PartitionDescriptions []*PartitionStates `protobuf:"bytes,2,rep,name=partition_descriptions,json=partitionDescriptions,proto3" json:"partition_descriptions,omitempty"`
|
2021-01-14 14:24:14 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesResponse) Reset() { *m = GetPartitionStatesResponse{} }
|
|
|
|
func (m *GetPartitionStatesResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetPartitionStatesResponse) ProtoMessage() {}
|
|
|
|
func (*GetPartitionStatesResponse) Descriptor() ([]byte, []int) {
|
2022-07-18 09:58:28 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{10}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetPartitionStatesResponse.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetPartitionStatesResponse.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetPartitionStatesResponse.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetPartitionStatesResponse.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetPartitionStatesResponse.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_GetPartitionStatesResponse proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesResponse) GetStatus() *commonpb.Status {
|
2021-01-16 15:31:10 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *GetPartitionStatesResponse) GetPartitionDescriptions() []*PartitionStates {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.PartitionDescriptions
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type GetSegmentInfoRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
SegmentIDs []int64 `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
2021-10-20 19:47:35 +08:00
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoRequest) Reset() { *m = GetSegmentInfoRequest{} }
|
|
|
|
func (m *GetSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetSegmentInfoRequest) ProtoMessage() {}
|
|
|
|
func (*GetSegmentInfoRequest) Descriptor() ([]byte, []int) {
|
2022-07-18 09:58:28 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{11}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetSegmentInfoRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetSegmentInfoRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
var xxx_messageInfo_GetSegmentInfoRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoRequest) GetSegmentIDs() []int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.SegmentIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-10-20 19:47:35 +08:00
|
|
|
func (m *GetSegmentInfoRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type GetSegmentInfoResponse struct {
|
2021-01-16 15:31:10 +08:00
|
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
Infos []*SegmentInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
|
2021-01-16 15:31:10 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoResponse) Reset() { *m = GetSegmentInfoResponse{} }
|
|
|
|
func (m *GetSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetSegmentInfoResponse) ProtoMessage() {}
|
|
|
|
func (*GetSegmentInfoResponse) Descriptor() ([]byte, []int) {
|
2022-07-18 09:58:28 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{12}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoResponse.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoResponse.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetSegmentInfoResponse.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetSegmentInfoResponse.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetSegmentInfoResponse.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
var xxx_messageInfo_GetSegmentInfoResponse proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoResponse) GetStatus() *commonpb.Status {
|
2021-01-16 15:31:10 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *GetSegmentInfoResponse) GetInfos() []*SegmentInfo {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.Infos
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return nil
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-03-31 16:39:29 +08:00
|
|
|
type GetShardLeadersRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetShardLeadersRequest) Reset() { *m = GetShardLeadersRequest{} }
|
|
|
|
func (m *GetShardLeadersRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetShardLeadersRequest) ProtoMessage() {}
|
|
|
|
func (*GetShardLeadersRequest) Descriptor() ([]byte, []int) {
|
2022-07-18 09:58:28 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{13}
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetShardLeadersRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetShardLeadersRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetShardLeadersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetShardLeadersRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetShardLeadersRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetShardLeadersRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetShardLeadersRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetShardLeadersRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetShardLeadersRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetShardLeadersRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetShardLeadersRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetShardLeadersRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetShardLeadersRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetShardLeadersResponse struct {
|
2022-04-01 16:15:29 +08:00
|
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
Shards []*ShardLeadersList `protobuf:"bytes,2,rep,name=shards,proto3" json:"shards,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetShardLeadersResponse) Reset() { *m = GetShardLeadersResponse{} }
|
|
|
|
func (m *GetShardLeadersResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetShardLeadersResponse) ProtoMessage() {}
|
|
|
|
func (*GetShardLeadersResponse) Descriptor() ([]byte, []int) {
|
2022-07-18 09:58:28 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{14}
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetShardLeadersResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetShardLeadersResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetShardLeadersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetShardLeadersResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetShardLeadersResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetShardLeadersResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetShardLeadersResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetShardLeadersResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetShardLeadersResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetShardLeadersResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetShardLeadersResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetShardLeadersResponse) GetStatus() *commonpb.Status {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *GetShardLeadersResponse) GetShards() []*ShardLeadersList {
|
2022-03-31 16:39:29 +08:00
|
|
|
if m != nil {
|
2022-04-01 16:15:29 +08:00
|
|
|
return m.Shards
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
type ShardLeadersList struct {
|
2022-03-31 16:39:29 +08:00
|
|
|
ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
|
2022-04-01 16:15:29 +08:00
|
|
|
NodeIds []int64 `protobuf:"varint,2,rep,packed,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
|
|
|
|
NodeAddrs []string `protobuf:"bytes,3,rep,name=node_addrs,json=nodeAddrs,proto3" json:"node_addrs,omitempty"`
|
2022-03-31 16:39:29 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *ShardLeadersList) Reset() { *m = ShardLeadersList{} }
|
|
|
|
func (m *ShardLeadersList) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ShardLeadersList) ProtoMessage() {}
|
|
|
|
func (*ShardLeadersList) Descriptor() ([]byte, []int) {
|
2022-07-18 09:58:28 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{15}
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *ShardLeadersList) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ShardLeadersList.Unmarshal(m, b)
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *ShardLeadersList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ShardLeadersList.Marshal(b, m, deterministic)
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *ShardLeadersList) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ShardLeadersList.Merge(m, src)
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *ShardLeadersList) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ShardLeadersList.Size(m)
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *ShardLeadersList) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ShardLeadersList.DiscardUnknown(m)
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
var xxx_messageInfo_ShardLeadersList proto.InternalMessageInfo
|
2022-03-31 16:39:29 +08:00
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *ShardLeadersList) GetChannelName() string {
|
2022-03-31 16:39:29 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.ChannelName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *ShardLeadersList) GetNodeIds() []int64 {
|
2022-03-31 16:39:29 +08:00
|
|
|
if m != nil {
|
2022-04-01 16:15:29 +08:00
|
|
|
return m.NodeIds
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
2022-04-01 16:15:29 +08:00
|
|
|
return nil
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *ShardLeadersList) GetNodeAddrs() []string {
|
2022-03-31 16:39:29 +08:00
|
|
|
if m != nil {
|
2022-04-01 16:15:29 +08:00
|
|
|
return m.NodeAddrs
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
2022-04-01 16:15:29 +08:00
|
|
|
return nil
|
2022-03-31 16:39:29 +08:00
|
|
|
}
|
|
|
|
|
2023-03-20 14:55:57 +08:00
|
|
|
type SyncNewCreatedPartitionRequest struct {
|
2023-05-18 09:17:23 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2023-03-20 14:55:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) Reset() { *m = SyncNewCreatedPartitionRequest{} }
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SyncNewCreatedPartitionRequest) ProtoMessage() {}
|
|
|
|
func (*SyncNewCreatedPartitionRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{16}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SyncNewCreatedPartitionRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SyncNewCreatedPartitionRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SyncNewCreatedPartitionRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SyncNewCreatedPartitionRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SyncNewCreatedPartitionRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SyncNewCreatedPartitionRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncNewCreatedPartitionRequest) GetPartitionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-03-04 23:21:50 +08:00
|
|
|
//-----------------query node grpc request and response proto----------------
|
2022-03-14 09:50:01 +08:00
|
|
|
type LoadMetaInfo struct {
|
|
|
|
LoadType LoadType `protobuf:"varint,1,opt,name=load_type,json=loadType,proto3,enum=milvus.proto.query.LoadType" json:"load_type,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionIDs []int64 `protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
2023-06-01 18:10:32 +08:00
|
|
|
MetricType string `protobuf:"bytes,4,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
|
2022-03-14 09:50:01 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadMetaInfo) Reset() { *m = LoadMetaInfo{} }
|
|
|
|
func (m *LoadMetaInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LoadMetaInfo) ProtoMessage() {}
|
|
|
|
func (*LoadMetaInfo) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{17}
|
2022-03-14 09:50:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadMetaInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LoadMetaInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *LoadMetaInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LoadMetaInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *LoadMetaInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LoadMetaInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *LoadMetaInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LoadMetaInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *LoadMetaInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LoadMetaInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_LoadMetaInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *LoadMetaInfo) GetLoadType() LoadType {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoadType
|
|
|
|
}
|
|
|
|
return LoadType_UnKnownType
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadMetaInfo) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadMetaInfo) GetPartitionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-06-01 18:10:32 +08:00
|
|
|
func (m *LoadMetaInfo) GetMetricType() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.MetricType
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type WatchDmChannelsRequest struct {
|
2023-05-15 15:09:25 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
NodeID int64 `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
|
|
|
Infos []*datapb.VchannelInfo `protobuf:"bytes,5,rep,name=infos,proto3" json:"infos,omitempty"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
|
|
ExcludeInfos []*datapb.SegmentInfo `protobuf:"bytes,7,rep,name=exclude_infos,json=excludeInfos,proto3" json:"exclude_infos,omitempty"`
|
|
|
|
LoadMeta *LoadMetaInfo `protobuf:"bytes,8,opt,name=load_meta,json=loadMeta,proto3" json:"load_meta,omitempty"`
|
|
|
|
ReplicaID int64 `protobuf:"varint,9,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
|
|
|
|
SegmentInfos map[int64]*datapb.SegmentInfo `protobuf:"bytes,10,rep,name=segment_infos,json=segmentInfos,proto3" json:"segment_infos,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2022-11-15 13:21:07 +08:00
|
|
|
// Deprecated
|
2022-08-29 16:32:57 +08:00
|
|
|
// for node down load balance, need to remove offline node in time after every watchDmChannel finish.
|
2023-05-23 17:17:26 +08:00
|
|
|
OfflineNodeID int64 `protobuf:"varint,11,opt,name=offlineNodeID,proto3" json:"offlineNodeID,omitempty"`
|
|
|
|
Version int64 `protobuf:"varint,12,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
IndexInfoList []*indexpb.IndexInfo `protobuf:"bytes,13,rep,name=index_info_list,json=indexInfoList,proto3" json:"index_info_list,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *WatchDmChannelsRequest) Reset() { *m = WatchDmChannelsRequest{} }
|
|
|
|
func (m *WatchDmChannelsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WatchDmChannelsRequest) ProtoMessage() {}
|
|
|
|
func (*WatchDmChannelsRequest) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{18}
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_WatchDmChannelsRequest.Unmarshal(m, b)
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_WatchDmChannelsRequest.Marshal(b, m, deterministic)
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_WatchDmChannelsRequest.Merge(m, src)
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_WatchDmChannelsRequest.Size(m)
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *WatchDmChannelsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_WatchDmChannelsRequest.DiscardUnknown(m)
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
var xxx_messageInfo_WatchDmChannelsRequest proto.InternalMessageInfo
|
2021-03-11 10:08:46 +08:00
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetBase() *commonpb.MsgBase {
|
2021-03-11 10:08:46 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.Base
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return nil
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetNodeID() int64 {
|
2021-03-11 10:08:46 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchDmChannelsRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-17 20:12:42 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetPartitionIDs() []int64 {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
2021-12-17 20:12:42 +08:00
|
|
|
return m.PartitionIDs
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-17 20:12:42 +08:00
|
|
|
return nil
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-06-16 11:09:56 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetInfos() []*datapb.VchannelInfo {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Infos
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetSchema() *schemapb.CollectionSchema {
|
2021-03-11 10:08:46 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.Schema
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-16 11:09:56 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetExcludeInfos() []*datapb.SegmentInfo {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.ExcludeInfos
|
|
|
|
}
|
|
|
|
return nil
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-03-14 09:50:01 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetLoadMeta() *LoadMetaInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoadMeta
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-04-20 16:15:41 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetReplicaID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-06-16 12:00:10 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetSegmentInfos() map[int64]*datapb.SegmentInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentInfos
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-08-29 16:32:57 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetOfflineNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.OfflineNodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-11-15 13:21:07 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetVersion() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-05-23 17:17:26 +08:00
|
|
|
func (m *WatchDmChannelsRequest) GetIndexInfoList() []*indexpb.IndexInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.IndexInfoList
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type UnsubDmChannelRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
NodeID int64 `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
ChannelName string `protobuf:"bytes,4,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubDmChannelRequest) Reset() { *m = UnsubDmChannelRequest{} }
|
|
|
|
func (m *UnsubDmChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UnsubDmChannelRequest) ProtoMessage() {}
|
|
|
|
func (*UnsubDmChannelRequest) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{19}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubDmChannelRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UnsubDmChannelRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UnsubDmChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UnsubDmChannelRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *UnsubDmChannelRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UnsubDmChannelRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UnsubDmChannelRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UnsubDmChannelRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UnsubDmChannelRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UnsubDmChannelRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UnsubDmChannelRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UnsubDmChannelRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubDmChannelRequest) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubDmChannelRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubDmChannelRequest) GetChannelName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type SegmentLoadInfo struct {
|
2023-03-04 23:21:50 +08:00
|
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
|
|
PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
DbID int64 `protobuf:"varint,4,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
FlushTime int64 `protobuf:"varint,5,opt,name=flush_time,json=flushTime,proto3" json:"flush_time,omitempty"`
|
|
|
|
BinlogPaths []*datapb.FieldBinlog `protobuf:"bytes,6,rep,name=binlog_paths,json=binlogPaths,proto3" json:"binlog_paths,omitempty"`
|
|
|
|
NumOfRows int64 `protobuf:"varint,7,opt,name=num_of_rows,json=numOfRows,proto3" json:"num_of_rows,omitempty"`
|
|
|
|
Statslogs []*datapb.FieldBinlog `protobuf:"bytes,8,rep,name=statslogs,proto3" json:"statslogs,omitempty"`
|
|
|
|
Deltalogs []*datapb.FieldBinlog `protobuf:"bytes,9,rep,name=deltalogs,proto3" json:"deltalogs,omitempty"`
|
|
|
|
CompactionFrom []int64 `protobuf:"varint,10,rep,packed,name=compactionFrom,proto3" json:"compactionFrom,omitempty"`
|
|
|
|
IndexInfos []*FieldIndexInfo `protobuf:"bytes,11,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"`
|
|
|
|
SegmentSize int64 `protobuf:"varint,12,opt,name=segment_size,json=segmentSize,proto3" json:"segment_size,omitempty"`
|
|
|
|
InsertChannel string `protobuf:"bytes,13,opt,name=insert_channel,json=insertChannel,proto3" json:"insert_channel,omitempty"`
|
|
|
|
StartPosition *msgpb.MsgPosition `protobuf:"bytes,14,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"`
|
2023-05-09 19:10:41 +08:00
|
|
|
DeltaPosition *msgpb.MsgPosition `protobuf:"bytes,15,opt,name=delta_position,json=deltaPosition,proto3" json:"delta_position,omitempty"`
|
2023-03-04 23:21:50 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentLoadInfo) Reset() { *m = SegmentLoadInfo{} }
|
|
|
|
func (m *SegmentLoadInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentLoadInfo) ProtoMessage() {}
|
|
|
|
func (*SegmentLoadInfo) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{20}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
|
|
|
|
func (m *SegmentLoadInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentLoadInfo.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentLoadInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentLoadInfo.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentLoadInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentLoadInfo.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentLoadInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentLoadInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentLoadInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentLoadInfo.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
var xxx_messageInfo_SegmentLoadInfo proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentLoadInfo) GetSegmentID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.SegmentID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentLoadInfo) GetPartitionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentLoadInfo) GetCollectionID() int64 {
|
2021-03-11 10:08:46 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentLoadInfo) GetDbID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.DbID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentLoadInfo) GetFlushTime() int64 {
|
2021-03-11 10:08:46 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.FlushTime
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-16 11:09:56 +08:00
|
|
|
func (m *SegmentLoadInfo) GetBinlogPaths() []*datapb.FieldBinlog {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.BinlogPaths
|
2021-03-11 10:08:46 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-09-07 11:35:18 +08:00
|
|
|
func (m *SegmentLoadInfo) GetNumOfRows() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumOfRows
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-10-22 14:31:13 +08:00
|
|
|
func (m *SegmentLoadInfo) GetStatslogs() []*datapb.FieldBinlog {
|
|
|
|
if m != nil {
|
|
|
|
return m.Statslogs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-12-19 20:00:42 +08:00
|
|
|
func (m *SegmentLoadInfo) GetDeltalogs() []*datapb.FieldBinlog {
|
2021-10-22 14:31:13 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Deltalogs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-11-08 21:00:02 +08:00
|
|
|
func (m *SegmentLoadInfo) GetCompactionFrom() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CompactionFrom
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *SegmentLoadInfo) GetIndexInfos() []*FieldIndexInfo {
|
2021-12-30 19:09:33 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.IndexInfos
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentLoadInfo) GetSegmentSize() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-04-20 16:15:41 +08:00
|
|
|
func (m *SegmentLoadInfo) GetInsertChannel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.InsertChannel
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-03-04 23:21:50 +08:00
|
|
|
func (m *SegmentLoadInfo) GetStartPosition() *msgpb.MsgPosition {
|
2022-11-07 19:37:04 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.StartPosition
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-05-09 19:10:41 +08:00
|
|
|
func (m *SegmentLoadInfo) GetDeltaPosition() *msgpb.MsgPosition {
|
2023-03-27 00:42:00 +08:00
|
|
|
if m != nil {
|
2023-05-09 19:10:41 +08:00
|
|
|
return m.DeltaPosition
|
2023-03-27 00:42:00 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
type FieldIndexInfo struct {
|
2022-08-25 15:48:54 +08:00
|
|
|
FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
|
|
// deprecated
|
2021-12-30 19:09:33 +08:00
|
|
|
EnableIndex bool `protobuf:"varint,2,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
|
|
|
|
IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
|
|
IndexID int64 `protobuf:"varint,4,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
|
|
BuildID int64 `protobuf:"varint,5,opt,name=buildID,proto3" json:"buildID,omitempty"`
|
|
|
|
IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
|
|
|
|
IndexFilePaths []string `protobuf:"bytes,7,rep,name=index_file_paths,json=indexFilePaths,proto3" json:"index_file_paths,omitempty"`
|
|
|
|
IndexSize int64 `protobuf:"varint,8,opt,name=index_size,json=indexSize,proto3" json:"index_size,omitempty"`
|
2022-09-21 20:16:51 +08:00
|
|
|
IndexVersion int64 `protobuf:"varint,9,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"`
|
2022-10-14 17:51:24 +08:00
|
|
|
NumRows int64 `protobuf:"varint,10,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
2021-12-30 19:09:33 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) Reset() { *m = FieldIndexInfo{} }
|
|
|
|
func (m *FieldIndexInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*FieldIndexInfo) ProtoMessage() {}
|
|
|
|
func (*FieldIndexInfo) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{21}
|
2021-12-30 19:09:33 +08:00
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_FieldIndexInfo.Unmarshal(m, b)
|
2021-12-30 19:09:33 +08:00
|
|
|
}
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_FieldIndexInfo.Marshal(b, m, deterministic)
|
2021-12-30 19:09:33 +08:00
|
|
|
}
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_FieldIndexInfo.Merge(m, src)
|
2021-12-30 19:09:33 +08:00
|
|
|
}
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_FieldIndexInfo.Size(m)
|
2021-12-30 19:09:33 +08:00
|
|
|
}
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_FieldIndexInfo.DiscardUnknown(m)
|
2021-12-30 19:09:33 +08:00
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
var xxx_messageInfo_FieldIndexInfo proto.InternalMessageInfo
|
2021-12-30 19:09:33 +08:00
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) GetFieldID() int64 {
|
2021-12-30 19:09:33 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.FieldID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) GetEnableIndex() bool {
|
2021-11-17 09:47:12 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.EnableIndex
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) GetIndexName() string {
|
2021-12-30 19:09:33 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.IndexName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) GetIndexID() int64 {
|
2021-12-30 19:09:33 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.IndexID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) GetBuildID() int64 {
|
2021-11-17 09:47:12 +08:00
|
|
|
if m != nil {
|
2021-12-30 19:09:33 +08:00
|
|
|
return m.BuildID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) GetIndexParams() []*commonpb.KeyValuePair {
|
2021-12-30 19:09:33 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.IndexParams
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) GetIndexFilePaths() []string {
|
2021-12-30 19:09:33 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.IndexFilePaths
|
2021-11-17 09:47:12 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *FieldIndexInfo) GetIndexSize() int64 {
|
2021-12-30 19:09:33 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.IndexSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-09-21 20:16:51 +08:00
|
|
|
func (m *FieldIndexInfo) GetIndexVersion() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.IndexVersion
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-10-14 17:51:24 +08:00
|
|
|
func (m *FieldIndexInfo) GetNumRows() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumRows
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type LoadSegmentsRequest struct {
|
2021-02-04 17:47:19 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
2021-10-22 19:07:15 +08:00
|
|
|
DstNodeID int64 `protobuf:"varint,2,opt,name=dst_nodeID,json=dstNodeID,proto3" json:"dst_nodeID,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
Infos []*SegmentLoadInfo `protobuf:"bytes,3,rep,name=infos,proto3" json:"infos,omitempty"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
|
2021-12-15 16:53:12 +08:00
|
|
|
SourceNodeID int64 `protobuf:"varint,5,opt,name=source_nodeID,json=sourceNodeID,proto3" json:"source_nodeID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,6,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
2022-03-14 09:50:01 +08:00
|
|
|
LoadMeta *LoadMetaInfo `protobuf:"bytes,7,opt,name=load_meta,json=loadMeta,proto3" json:"load_meta,omitempty"`
|
2022-04-20 16:15:41 +08:00
|
|
|
ReplicaID int64 `protobuf:"varint,8,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
|
2023-03-04 23:21:50 +08:00
|
|
|
DeltaPositions []*msgpb.MsgPosition `protobuf:"bytes,9,rep,name=delta_positions,json=deltaPositions,proto3" json:"delta_positions,omitempty"`
|
2022-09-15 18:48:32 +08:00
|
|
|
Version int64 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
NeedTransfer bool `protobuf:"varint,11,opt,name=need_transfer,json=needTransfer,proto3" json:"need_transfer,omitempty"`
|
2023-03-27 00:42:00 +08:00
|
|
|
LoadScope LoadScope `protobuf:"varint,12,opt,name=load_scope,json=loadScope,proto3,enum=milvus.proto.query.LoadScope" json:"load_scope,omitempty"`
|
2021-02-04 17:47:19 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *LoadSegmentsRequest) Reset() { *m = LoadSegmentsRequest{} }
|
|
|
|
func (m *LoadSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LoadSegmentsRequest) ProtoMessage() {}
|
|
|
|
func (*LoadSegmentsRequest) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{22}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *LoadSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LoadSegmentsRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *LoadSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LoadSegmentsRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *LoadSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LoadSegmentsRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *LoadSegmentsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LoadSegmentsRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *LoadSegmentsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LoadSegmentsRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_LoadSegmentsRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *LoadSegmentsRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-10-22 19:07:15 +08:00
|
|
|
func (m *LoadSegmentsRequest) GetDstNodeID() int64 {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
2021-10-22 19:07:15 +08:00
|
|
|
return m.DstNodeID
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadSegmentsRequest) GetInfos() []*SegmentLoadInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.Infos
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadSegmentsRequest) GetSchema() *schemapb.CollectionSchema {
|
|
|
|
if m != nil {
|
|
|
|
return m.Schema
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-10-22 19:07:15 +08:00
|
|
|
func (m *LoadSegmentsRequest) GetSourceNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SourceNodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadSegmentsRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-03-14 09:50:01 +08:00
|
|
|
func (m *LoadSegmentsRequest) GetLoadMeta() *LoadMetaInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoadMeta
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-04-20 16:15:41 +08:00
|
|
|
func (m *LoadSegmentsRequest) GetReplicaID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-03-04 23:21:50 +08:00
|
|
|
func (m *LoadSegmentsRequest) GetDeltaPositions() []*msgpb.MsgPosition {
|
2022-06-02 16:56:04 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.DeltaPositions
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (m *LoadSegmentsRequest) GetVersion() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadSegmentsRequest) GetNeedTransfer() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.NeedTransfer
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-03-27 00:42:00 +08:00
|
|
|
func (m *LoadSegmentsRequest) GetLoadScope() LoadScope {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoadScope
|
|
|
|
}
|
|
|
|
return LoadScope_Full
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type ReleaseSegmentsRequest struct {
|
2021-09-23 00:41:53 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
NodeID int64 `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
|
|
// Not useful for now
|
2022-06-17 17:38:12 +08:00
|
|
|
DbID int64 `protobuf:"varint,3,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionIDs []int64 `protobuf:"varint,5,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
|
|
|
SegmentIDs []int64 `protobuf:"varint,6,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
|
|
|
Scope DataScope `protobuf:"varint,7,opt,name=scope,proto3,enum=milvus.proto.query.DataScope" json:"scope,omitempty"`
|
2022-09-15 18:48:32 +08:00
|
|
|
Shard string `protobuf:"bytes,8,opt,name=shard,proto3" json:"shard,omitempty"`
|
|
|
|
NeedTransfer bool `protobuf:"varint,11,opt,name=need_transfer,json=needTransfer,proto3" json:"need_transfer,omitempty"`
|
2022-06-17 17:38:12 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseSegmentsRequest) Reset() { *m = ReleaseSegmentsRequest{} }
|
|
|
|
func (m *ReleaseSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ReleaseSegmentsRequest) ProtoMessage() {}
|
|
|
|
func (*ReleaseSegmentsRequest) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{23}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ReleaseSegmentsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ReleaseSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ReleaseSegmentsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ReleaseSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReleaseSegmentsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReleaseSegmentsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ReleaseSegmentsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ReleaseSegmentsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReleaseSegmentsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReleaseSegmentsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ReleaseSegmentsRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseSegmentsRequest) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseSegmentsRequest) GetDbID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.DbID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *ReleaseSegmentsRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseSegmentsRequest) GetPartitionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseSegmentsRequest) GetSegmentIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-06-17 17:38:12 +08:00
|
|
|
func (m *ReleaseSegmentsRequest) GetScope() DataScope {
|
|
|
|
if m != nil {
|
|
|
|
return m.Scope
|
|
|
|
}
|
|
|
|
return DataScope_UnKnown
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (m *ReleaseSegmentsRequest) GetShard() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Shard
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReleaseSegmentsRequest) GetNeedTransfer() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.NeedTransfer
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2022-03-30 12:03:27 +08:00
|
|
|
type SearchRequest struct {
|
2022-04-02 14:15:31 +08:00
|
|
|
Req *internalpb.SearchRequest `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
|
2022-07-06 15:06:21 +08:00
|
|
|
DmlChannels []string `protobuf:"bytes,2,rep,name=dml_channels,json=dmlChannels,proto3" json:"dml_channels,omitempty"`
|
2022-04-02 14:15:31 +08:00
|
|
|
SegmentIDs []int64 `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
2022-05-23 16:41:58 +08:00
|
|
|
FromShardLeader bool `protobuf:"varint,4,opt,name=from_shard_leader,json=fromShardLeader,proto3" json:"from_shard_leader,omitempty"`
|
|
|
|
Scope DataScope `protobuf:"varint,5,opt,name=scope,proto3,enum=milvus.proto.query.DataScope" json:"scope,omitempty"`
|
2023-03-24 15:21:59 +08:00
|
|
|
TotalChannelNum int32 `protobuf:"varint,6,opt,name=total_channel_num,json=totalChannelNum,proto3" json:"total_channel_num,omitempty"`
|
2022-04-02 14:15:31 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2022-03-30 12:03:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SearchRequest) Reset() { *m = SearchRequest{} }
|
|
|
|
func (m *SearchRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SearchRequest) ProtoMessage() {}
|
|
|
|
func (*SearchRequest) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{24}
|
2022-03-30 12:03:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SearchRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SearchRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SearchRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SearchRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SearchRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SearchRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SearchRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SearchRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SearchRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SearchRequest proto.InternalMessageInfo
|
|
|
|
|
2022-04-02 14:15:31 +08:00
|
|
|
func (m *SearchRequest) GetReq() *internalpb.SearchRequest {
|
2022-03-30 12:03:27 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Req
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-07-06 15:06:21 +08:00
|
|
|
func (m *SearchRequest) GetDmlChannels() []string {
|
2022-03-30 12:03:27 +08:00
|
|
|
if m != nil {
|
2022-07-06 15:06:21 +08:00
|
|
|
return m.DmlChannels
|
2022-03-30 12:03:27 +08:00
|
|
|
}
|
2022-07-06 15:06:21 +08:00
|
|
|
return nil
|
2022-03-30 12:03:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SearchRequest) GetSegmentIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-05-23 16:41:58 +08:00
|
|
|
func (m *SearchRequest) GetFromShardLeader() bool {
|
2022-05-06 16:55:51 +08:00
|
|
|
if m != nil {
|
2022-05-23 16:41:58 +08:00
|
|
|
return m.FromShardLeader
|
2022-05-06 16:55:51 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2022-05-23 16:41:58 +08:00
|
|
|
func (m *SearchRequest) GetScope() DataScope {
|
|
|
|
if m != nil {
|
|
|
|
return m.Scope
|
|
|
|
}
|
|
|
|
return DataScope_UnKnown
|
|
|
|
}
|
|
|
|
|
2023-03-24 15:21:59 +08:00
|
|
|
func (m *SearchRequest) GetTotalChannelNum() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalChannelNum
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-03-30 12:03:27 +08:00
|
|
|
type QueryRequest struct {
|
2022-04-02 14:15:31 +08:00
|
|
|
Req *internalpb.RetrieveRequest `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
|
2022-07-06 15:06:21 +08:00
|
|
|
DmlChannels []string `protobuf:"bytes,2,rep,name=dml_channels,json=dmlChannels,proto3" json:"dml_channels,omitempty"`
|
2022-04-02 14:15:31 +08:00
|
|
|
SegmentIDs []int64 `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
2022-05-23 16:41:58 +08:00
|
|
|
FromShardLeader bool `protobuf:"varint,4,opt,name=from_shard_leader,json=fromShardLeader,proto3" json:"from_shard_leader,omitempty"`
|
|
|
|
Scope DataScope `protobuf:"varint,5,opt,name=scope,proto3,enum=milvus.proto.query.DataScope" json:"scope,omitempty"`
|
2022-04-02 14:15:31 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2022-03-30 12:03:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *QueryRequest) Reset() { *m = QueryRequest{} }
|
|
|
|
func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*QueryRequest) ProtoMessage() {}
|
|
|
|
func (*QueryRequest) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{25}
|
2022-03-30 12:03:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *QueryRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_QueryRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_QueryRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *QueryRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_QueryRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *QueryRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_QueryRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *QueryRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_QueryRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_QueryRequest proto.InternalMessageInfo
|
|
|
|
|
2022-04-02 14:15:31 +08:00
|
|
|
func (m *QueryRequest) GetReq() *internalpb.RetrieveRequest {
|
2022-03-30 12:03:27 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Req
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-07-06 15:06:21 +08:00
|
|
|
func (m *QueryRequest) GetDmlChannels() []string {
|
2022-03-30 12:03:27 +08:00
|
|
|
if m != nil {
|
2022-07-06 15:06:21 +08:00
|
|
|
return m.DmlChannels
|
2022-03-30 12:03:27 +08:00
|
|
|
}
|
2022-07-06 15:06:21 +08:00
|
|
|
return nil
|
2022-03-30 12:03:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *QueryRequest) GetSegmentIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-05-23 16:41:58 +08:00
|
|
|
func (m *QueryRequest) GetFromShardLeader() bool {
|
2022-05-06 16:55:51 +08:00
|
|
|
if m != nil {
|
2022-05-23 16:41:58 +08:00
|
|
|
return m.FromShardLeader
|
2022-05-06 16:55:51 +08:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2022-05-23 16:41:58 +08:00
|
|
|
func (m *QueryRequest) GetScope() DataScope {
|
|
|
|
if m != nil {
|
|
|
|
return m.Scope
|
|
|
|
}
|
|
|
|
return DataScope_UnKnown
|
|
|
|
}
|
|
|
|
|
2022-04-27 10:41:46 +08:00
|
|
|
type SyncReplicaSegmentsRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
VchannelName string `protobuf:"bytes,2,opt,name=vchannel_name,json=vchannelName,proto3" json:"vchannel_name,omitempty"`
|
|
|
|
ReplicaSegments []*ReplicaSegmentsInfo `protobuf:"bytes,3,rep,name=replica_segments,json=replicaSegments,proto3" json:"replica_segments,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncReplicaSegmentsRequest) Reset() { *m = SyncReplicaSegmentsRequest{} }
|
|
|
|
func (m *SyncReplicaSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SyncReplicaSegmentsRequest) ProtoMessage() {}
|
|
|
|
func (*SyncReplicaSegmentsRequest) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{26}
|
2022-04-27 10:41:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncReplicaSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SyncReplicaSegmentsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SyncReplicaSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SyncReplicaSegmentsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SyncReplicaSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SyncReplicaSegmentsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SyncReplicaSegmentsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SyncReplicaSegmentsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SyncReplicaSegmentsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SyncReplicaSegmentsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SyncReplicaSegmentsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SyncReplicaSegmentsRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncReplicaSegmentsRequest) GetVchannelName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.VchannelName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncReplicaSegmentsRequest) GetReplicaSegments() []*ReplicaSegmentsInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaSegments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReplicaSegmentsInfo struct {
|
|
|
|
NodeId int64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
|
|
|
|
PartitionId int64 `protobuf:"varint,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
|
|
|
|
SegmentIds []int64 `protobuf:"varint,3,rep,packed,name=segment_ids,json=segmentIds,proto3" json:"segment_ids,omitempty"`
|
2022-09-28 12:10:54 +08:00
|
|
|
Versions []int64 `protobuf:"varint,4,rep,packed,name=versions,proto3" json:"versions,omitempty"`
|
2022-04-27 10:41:46 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSegmentsInfo) Reset() { *m = ReplicaSegmentsInfo{} }
|
|
|
|
func (m *ReplicaSegmentsInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ReplicaSegmentsInfo) ProtoMessage() {}
|
|
|
|
func (*ReplicaSegmentsInfo) Descriptor() ([]byte, []int) {
|
2023-03-20 14:55:57 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{27}
|
2022-04-27 10:41:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSegmentsInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ReplicaSegmentsInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSegmentsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ReplicaSegmentsInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSegmentsInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReplicaSegmentsInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSegmentsInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ReplicaSegmentsInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ReplicaSegmentsInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReplicaSegmentsInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReplicaSegmentsInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ReplicaSegmentsInfo) GetNodeId() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSegmentsInfo) GetPartitionId() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReplicaSegmentsInfo) GetSegmentIds() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentIds
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-28 12:10:54 +08:00
|
|
|
func (m *ReplicaSegmentsInfo) GetVersions() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Versions
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-27 00:42:00 +08:00
|
|
|
type GetLoadInfoRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
CollectionId int64 `protobuf:"varint,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetLoadInfoRequest) Reset() { *m = GetLoadInfoRequest{} }
|
|
|
|
func (m *GetLoadInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetLoadInfoRequest) ProtoMessage() {}
|
|
|
|
func (*GetLoadInfoRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{28}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetLoadInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetLoadInfoRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetLoadInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetLoadInfoRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetLoadInfoRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetLoadInfoRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetLoadInfoRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetLoadInfoRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetLoadInfoRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetLoadInfoRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetLoadInfoRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetLoadInfoRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetLoadInfoRequest) GetCollectionId() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetLoadInfoResponse struct {
|
|
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
|
|
LoadType LoadType `protobuf:"varint,3,opt,name=load_type,json=loadType,proto3,enum=milvus.proto.query.LoadType" json:"load_type,omitempty"`
|
|
|
|
Partitions []int64 `protobuf:"varint,4,rep,packed,name=partitions,proto3" json:"partitions,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetLoadInfoResponse) Reset() { *m = GetLoadInfoResponse{} }
|
|
|
|
func (m *GetLoadInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetLoadInfoResponse) ProtoMessage() {}
|
|
|
|
func (*GetLoadInfoResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{29}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetLoadInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetLoadInfoResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetLoadInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetLoadInfoResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetLoadInfoResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetLoadInfoResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetLoadInfoResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetLoadInfoResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetLoadInfoResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetLoadInfoResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GetLoadInfoResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetLoadInfoResponse) GetStatus() *commonpb.Status {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetLoadInfoResponse) GetSchema() *schemapb.CollectionSchema {
|
|
|
|
if m != nil {
|
|
|
|
return m.Schema
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetLoadInfoResponse) GetLoadType() LoadType {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoadType
|
|
|
|
}
|
|
|
|
return LoadType_UnKnownType
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetLoadInfoResponse) GetPartitions() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Partitions
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-04 23:21:50 +08:00
|
|
|
//----------------request auto triggered by QueryCoord-----------------
|
2021-12-15 16:53:12 +08:00
|
|
|
type HandoffSegmentsRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
SegmentInfos []*SegmentInfo `protobuf:"bytes,2,rep,name=segmentInfos,proto3" json:"segmentInfos,omitempty"`
|
2022-06-29 23:26:19 +08:00
|
|
|
ReleasedSegments []int64 `protobuf:"varint,3,rep,packed,name=released_segments,json=releasedSegments,proto3" json:"released_segments,omitempty"`
|
2021-12-15 16:53:12 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *HandoffSegmentsRequest) Reset() { *m = HandoffSegmentsRequest{} }
|
|
|
|
func (m *HandoffSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*HandoffSegmentsRequest) ProtoMessage() {}
|
|
|
|
func (*HandoffSegmentsRequest) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{30}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *HandoffSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_HandoffSegmentsRequest.Unmarshal(m, b)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *HandoffSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_HandoffSegmentsRequest.Marshal(b, m, deterministic)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *HandoffSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_HandoffSegmentsRequest.Merge(m, src)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *HandoffSegmentsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_HandoffSegmentsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *HandoffSegmentsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_HandoffSegmentsRequest.DiscardUnknown(m)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
var xxx_messageInfo_HandoffSegmentsRequest proto.InternalMessageInfo
|
2021-06-15 12:41:40 +08:00
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *HandoffSegmentsRequest) GetBase() *commonpb.MsgBase {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *HandoffSegmentsRequest) GetSegmentInfos() []*SegmentInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentInfos
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-06-29 23:26:19 +08:00
|
|
|
func (m *HandoffSegmentsRequest) GetReleasedSegments() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReleasedSegments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
type LoadBalanceRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
SourceNodeIDs []int64 `protobuf:"varint,2,rep,packed,name=source_nodeIDs,json=sourceNodeIDs,proto3" json:"source_nodeIDs,omitempty"`
|
|
|
|
BalanceReason TriggerCondition `protobuf:"varint,3,opt,name=balance_reason,json=balanceReason,proto3,enum=milvus.proto.query.TriggerCondition" json:"balance_reason,omitempty"`
|
|
|
|
DstNodeIDs []int64 `protobuf:"varint,4,rep,packed,name=dst_nodeIDs,json=dstNodeIDs,proto3" json:"dst_nodeIDs,omitempty"`
|
|
|
|
SealedSegmentIDs []int64 `protobuf:"varint,5,rep,packed,name=sealed_segmentIDs,json=sealedSegmentIDs,proto3" json:"sealed_segmentIDs,omitempty"`
|
2022-04-20 16:15:41 +08:00
|
|
|
CollectionID int64 `protobuf:"varint,6,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
2021-12-15 16:53:12 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceRequest) Reset() { *m = LoadBalanceRequest{} }
|
|
|
|
func (m *LoadBalanceRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LoadBalanceRequest) ProtoMessage() {}
|
|
|
|
func (*LoadBalanceRequest) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{31}
|
2021-12-15 16:53:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LoadBalanceRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *LoadBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LoadBalanceRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *LoadBalanceRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LoadBalanceRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *LoadBalanceRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LoadBalanceRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *LoadBalanceRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LoadBalanceRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_LoadBalanceRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *LoadBalanceRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceRequest) GetSourceNodeIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SourceNodeIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceRequest) GetBalanceReason() TriggerCondition {
|
|
|
|
if m != nil {
|
|
|
|
return m.BalanceReason
|
|
|
|
}
|
|
|
|
return TriggerCondition_UnKnowCondition
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceRequest) GetDstNodeIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.DstNodeIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceRequest) GetSealedSegmentIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SealedSegmentIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-04-20 16:15:41 +08:00
|
|
|
func (m *LoadBalanceRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
type DmChannelWatchInfo struct {
|
|
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
2021-12-21 11:57:39 +08:00
|
|
|
DmChannel string `protobuf:"bytes,2,opt,name=dmChannel,proto3" json:"dmChannel,omitempty"`
|
|
|
|
NodeIDLoaded int64 `protobuf:"varint,3,opt,name=nodeID_loaded,json=nodeIDLoaded,proto3" json:"nodeID_loaded,omitempty"`
|
2022-04-20 16:15:41 +08:00
|
|
|
ReplicaID int64 `protobuf:"varint,4,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
|
2022-04-29 14:11:47 +08:00
|
|
|
NodeIds []int64 `protobuf:"varint,5,rep,packed,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
|
2021-12-15 16:53:12 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DmChannelWatchInfo) Reset() { *m = DmChannelWatchInfo{} }
|
|
|
|
func (m *DmChannelWatchInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DmChannelWatchInfo) ProtoMessage() {}
|
|
|
|
func (*DmChannelWatchInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{32}
|
2021-12-15 16:53:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DmChannelWatchInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DmChannelWatchInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DmChannelWatchInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DmChannelWatchInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DmChannelWatchInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DmChannelWatchInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DmChannelWatchInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DmChannelWatchInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DmChannelWatchInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DmChannelWatchInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DmChannelWatchInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DmChannelWatchInfo) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *DmChannelWatchInfo) GetDmChannel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DmChannel
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DmChannelWatchInfo) GetNodeIDLoaded() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeIDLoaded
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-04-20 16:15:41 +08:00
|
|
|
func (m *DmChannelWatchInfo) GetReplicaID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-04-29 14:11:47 +08:00
|
|
|
func (m *DmChannelWatchInfo) GetNodeIds() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeIds
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type QueryChannelInfo struct {
|
2023-03-04 23:21:50 +08:00
|
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
QueryChannel string `protobuf:"bytes,2,opt,name=query_channel,json=queryChannel,proto3" json:"query_channel,omitempty"`
|
|
|
|
QueryResultChannel string `protobuf:"bytes,3,opt,name=query_result_channel,json=queryResultChannel,proto3" json:"query_result_channel,omitempty"`
|
|
|
|
GlobalSealedSegments []*SegmentInfo `protobuf:"bytes,4,rep,name=global_sealed_segments,json=globalSealedSegments,proto3" json:"global_sealed_segments,omitempty"`
|
|
|
|
SeekPosition *msgpb.MsgPosition `protobuf:"bytes,5,opt,name=seek_position,json=seekPosition,proto3" json:"seek_position,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *QueryChannelInfo) Reset() { *m = QueryChannelInfo{} }
|
|
|
|
func (m *QueryChannelInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*QueryChannelInfo) ProtoMessage() {}
|
|
|
|
func (*QueryChannelInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{33}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *QueryChannelInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_QueryChannelInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *QueryChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_QueryChannelInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *QueryChannelInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_QueryChannelInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *QueryChannelInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_QueryChannelInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *QueryChannelInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_QueryChannelInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_QueryChannelInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *QueryChannelInfo) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *QueryChannelInfo) GetQueryChannel() string {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.QueryChannel
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *QueryChannelInfo) GetQueryResultChannel() string {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.QueryResultChannel
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-10-22 19:07:15 +08:00
|
|
|
func (m *QueryChannelInfo) GetGlobalSealedSegments() []*SegmentInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.GlobalSealedSegments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-04 23:21:50 +08:00
|
|
|
func (m *QueryChannelInfo) GetSeekPosition() *msgpb.MsgPosition {
|
2021-10-22 19:07:15 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.SeekPosition
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
type PartitionStates struct {
|
|
|
|
PartitionID int64 `protobuf:"varint,1,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
|
|
State PartitionState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.query.PartitionState" json:"state,omitempty"`
|
|
|
|
InMemoryPercentage int64 `protobuf:"varint,3,opt,name=inMemory_percentage,json=inMemoryPercentage,proto3" json:"inMemory_percentage,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *PartitionStates) Reset() { *m = PartitionStates{} }
|
|
|
|
func (m *PartitionStates) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PartitionStates) ProtoMessage() {}
|
|
|
|
func (*PartitionStates) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{34}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *PartitionStates) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_PartitionStates.Unmarshal(m, b)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *PartitionStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_PartitionStates.Marshal(b, m, deterministic)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *PartitionStates) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_PartitionStates.Merge(m, src)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *PartitionStates) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_PartitionStates.Size(m)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *PartitionStates) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_PartitionStates.DiscardUnknown(m)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
var xxx_messageInfo_PartitionStates proto.InternalMessageInfo
|
2021-06-15 12:41:40 +08:00
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *PartitionStates) GetPartitionID() int64 {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.PartitionID
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *PartitionStates) GetState() PartitionState {
|
2021-06-23 17:44:12 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.State
|
2021-06-23 17:44:12 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
return PartitionState_NotExist
|
2021-06-23 17:44:12 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *PartitionStates) GetInMemoryPercentage() int64 {
|
2021-08-02 22:39:25 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.InMemoryPercentage
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
type SegmentInfo struct {
|
2022-05-20 18:03:58 +08:00
|
|
|
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
|
|
// deprecated, check node_ids(NodeIds) field
|
2021-12-30 19:09:33 +08:00
|
|
|
NodeID int64 `protobuf:"varint,4,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
|
|
MemSize int64 `protobuf:"varint,5,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"`
|
|
|
|
NumRows int64 `protobuf:"varint,6,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
|
|
IndexName string `protobuf:"bytes,7,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
|
|
|
|
IndexID int64 `protobuf:"varint,8,opt,name=indexID,proto3" json:"indexID,omitempty"`
|
|
|
|
DmChannel string `protobuf:"bytes,9,opt,name=dmChannel,proto3" json:"dmChannel,omitempty"`
|
|
|
|
CompactionFrom []int64 `protobuf:"varint,10,rep,packed,name=compactionFrom,proto3" json:"compactionFrom,omitempty"`
|
|
|
|
CreatedByCompaction bool `protobuf:"varint,11,opt,name=createdByCompaction,proto3" json:"createdByCompaction,omitempty"`
|
|
|
|
SegmentState commonpb.SegmentState `protobuf:"varint,12,opt,name=segment_state,json=segmentState,proto3,enum=milvus.proto.common.SegmentState" json:"segment_state,omitempty"`
|
2022-03-30 21:11:28 +08:00
|
|
|
IndexInfos []*FieldIndexInfo `protobuf:"bytes,13,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"`
|
2022-03-25 11:13:25 +08:00
|
|
|
ReplicaIds []int64 `protobuf:"varint,14,rep,packed,name=replica_ids,json=replicaIds,proto3" json:"replica_ids,omitempty"`
|
|
|
|
NodeIds []int64 `protobuf:"varint,15,rep,packed,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
|
2022-08-25 15:48:54 +08:00
|
|
|
EnableIndex bool `protobuf:"varint,16,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
|
2022-10-26 16:49:31 +08:00
|
|
|
IsFake bool `protobuf:"varint,17,opt,name=is_fake,json=isFake,proto3" json:"is_fake,omitempty"`
|
2021-12-30 19:09:33 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) Reset() { *m = SegmentInfo{} }
|
|
|
|
func (m *SegmentInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentInfo) ProtoMessage() {}
|
|
|
|
func (*SegmentInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{35}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentInfo.Unmarshal(m, b)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentInfo.Marshal(b, m, deterministic)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentInfo.Merge(m, src)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentInfo.Size(m)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentInfo.DiscardUnknown(m)
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
var xxx_messageInfo_SegmentInfo proto.InternalMessageInfo
|
2021-06-15 12:41:40 +08:00
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetSegmentID() int64 {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.SegmentID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetCollectionID() int64 {
|
2021-06-15 12:41:40 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.CollectionID
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetPartitionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.PartitionID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetNodeID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.NodeID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-01-20 09:36:50 +08:00
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetMemSize() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.MemSize
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetNumRows() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.NumRows
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetIndexName() string {
|
2021-01-24 18:02:08 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.IndexName
|
2021-01-24 18:02:08 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
return ""
|
2021-01-24 18:02:08 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetIndexID() int64 {
|
2021-02-07 09:30:48 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.IndexID
|
2021-02-07 09:30:48 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
return 0
|
2021-02-07 09:30:48 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetDmChannel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DmChannel
|
|
|
|
}
|
|
|
|
return ""
|
2021-10-24 22:39:09 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetCompactionFrom() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CompactionFrom
|
|
|
|
}
|
|
|
|
return nil
|
2021-10-24 22:39:09 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetCreatedByCompaction() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreatedByCompaction
|
|
|
|
}
|
|
|
|
return false
|
2021-10-24 22:39:09 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *SegmentInfo) GetSegmentState() commonpb.SegmentState {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentState
|
|
|
|
}
|
|
|
|
return commonpb.SegmentState_SegmentStateNone
|
|
|
|
}
|
2021-10-24 22:39:09 +08:00
|
|
|
|
2022-03-30 21:11:28 +08:00
|
|
|
func (m *SegmentInfo) GetIndexInfos() []*FieldIndexInfo {
|
2021-10-24 22:39:09 +08:00
|
|
|
if m != nil {
|
2021-12-30 19:09:33 +08:00
|
|
|
return m.IndexInfos
|
2021-10-24 22:39:09 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-03-25 11:13:25 +08:00
|
|
|
func (m *SegmentInfo) GetReplicaIds() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaIds
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfo) GetNodeIds() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeIds
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-08-25 15:48:54 +08:00
|
|
|
func (m *SegmentInfo) GetEnableIndex() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.EnableIndex
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2022-10-26 16:49:31 +08:00
|
|
|
func (m *SegmentInfo) GetIsFake() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IsFake
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
type CollectionInfo struct {
|
|
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionIDs []int64 `protobuf:"varint,2,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
|
|
|
|
PartitionStates []*PartitionStates `protobuf:"bytes,3,rep,name=partition_states,json=partitionStates,proto3" json:"partition_states,omitempty"`
|
2021-12-21 11:57:39 +08:00
|
|
|
LoadType LoadType `protobuf:"varint,4,opt,name=load_type,json=loadType,proto3,enum=milvus.proto.query.LoadType" json:"load_type,omitempty"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
|
|
ReleasedPartitionIDs []int64 `protobuf:"varint,6,rep,packed,name=released_partitionIDs,json=releasedPartitionIDs,proto3" json:"released_partitionIDs,omitempty"`
|
|
|
|
InMemoryPercentage int64 `protobuf:"varint,7,opt,name=inMemory_percentage,json=inMemoryPercentage,proto3" json:"inMemory_percentage,omitempty"`
|
2022-03-25 11:13:25 +08:00
|
|
|
ReplicaIds []int64 `protobuf:"varint,8,rep,packed,name=replica_ids,json=replicaIds,proto3" json:"replica_ids,omitempty"`
|
2022-04-01 16:15:29 +08:00
|
|
|
ReplicaNumber int32 `protobuf:"varint,9,opt,name=replica_number,json=replicaNumber,proto3" json:"replica_number,omitempty"`
|
2021-12-15 16:53:12 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) Reset() { *m = CollectionInfo{} }
|
|
|
|
func (m *CollectionInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CollectionInfo) ProtoMessage() {}
|
|
|
|
func (*CollectionInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{36}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CollectionInfo.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CollectionInfo.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CollectionInfo.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CollectionInfo.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CollectionInfo.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
var xxx_messageInfo_CollectionInfo proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) GetCollectionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionInfo) GetPartitionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionIDs
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) GetPartitionStates() []*PartitionStates {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.PartitionStates
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return nil
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) GetLoadType() LoadType {
|
2021-11-06 15:22:56 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.LoadType
|
|
|
|
}
|
2022-03-14 09:50:01 +08:00
|
|
|
return LoadType_UnKnownType
|
2021-12-15 16:53:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionInfo) GetSchema() *schemapb.CollectionSchema {
|
|
|
|
if m != nil {
|
|
|
|
return m.Schema
|
2021-11-06 15:22:56 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) GetReleasedPartitionIDs() []int64 {
|
2021-11-06 15:22:56 +08:00
|
|
|
if m != nil {
|
2021-12-15 16:53:12 +08:00
|
|
|
return m.ReleasedPartitionIDs
|
2021-11-06 15:22:56 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-12-15 16:53:12 +08:00
|
|
|
func (m *CollectionInfo) GetInMemoryPercentage() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.InMemoryPercentage
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-03-25 11:13:25 +08:00
|
|
|
func (m *CollectionInfo) GetReplicaIds() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaIds
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
func (m *CollectionInfo) GetReplicaNumber() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaNumber
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-01-17 17:37:37 +08:00
|
|
|
type UnsubscribeChannels struct {
|
|
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
Channels []string `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubscribeChannels) Reset() { *m = UnsubscribeChannels{} }
|
|
|
|
func (m *UnsubscribeChannels) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UnsubscribeChannels) ProtoMessage() {}
|
|
|
|
func (*UnsubscribeChannels) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{37}
|
2022-01-17 17:37:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubscribeChannels) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UnsubscribeChannels.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UnsubscribeChannels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UnsubscribeChannels.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *UnsubscribeChannels) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UnsubscribeChannels.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UnsubscribeChannels) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UnsubscribeChannels.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UnsubscribeChannels) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UnsubscribeChannels.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UnsubscribeChannels proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UnsubscribeChannels) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubscribeChannels) GetChannels() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Channels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type UnsubscribeChannelInfo struct {
|
|
|
|
NodeID int64 `protobuf:"varint,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
|
|
CollectionChannels []*UnsubscribeChannels `protobuf:"bytes,2,rep,name=collection_channels,json=collectionChannels,proto3" json:"collection_channels,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubscribeChannelInfo) Reset() { *m = UnsubscribeChannelInfo{} }
|
|
|
|
func (m *UnsubscribeChannelInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UnsubscribeChannelInfo) ProtoMessage() {}
|
|
|
|
func (*UnsubscribeChannelInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{38}
|
2022-01-17 17:37:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubscribeChannelInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UnsubscribeChannelInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UnsubscribeChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UnsubscribeChannelInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *UnsubscribeChannelInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UnsubscribeChannelInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UnsubscribeChannelInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UnsubscribeChannelInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UnsubscribeChannelInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UnsubscribeChannelInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UnsubscribeChannelInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UnsubscribeChannelInfo) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UnsubscribeChannelInfo) GetCollectionChannels() []*UnsubscribeChannels {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionChannels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-04 23:21:50 +08:00
|
|
|
//---- synchronize messages proto between QueryCoord and QueryNode -----
|
2021-10-26 15:18:22 +08:00
|
|
|
type SegmentChangeInfo struct {
|
|
|
|
OnlineNodeID int64 `protobuf:"varint,1,opt,name=online_nodeID,json=onlineNodeID,proto3" json:"online_nodeID,omitempty"`
|
|
|
|
OnlineSegments []*SegmentInfo `protobuf:"bytes,2,rep,name=online_segments,json=onlineSegments,proto3" json:"online_segments,omitempty"`
|
|
|
|
OfflineNodeID int64 `protobuf:"varint,3,opt,name=offline_nodeID,json=offlineNodeID,proto3" json:"offline_nodeID,omitempty"`
|
|
|
|
OfflineSegments []*SegmentInfo `protobuf:"bytes,4,rep,name=offline_segments,json=offlineSegments,proto3" json:"offline_segments,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentChangeInfo) Reset() { *m = SegmentChangeInfo{} }
|
|
|
|
func (m *SegmentChangeInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentChangeInfo) ProtoMessage() {}
|
|
|
|
func (*SegmentChangeInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{39}
|
2021-10-26 15:18:22 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentChangeInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentChangeInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentChangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentChangeInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SegmentChangeInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentChangeInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SegmentChangeInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentChangeInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentChangeInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentChangeInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentChangeInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentChangeInfo) GetOnlineNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.OnlineNodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentChangeInfo) GetOnlineSegments() []*SegmentInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.OnlineSegments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentChangeInfo) GetOfflineNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.OfflineNodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentChangeInfo) GetOfflineSegments() []*SegmentInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.OfflineSegments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-10-09 14:45:00 +08:00
|
|
|
type SealedSegmentsChangeInfo struct {
|
2021-10-26 15:18:22 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
Infos []*SegmentChangeInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-10-09 14:45:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SealedSegmentsChangeInfo) Reset() { *m = SealedSegmentsChangeInfo{} }
|
|
|
|
func (m *SealedSegmentsChangeInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SealedSegmentsChangeInfo) ProtoMessage() {}
|
|
|
|
func (*SealedSegmentsChangeInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{40}
|
2021-10-09 14:45:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SealedSegmentsChangeInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SealedSegmentsChangeInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SealedSegmentsChangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SealedSegmentsChangeInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SealedSegmentsChangeInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SealedSegmentsChangeInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SealedSegmentsChangeInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SealedSegmentsChangeInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SealedSegmentsChangeInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SealedSegmentsChangeInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SealedSegmentsChangeInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SealedSegmentsChangeInfo) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-10-26 15:18:22 +08:00
|
|
|
func (m *SealedSegmentsChangeInfo) GetInfos() []*SegmentChangeInfo {
|
2021-10-09 14:45:00 +08:00
|
|
|
if m != nil {
|
2021-10-26 15:18:22 +08:00
|
|
|
return m.Infos
|
2021-10-09 14:45:00 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type GetDataDistributionRequest struct {
|
2023-03-27 00:42:00 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
Checkpoints map[string]*msgpb.MsgPosition `protobuf:"bytes,2,rep,name=checkpoints,proto3" json:"checkpoints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (m *GetDataDistributionRequest) Reset() { *m = GetDataDistributionRequest{} }
|
|
|
|
func (m *GetDataDistributionRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetDataDistributionRequest) ProtoMessage() {}
|
|
|
|
func (*GetDataDistributionRequest) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{41}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (m *GetDataDistributionRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetDataDistributionRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetDataDistributionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetDataDistributionRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetDataDistributionRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetDataDistributionRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetDataDistributionRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetDataDistributionRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetDataDistributionRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetDataDistributionRequest.DiscardUnknown(m)
|
|
|
|
}
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
var xxx_messageInfo_GetDataDistributionRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (m *GetDataDistributionRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2023-03-27 00:42:00 +08:00
|
|
|
func (m *GetDataDistributionRequest) GetCheckpoints() map[string]*msgpb.MsgPosition {
|
|
|
|
if m != nil {
|
|
|
|
return m.Checkpoints
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type GetDataDistributionResponse struct {
|
|
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
NodeID int64 `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
2022-09-20 19:24:51 +08:00
|
|
|
Segments []*SegmentVersionInfo `protobuf:"bytes,3,rep,name=segments,proto3" json:"segments,omitempty"`
|
|
|
|
Channels []*ChannelVersionInfo `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
|
|
LeaderViews []*LeaderView `protobuf:"bytes,5,rep,name=leader_views,json=leaderViews,proto3" json:"leader_views,omitempty"`
|
2022-09-15 18:48:32 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (m *GetDataDistributionResponse) Reset() { *m = GetDataDistributionResponse{} }
|
|
|
|
func (m *GetDataDistributionResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GetDataDistributionResponse) ProtoMessage() {}
|
|
|
|
func (*GetDataDistributionResponse) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{42}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (m *GetDataDistributionResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GetDataDistributionResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GetDataDistributionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GetDataDistributionResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GetDataDistributionResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GetDataDistributionResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GetDataDistributionResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GetDataDistributionResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GetDataDistributionResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GetDataDistributionResponse.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
var xxx_messageInfo_GetDataDistributionResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GetDataDistributionResponse) GetStatus() *commonpb.Status {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2022-09-15 18:48:32 +08:00
|
|
|
return nil
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (m *GetDataDistributionResponse) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
2022-09-15 18:48:32 +08:00
|
|
|
return 0
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (m *GetDataDistributionResponse) GetSegments() []*SegmentVersionInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.Segments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetDataDistributionResponse) GetChannels() []*ChannelVersionInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.Channels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GetDataDistributionResponse) GetLeaderViews() []*LeaderView {
|
|
|
|
if m != nil {
|
|
|
|
return m.LeaderViews
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type LeaderView struct {
|
2023-03-04 23:21:50 +08:00
|
|
|
Collection int64 `protobuf:"varint,1,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
|
|
Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
|
|
SegmentDist map[int64]*SegmentDist `protobuf:"bytes,3,rep,name=segment_dist,json=segmentDist,proto3" json:"segment_dist,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
GrowingSegmentIDs []int64 `protobuf:"varint,4,rep,packed,name=growing_segmentIDs,json=growingSegmentIDs,proto3" json:"growing_segmentIDs,omitempty"`
|
|
|
|
GrowingSegments map[int64]*msgpb.MsgPosition `protobuf:"bytes,5,rep,name=growing_segments,json=growingSegments,proto3" json:"growing_segments,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LeaderView) Reset() { *m = LeaderView{} }
|
|
|
|
func (m *LeaderView) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LeaderView) ProtoMessage() {}
|
|
|
|
func (*LeaderView) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{43}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LeaderView) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LeaderView.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *LeaderView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LeaderView.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *LeaderView) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LeaderView.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *LeaderView) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LeaderView.Size(m)
|
|
|
|
}
|
|
|
|
func (m *LeaderView) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LeaderView.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_LeaderView proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *LeaderView) GetCollection() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Collection
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LeaderView) GetChannel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Channel
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-09-28 12:10:54 +08:00
|
|
|
func (m *LeaderView) GetSegmentDist() map[int64]*SegmentDist {
|
2022-09-15 18:48:32 +08:00
|
|
|
if m != nil {
|
2022-09-28 12:10:54 +08:00
|
|
|
return m.SegmentDist
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-20 19:24:51 +08:00
|
|
|
func (m *LeaderView) GetGrowingSegmentIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.GrowingSegmentIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-04 23:21:50 +08:00
|
|
|
func (m *LeaderView) GetGrowingSegments() map[int64]*msgpb.MsgPosition {
|
2022-11-07 19:37:04 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.GrowingSegments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-28 12:10:54 +08:00
|
|
|
type SegmentDist struct {
|
|
|
|
NodeID int64 `protobuf:"varint,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
|
|
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDist) Reset() { *m = SegmentDist{} }
|
|
|
|
func (m *SegmentDist) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentDist) ProtoMessage() {}
|
|
|
|
func (*SegmentDist) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{44}
|
2022-09-28 12:10:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDist) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentDist.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentDist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentDist.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SegmentDist) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentDist.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SegmentDist) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentDist.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentDist) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentDist.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentDist proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentDist) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDist) GetVersion() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type SegmentVersionInfo struct {
|
|
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Collection int64 `protobuf:"varint,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
|
|
Partition int64 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
|
|
Channel string `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
|
|
Version int64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
|
2023-03-27 00:42:00 +08:00
|
|
|
LastDeltaTimestamp uint64 `protobuf:"varint,6,opt,name=last_delta_timestamp,json=lastDeltaTimestamp,proto3" json:"last_delta_timestamp,omitempty"`
|
2022-09-15 18:48:32 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentVersionInfo) Reset() { *m = SegmentVersionInfo{} }
|
|
|
|
func (m *SegmentVersionInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentVersionInfo) ProtoMessage() {}
|
|
|
|
func (*SegmentVersionInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{45}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentVersionInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentVersionInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentVersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentVersionInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SegmentVersionInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentVersionInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SegmentVersionInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentVersionInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentVersionInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentVersionInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentVersionInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentVersionInfo) GetID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentVersionInfo) GetCollection() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Collection
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentVersionInfo) GetPartition() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Partition
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentVersionInfo) GetChannel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Channel
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentVersionInfo) GetVersion() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-03-27 00:42:00 +08:00
|
|
|
func (m *SegmentVersionInfo) GetLastDeltaTimestamp() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastDeltaTimestamp
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type ChannelVersionInfo struct {
|
|
|
|
Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
|
|
Collection int64 `protobuf:"varint,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
|
|
Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelVersionInfo) Reset() { *m = ChannelVersionInfo{} }
|
|
|
|
func (m *ChannelVersionInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChannelVersionInfo) ProtoMessage() {}
|
|
|
|
func (*ChannelVersionInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{46}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelVersionInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ChannelVersionInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ChannelVersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ChannelVersionInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ChannelVersionInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ChannelVersionInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ChannelVersionInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ChannelVersionInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ChannelVersionInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ChannelVersionInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ChannelVersionInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ChannelVersionInfo) GetChannel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Channel
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelVersionInfo) GetCollection() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Collection
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChannelVersionInfo) GetVersion() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type CollectionLoadInfo struct {
|
2022-10-20 11:29:27 +08:00
|
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
ReleasedPartitions []int64 `protobuf:"varint,2,rep,packed,name=released_partitions,json=releasedPartitions,proto3" json:"released_partitions,omitempty"`
|
|
|
|
ReplicaNumber int32 `protobuf:"varint,3,opt,name=replica_number,json=replicaNumber,proto3" json:"replica_number,omitempty"`
|
|
|
|
Status LoadStatus `protobuf:"varint,4,opt,name=status,proto3,enum=milvus.proto.query.LoadStatus" json:"status,omitempty"`
|
|
|
|
FieldIndexID map[int64]int64 `protobuf:"bytes,5,rep,name=field_indexID,json=fieldIndexID,proto3" json:"field_indexID,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
2023-03-20 14:55:57 +08:00
|
|
|
LoadType LoadType `protobuf:"varint,6,opt,name=load_type,json=loadType,proto3,enum=milvus.proto.query.LoadType" json:"load_type,omitempty"`
|
2022-10-20 11:29:27 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionLoadInfo) Reset() { *m = CollectionLoadInfo{} }
|
|
|
|
func (m *CollectionLoadInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CollectionLoadInfo) ProtoMessage() {}
|
|
|
|
func (*CollectionLoadInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{47}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionLoadInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CollectionLoadInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CollectionLoadInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CollectionLoadInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *CollectionLoadInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CollectionLoadInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *CollectionLoadInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CollectionLoadInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CollectionLoadInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CollectionLoadInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CollectionLoadInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CollectionLoadInfo) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionLoadInfo) GetReleasedPartitions() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReleasedPartitions
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionLoadInfo) GetReplicaNumber() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaNumber
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionLoadInfo) GetStatus() LoadStatus {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return LoadStatus_Invalid
|
|
|
|
}
|
|
|
|
|
2022-10-20 11:29:27 +08:00
|
|
|
func (m *CollectionLoadInfo) GetFieldIndexID() map[int64]int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FieldIndexID
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-20 14:55:57 +08:00
|
|
|
func (m *CollectionLoadInfo) GetLoadType() LoadType {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoadType
|
|
|
|
}
|
|
|
|
return LoadType_UnKnownType
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type PartitionLoadInfo struct {
|
2022-10-20 11:29:27 +08:00
|
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
|
|
ReplicaNumber int32 `protobuf:"varint,3,opt,name=replica_number,json=replicaNumber,proto3" json:"replica_number,omitempty"`
|
|
|
|
Status LoadStatus `protobuf:"varint,4,opt,name=status,proto3,enum=milvus.proto.query.LoadStatus" json:"status,omitempty"`
|
|
|
|
FieldIndexID map[int64]int64 `protobuf:"bytes,5,rep,name=field_indexID,json=fieldIndexID,proto3" json:"field_indexID,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartitionLoadInfo) Reset() { *m = PartitionLoadInfo{} }
|
|
|
|
func (m *PartitionLoadInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PartitionLoadInfo) ProtoMessage() {}
|
|
|
|
func (*PartitionLoadInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{48}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartitionLoadInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_PartitionLoadInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *PartitionLoadInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_PartitionLoadInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *PartitionLoadInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_PartitionLoadInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *PartitionLoadInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_PartitionLoadInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *PartitionLoadInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_PartitionLoadInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_PartitionLoadInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *PartitionLoadInfo) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartitionLoadInfo) GetPartitionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartitionLoadInfo) GetReplicaNumber() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaNumber
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartitionLoadInfo) GetStatus() LoadStatus {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return LoadStatus_Invalid
|
|
|
|
}
|
|
|
|
|
2022-10-20 11:29:27 +08:00
|
|
|
func (m *PartitionLoadInfo) GetFieldIndexID() map[int64]int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FieldIndexID
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type Replica struct {
|
|
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
Nodes []int64 `protobuf:"varint,3,rep,packed,name=nodes,proto3" json:"nodes,omitempty"`
|
2023-01-30 10:19:48 +08:00
|
|
|
ResourceGroup string `protobuf:"bytes,4,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
|
2022-09-15 18:48:32 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Replica) Reset() { *m = Replica{} }
|
|
|
|
func (m *Replica) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Replica) ProtoMessage() {}
|
|
|
|
func (*Replica) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{49}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Replica) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Replica.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Replica) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Replica.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Replica) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Replica.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Replica) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Replica.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Replica) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Replica.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Replica proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Replica) GetID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Replica) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Replica) GetNodes() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Nodes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-01-30 10:19:48 +08:00
|
|
|
func (m *Replica) GetResourceGroup() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ResourceGroup
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type SyncAction struct {
|
2023-03-27 00:42:00 +08:00
|
|
|
Type SyncType `protobuf:"varint,1,opt,name=type,proto3,enum=milvus.proto.query.SyncType" json:"type,omitempty"`
|
|
|
|
PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
|
|
SegmentID int64 `protobuf:"varint,3,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
|
|
NodeID int64 `protobuf:"varint,4,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
|
|
|
Version int64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
Info *SegmentLoadInfo `protobuf:"bytes,6,opt,name=info,proto3" json:"info,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncAction) Reset() { *m = SyncAction{} }
|
|
|
|
func (m *SyncAction) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SyncAction) ProtoMessage() {}
|
|
|
|
func (*SyncAction) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{50}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncAction) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SyncAction.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SyncAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SyncAction.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SyncAction) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SyncAction.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SyncAction) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SyncAction.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SyncAction) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SyncAction.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SyncAction proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SyncAction) GetType() SyncType {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
|
|
|
}
|
|
|
|
return SyncType_Remove
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncAction) GetPartitionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncAction) GetSegmentID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncAction) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-09-28 12:10:54 +08:00
|
|
|
func (m *SyncAction) GetVersion() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-03-27 00:42:00 +08:00
|
|
|
func (m *SyncAction) GetInfo() *SegmentLoadInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.Info
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
type SyncDistributionRequest struct {
|
2023-04-07 19:32:29 +08:00
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
|
|
Actions []*SyncAction `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
|
|
LoadMeta *LoadMetaInfo `protobuf:"bytes,6,opt,name=load_meta,json=loadMeta,proto3" json:"load_meta,omitempty"`
|
|
|
|
ReplicaID int64 `protobuf:"varint,7,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
|
|
|
|
Version int64 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncDistributionRequest) Reset() { *m = SyncDistributionRequest{} }
|
|
|
|
func (m *SyncDistributionRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SyncDistributionRequest) ProtoMessage() {}
|
|
|
|
func (*SyncDistributionRequest) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{51}
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncDistributionRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SyncDistributionRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SyncDistributionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SyncDistributionRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SyncDistributionRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SyncDistributionRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SyncDistributionRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SyncDistributionRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SyncDistributionRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SyncDistributionRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SyncDistributionRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SyncDistributionRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncDistributionRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncDistributionRequest) GetChannel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Channel
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncDistributionRequest) GetActions() []*SyncAction {
|
|
|
|
if m != nil {
|
|
|
|
return m.Actions
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-04-07 19:32:29 +08:00
|
|
|
func (m *SyncDistributionRequest) GetSchema() *schemapb.CollectionSchema {
|
|
|
|
if m != nil {
|
|
|
|
return m.Schema
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncDistributionRequest) GetLoadMeta() *LoadMetaInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoadMeta
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncDistributionRequest) GetReplicaID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReplicaID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SyncDistributionRequest) GetVersion() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-01-30 10:19:48 +08:00
|
|
|
type ResourceGroup struct {
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
Capacity int32 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
|
|
|
|
Nodes []int64 `protobuf:"varint,3,rep,packed,name=nodes,proto3" json:"nodes,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroup) Reset() { *m = ResourceGroup{} }
|
|
|
|
func (m *ResourceGroup) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResourceGroup) ProtoMessage() {}
|
|
|
|
func (*ResourceGroup) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{52}
|
2023-01-30 10:19:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroup) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ResourceGroup.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ResourceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ResourceGroup.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ResourceGroup) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ResourceGroup.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ResourceGroup) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ResourceGroup.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ResourceGroup) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ResourceGroup.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ResourceGroup proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ResourceGroup) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroup) GetCapacity() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Capacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroup) GetNodes() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Nodes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// transfer `replicaNum` replicas in `collectionID` from `source_resource_group` to `target_resource_groups`
|
|
|
|
type TransferReplicaRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
SourceResourceGroup string `protobuf:"bytes,2,opt,name=source_resource_group,json=sourceResourceGroup,proto3" json:"source_resource_group,omitempty"`
|
|
|
|
TargetResourceGroup string `protobuf:"bytes,3,opt,name=target_resource_group,json=targetResourceGroup,proto3" json:"target_resource_group,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
NumReplica int64 `protobuf:"varint,5,opt,name=num_replica,json=numReplica,proto3" json:"num_replica,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TransferReplicaRequest) Reset() { *m = TransferReplicaRequest{} }
|
|
|
|
func (m *TransferReplicaRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*TransferReplicaRequest) ProtoMessage() {}
|
|
|
|
func (*TransferReplicaRequest) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{53}
|
2023-01-30 10:19:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TransferReplicaRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_TransferReplicaRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *TransferReplicaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_TransferReplicaRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *TransferReplicaRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_TransferReplicaRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *TransferReplicaRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_TransferReplicaRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *TransferReplicaRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_TransferReplicaRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_TransferReplicaRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *TransferReplicaRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TransferReplicaRequest) GetSourceResourceGroup() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.SourceResourceGroup
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TransferReplicaRequest) GetTargetResourceGroup() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.TargetResourceGroup
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TransferReplicaRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TransferReplicaRequest) GetNumReplica() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumReplica
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type DescribeResourceGroupRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
ResourceGroup string `protobuf:"bytes,2,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DescribeResourceGroupRequest) Reset() { *m = DescribeResourceGroupRequest{} }
|
|
|
|
func (m *DescribeResourceGroupRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DescribeResourceGroupRequest) ProtoMessage() {}
|
|
|
|
func (*DescribeResourceGroupRequest) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{54}
|
2023-01-30 10:19:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DescribeResourceGroupRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DescribeResourceGroupRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DescribeResourceGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DescribeResourceGroupRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DescribeResourceGroupRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DescribeResourceGroupRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DescribeResourceGroupRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DescribeResourceGroupRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DescribeResourceGroupRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DescribeResourceGroupRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DescribeResourceGroupRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DescribeResourceGroupRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DescribeResourceGroupRequest) GetResourceGroup() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ResourceGroup
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type DescribeResourceGroupResponse struct {
|
|
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
ResourceGroup *ResourceGroupInfo `protobuf:"bytes,2,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DescribeResourceGroupResponse) Reset() { *m = DescribeResourceGroupResponse{} }
|
|
|
|
func (m *DescribeResourceGroupResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DescribeResourceGroupResponse) ProtoMessage() {}
|
|
|
|
func (*DescribeResourceGroupResponse) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{55}
|
2023-01-30 10:19:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DescribeResourceGroupResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DescribeResourceGroupResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DescribeResourceGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DescribeResourceGroupResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DescribeResourceGroupResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DescribeResourceGroupResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DescribeResourceGroupResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DescribeResourceGroupResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DescribeResourceGroupResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DescribeResourceGroupResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DescribeResourceGroupResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DescribeResourceGroupResponse) GetStatus() *commonpb.Status {
|
|
|
|
if m != nil {
|
|
|
|
return m.Status
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DescribeResourceGroupResponse) GetResourceGroup() *ResourceGroupInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.ResourceGroup
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceGroupInfo struct {
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
Capacity int32 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
|
|
|
|
NumAvailableNode int32 `protobuf:"varint,3,opt,name=num_available_node,json=numAvailableNode,proto3" json:"num_available_node,omitempty"`
|
|
|
|
// collection id -> loaded replica num
|
|
|
|
NumLoadedReplica map[int64]int32 `protobuf:"bytes,4,rep,name=num_loaded_replica,json=numLoadedReplica,proto3" json:"num_loaded_replica,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
|
|
// collection id -> accessed other rg's node num
|
|
|
|
NumOutgoingNode map[int64]int32 `protobuf:"bytes,5,rep,name=num_outgoing_node,json=numOutgoingNode,proto3" json:"num_outgoing_node,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
|
|
// collection id -> be accessed node num by other rg
|
|
|
|
NumIncomingNode map[int64]int32 `protobuf:"bytes,6,rep,name=num_incoming_node,json=numIncomingNode,proto3" json:"num_incoming_node,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroupInfo) Reset() { *m = ResourceGroupInfo{} }
|
|
|
|
func (m *ResourceGroupInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResourceGroupInfo) ProtoMessage() {}
|
|
|
|
func (*ResourceGroupInfo) Descriptor() ([]byte, []int) {
|
2023-03-27 00:42:00 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{56}
|
2023-01-30 10:19:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroupInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ResourceGroupInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ResourceGroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ResourceGroupInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ResourceGroupInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ResourceGroupInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ResourceGroupInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ResourceGroupInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ResourceGroupInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ResourceGroupInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ResourceGroupInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ResourceGroupInfo) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroupInfo) GetCapacity() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Capacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroupInfo) GetNumAvailableNode() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumAvailableNode
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroupInfo) GetNumLoadedReplica() map[int64]int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumLoadedReplica
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroupInfo) GetNumOutgoingNode() map[int64]int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumOutgoingNode
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResourceGroupInfo) GetNumIncomingNode() map[int64]int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumIncomingNode
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-27 00:42:00 +08:00
|
|
|
type DeleteRequest struct {
|
|
|
|
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
|
|
CollectionId int64 `protobuf:"varint,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
|
|
|
|
PartitionId int64 `protobuf:"varint,3,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
|
|
|
|
VchannelName string `protobuf:"bytes,4,opt,name=vchannel_name,json=vchannelName,proto3" json:"vchannel_name,omitempty"`
|
|
|
|
SegmentId int64 `protobuf:"varint,5,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"`
|
|
|
|
PrimaryKeys *schemapb.IDs `protobuf:"bytes,6,opt,name=primary_keys,json=primaryKeys,proto3" json:"primary_keys,omitempty"`
|
|
|
|
Timestamps []uint64 `protobuf:"varint,7,rep,packed,name=timestamps,proto3" json:"timestamps,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
|
|
|
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DeleteRequest) ProtoMessage() {}
|
|
|
|
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{57}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeleteRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeleteRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DeleteRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) GetCollectionId() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) GetPartitionId() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) GetVchannelName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.VchannelName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) GetSegmentId() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) GetPrimaryKeys() *schemapb.IDs {
|
|
|
|
if m != nil {
|
|
|
|
return m.PrimaryKeys
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) GetTimestamps() []uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Timestamps
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func init() {
|
2023-03-27 00:42:00 +08:00
|
|
|
proto.RegisterEnum("milvus.proto.query.LoadScope", LoadScope_name, LoadScope_value)
|
2022-09-15 18:48:32 +08:00
|
|
|
proto.RegisterEnum("milvus.proto.query.DataScope", DataScope_name, DataScope_value)
|
|
|
|
proto.RegisterEnum("milvus.proto.query.PartitionState", PartitionState_name, PartitionState_value)
|
|
|
|
proto.RegisterEnum("milvus.proto.query.TriggerCondition", TriggerCondition_name, TriggerCondition_value)
|
|
|
|
proto.RegisterEnum("milvus.proto.query.LoadType", LoadType_name, LoadType_value)
|
|
|
|
proto.RegisterEnum("milvus.proto.query.LoadStatus", LoadStatus_name, LoadStatus_value)
|
|
|
|
proto.RegisterEnum("milvus.proto.query.SyncType", SyncType_name, SyncType_value)
|
|
|
|
proto.RegisterType((*ShowCollectionsRequest)(nil), "milvus.proto.query.ShowCollectionsRequest")
|
|
|
|
proto.RegisterType((*ShowCollectionsResponse)(nil), "milvus.proto.query.ShowCollectionsResponse")
|
|
|
|
proto.RegisterType((*ShowPartitionsRequest)(nil), "milvus.proto.query.ShowPartitionsRequest")
|
|
|
|
proto.RegisterType((*ShowPartitionsResponse)(nil), "milvus.proto.query.ShowPartitionsResponse")
|
|
|
|
proto.RegisterType((*LoadCollectionRequest)(nil), "milvus.proto.query.LoadCollectionRequest")
|
2022-10-17 18:01:25 +08:00
|
|
|
proto.RegisterMapType((map[int64]int64)(nil), "milvus.proto.query.LoadCollectionRequest.FieldIndexIDEntry")
|
2022-09-15 18:48:32 +08:00
|
|
|
proto.RegisterType((*ReleaseCollectionRequest)(nil), "milvus.proto.query.ReleaseCollectionRequest")
|
|
|
|
proto.RegisterType((*GetStatisticsRequest)(nil), "milvus.proto.query.GetStatisticsRequest")
|
|
|
|
proto.RegisterType((*LoadPartitionsRequest)(nil), "milvus.proto.query.LoadPartitionsRequest")
|
2022-10-17 18:01:25 +08:00
|
|
|
proto.RegisterMapType((map[int64]int64)(nil), "milvus.proto.query.LoadPartitionsRequest.FieldIndexIDEntry")
|
2022-09-15 18:48:32 +08:00
|
|
|
proto.RegisterType((*ReleasePartitionsRequest)(nil), "milvus.proto.query.ReleasePartitionsRequest")
|
|
|
|
proto.RegisterType((*GetPartitionStatesRequest)(nil), "milvus.proto.query.GetPartitionStatesRequest")
|
|
|
|
proto.RegisterType((*GetPartitionStatesResponse)(nil), "milvus.proto.query.GetPartitionStatesResponse")
|
|
|
|
proto.RegisterType((*GetSegmentInfoRequest)(nil), "milvus.proto.query.GetSegmentInfoRequest")
|
|
|
|
proto.RegisterType((*GetSegmentInfoResponse)(nil), "milvus.proto.query.GetSegmentInfoResponse")
|
|
|
|
proto.RegisterType((*GetShardLeadersRequest)(nil), "milvus.proto.query.GetShardLeadersRequest")
|
|
|
|
proto.RegisterType((*GetShardLeadersResponse)(nil), "milvus.proto.query.GetShardLeadersResponse")
|
|
|
|
proto.RegisterType((*ShardLeadersList)(nil), "milvus.proto.query.ShardLeadersList")
|
2023-03-20 14:55:57 +08:00
|
|
|
proto.RegisterType((*SyncNewCreatedPartitionRequest)(nil), "milvus.proto.query.SyncNewCreatedPartitionRequest")
|
2022-09-15 18:48:32 +08:00
|
|
|
proto.RegisterType((*LoadMetaInfo)(nil), "milvus.proto.query.LoadMetaInfo")
|
|
|
|
proto.RegisterType((*WatchDmChannelsRequest)(nil), "milvus.proto.query.WatchDmChannelsRequest")
|
|
|
|
proto.RegisterMapType((map[int64]*datapb.SegmentInfo)(nil), "milvus.proto.query.WatchDmChannelsRequest.SegmentInfosEntry")
|
|
|
|
proto.RegisterType((*UnsubDmChannelRequest)(nil), "milvus.proto.query.UnsubDmChannelRequest")
|
|
|
|
proto.RegisterType((*SegmentLoadInfo)(nil), "milvus.proto.query.SegmentLoadInfo")
|
|
|
|
proto.RegisterType((*FieldIndexInfo)(nil), "milvus.proto.query.FieldIndexInfo")
|
|
|
|
proto.RegisterType((*LoadSegmentsRequest)(nil), "milvus.proto.query.LoadSegmentsRequest")
|
|
|
|
proto.RegisterType((*ReleaseSegmentsRequest)(nil), "milvus.proto.query.ReleaseSegmentsRequest")
|
|
|
|
proto.RegisterType((*SearchRequest)(nil), "milvus.proto.query.SearchRequest")
|
|
|
|
proto.RegisterType((*QueryRequest)(nil), "milvus.proto.query.QueryRequest")
|
|
|
|
proto.RegisterType((*SyncReplicaSegmentsRequest)(nil), "milvus.proto.query.SyncReplicaSegmentsRequest")
|
|
|
|
proto.RegisterType((*ReplicaSegmentsInfo)(nil), "milvus.proto.query.ReplicaSegmentsInfo")
|
2023-03-27 00:42:00 +08:00
|
|
|
proto.RegisterType((*GetLoadInfoRequest)(nil), "milvus.proto.query.GetLoadInfoRequest")
|
|
|
|
proto.RegisterType((*GetLoadInfoResponse)(nil), "milvus.proto.query.GetLoadInfoResponse")
|
2022-09-15 18:48:32 +08:00
|
|
|
proto.RegisterType((*HandoffSegmentsRequest)(nil), "milvus.proto.query.HandoffSegmentsRequest")
|
|
|
|
proto.RegisterType((*LoadBalanceRequest)(nil), "milvus.proto.query.LoadBalanceRequest")
|
|
|
|
proto.RegisterType((*DmChannelWatchInfo)(nil), "milvus.proto.query.DmChannelWatchInfo")
|
|
|
|
proto.RegisterType((*QueryChannelInfo)(nil), "milvus.proto.query.QueryChannelInfo")
|
|
|
|
proto.RegisterType((*PartitionStates)(nil), "milvus.proto.query.PartitionStates")
|
|
|
|
proto.RegisterType((*SegmentInfo)(nil), "milvus.proto.query.SegmentInfo")
|
|
|
|
proto.RegisterType((*CollectionInfo)(nil), "milvus.proto.query.CollectionInfo")
|
|
|
|
proto.RegisterType((*UnsubscribeChannels)(nil), "milvus.proto.query.UnsubscribeChannels")
|
|
|
|
proto.RegisterType((*UnsubscribeChannelInfo)(nil), "milvus.proto.query.UnsubscribeChannelInfo")
|
|
|
|
proto.RegisterType((*SegmentChangeInfo)(nil), "milvus.proto.query.SegmentChangeInfo")
|
|
|
|
proto.RegisterType((*SealedSegmentsChangeInfo)(nil), "milvus.proto.query.SealedSegmentsChangeInfo")
|
|
|
|
proto.RegisterType((*GetDataDistributionRequest)(nil), "milvus.proto.query.GetDataDistributionRequest")
|
2023-03-27 00:42:00 +08:00
|
|
|
proto.RegisterMapType((map[string]*msgpb.MsgPosition)(nil), "milvus.proto.query.GetDataDistributionRequest.CheckpointsEntry")
|
2022-09-15 18:48:32 +08:00
|
|
|
proto.RegisterType((*GetDataDistributionResponse)(nil), "milvus.proto.query.GetDataDistributionResponse")
|
|
|
|
proto.RegisterType((*LeaderView)(nil), "milvus.proto.query.LeaderView")
|
2023-03-04 23:21:50 +08:00
|
|
|
proto.RegisterMapType((map[int64]*msgpb.MsgPosition)(nil), "milvus.proto.query.LeaderView.GrowingSegmentsEntry")
|
2022-09-28 12:10:54 +08:00
|
|
|
proto.RegisterMapType((map[int64]*SegmentDist)(nil), "milvus.proto.query.LeaderView.SegmentDistEntry")
|
|
|
|
proto.RegisterType((*SegmentDist)(nil), "milvus.proto.query.SegmentDist")
|
2022-09-15 18:48:32 +08:00
|
|
|
proto.RegisterType((*SegmentVersionInfo)(nil), "milvus.proto.query.SegmentVersionInfo")
|
|
|
|
proto.RegisterType((*ChannelVersionInfo)(nil), "milvus.proto.query.ChannelVersionInfo")
|
|
|
|
proto.RegisterType((*CollectionLoadInfo)(nil), "milvus.proto.query.CollectionLoadInfo")
|
2022-10-20 11:29:27 +08:00
|
|
|
proto.RegisterMapType((map[int64]int64)(nil), "milvus.proto.query.CollectionLoadInfo.FieldIndexIDEntry")
|
2022-09-15 18:48:32 +08:00
|
|
|
proto.RegisterType((*PartitionLoadInfo)(nil), "milvus.proto.query.PartitionLoadInfo")
|
2022-10-20 11:29:27 +08:00
|
|
|
proto.RegisterMapType((map[int64]int64)(nil), "milvus.proto.query.PartitionLoadInfo.FieldIndexIDEntry")
|
2022-09-15 18:48:32 +08:00
|
|
|
proto.RegisterType((*Replica)(nil), "milvus.proto.query.Replica")
|
|
|
|
proto.RegisterType((*SyncAction)(nil), "milvus.proto.query.SyncAction")
|
|
|
|
proto.RegisterType((*SyncDistributionRequest)(nil), "milvus.proto.query.SyncDistributionRequest")
|
2023-01-30 10:19:48 +08:00
|
|
|
proto.RegisterType((*ResourceGroup)(nil), "milvus.proto.query.ResourceGroup")
|
|
|
|
proto.RegisterType((*TransferReplicaRequest)(nil), "milvus.proto.query.TransferReplicaRequest")
|
|
|
|
proto.RegisterType((*DescribeResourceGroupRequest)(nil), "milvus.proto.query.DescribeResourceGroupRequest")
|
|
|
|
proto.RegisterType((*DescribeResourceGroupResponse)(nil), "milvus.proto.query.DescribeResourceGroupResponse")
|
|
|
|
proto.RegisterType((*ResourceGroupInfo)(nil), "milvus.proto.query.ResourceGroupInfo")
|
|
|
|
proto.RegisterMapType((map[int64]int32)(nil), "milvus.proto.query.ResourceGroupInfo.NumIncomingNodeEntry")
|
|
|
|
proto.RegisterMapType((map[int64]int32)(nil), "milvus.proto.query.ResourceGroupInfo.NumLoadedReplicaEntry")
|
|
|
|
proto.RegisterMapType((map[int64]int32)(nil), "milvus.proto.query.ResourceGroupInfo.NumOutgoingNodeEntry")
|
2023-03-27 00:42:00 +08:00
|
|
|
proto.RegisterType((*DeleteRequest)(nil), "milvus.proto.query.DeleteRequest")
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("query_coord.proto", fileDescriptor_aab7cc9a69ed26e8) }
|
|
|
|
|
|
|
|
var fileDescriptor_aab7cc9a69ed26e8 = []byte{
|
2023-06-01 18:10:32 +08:00
|
|
|
// 4638 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x3c, 0x4b, 0x6f, 0x1c, 0x47,
|
|
|
|
0x7a, 0xea, 0x79, 0x71, 0xe6, 0x9b, 0x27, 0x8b, 0xa4, 0x34, 0x3b, 0x2b, 0xc9, 0x74, 0xcb, 0xb2,
|
|
|
|
0xb9, 0xb4, 0x4d, 0x6a, 0xa9, 0x5d, 0xaf, 0x76, 0xed, 0x85, 0x23, 0x91, 0x96, 0xcc, 0xb5, 0x4c,
|
|
|
|
0x73, 0x9b, 0x92, 0x36, 0x70, 0xbc, 0x3b, 0xdb, 0x9c, 0x2e, 0x0e, 0x1b, 0xec, 0xc7, 0xa8, 0xbb,
|
|
|
|
0x87, 0x14, 0x1d, 0x20, 0xa7, 0x5c, 0xb2, 0xc8, 0x26, 0xb9, 0x25, 0x87, 0x20, 0x87, 0x04, 0x01,
|
|
|
|
0x36, 0x41, 0x72, 0x09, 0x12, 0x20, 0x87, 0x1c, 0x72, 0x4b, 0x90, 0x20, 0x8f, 0x5b, 0xfe, 0x40,
|
|
|
|
0x72, 0x08, 0x90, 0x20, 0xa7, 0x45, 0xe0, 0x5b, 0x50, 0x8f, 0x7e, 0x54, 0x77, 0x0d, 0xa7, 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c, 0xd2, 0x9b,
|
|
|
|
0xf6, 0x24, 0xc5, 0x1f, 0x5b, 0x01, 0xa1, 0xff, 0x57, 0xa0, 0xc5, 0x40, 0x11, 0x83, 0x9e, 0xe3,
|
|
|
|
0xe4, 0x7b, 0x50, 0xa6, 0xa6, 0x1d, 0x49, 0x8f, 0x0c, 0x92, 0xcf, 0x46, 0x7a, 0xd3, 0x5f, 0x8a,
|
|
|
|
0xc4, 0x14, 0x37, 0xbf, 0xcf, 0xfe, 0x7e, 0x8c, 0x13, 0xfc, 0x3c, 0x27, 0xff, 0xff, 0x1d, 0x1b,
|
|
|
|
0x3f, 0xa3, 0x8f, 0x1e, 0xd2, 0xd7, 0x7a, 0xd0, 0xda, 0xf9, 0xee, 0x26, 0xf5, 0xd6, 0x73, 0xf7,
|
|
|
|
0x8f, 0x30, 0xff, 0x08, 0x3a, 0xe9, 0xa3, 0x34, 0xf4, 0xea, 0x24, 0x4d, 0x94, 0xe1, 0x9c, 0xa2,
|
|
|
|
0x86, 0xdf, 0x83, 0x0a, 0xab, 0xa1, 0xca, 0xc5, 0x57, 0xa8, 0xaf, 0x4e, 0x99, 0xeb, 0xde, 0x37,
|
|
|
|
0x3e, 0xdc, 0x18, 0x9a, 0xc1, 0xe1, 0x78, 0x9f, 0xb4, 0xac, 0xb3, 0xae, 0xaf, 0x9b, 0x2e, 0xff,
|
|
|
|
0xb5, 0x1e, 0xee, 0xe5, 0x3a, 0x1d, 0xbd, 0x4e, 0x11, 0x8c, 0xf6, 0xf7, 0x2b, 0xf4, 0xf3, 0xf6,
|
|
|
|
0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x53, 0x45, 0xc6, 0xff, 0x50, 0x00, 0x00,
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ context.Context
|
|
|
|
var _ grpc.ClientConn
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
|
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
|
|
|
|
// QueryCoordClient is the client API for QueryCoord service.
|
|
|
|
//
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
type QueryCoordClient interface {
|
2022-10-10 15:55:22 +08:00
|
|
|
GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error)
|
2022-09-15 18:48:32 +08:00
|
|
|
GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
|
|
GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
|
|
ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error)
|
|
|
|
ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error)
|
|
|
|
LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2023-03-20 14:55:57 +08:00
|
|
|
SyncNewCreatedPartition(ctx context.Context, in *SyncNewCreatedPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2022-09-15 18:48:32 +08:00
|
|
|
GetPartitionStates(ctx context.Context, in *GetPartitionStatesRequest, opts ...grpc.CallOption) (*GetPartitionStatesResponse, error)
|
|
|
|
GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error)
|
|
|
|
LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error)
|
|
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
|
|
|
|
GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
|
|
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+23+--+Multiple+memory+replication+design
|
|
|
|
GetReplicas(ctx context.Context, in *milvuspb.GetReplicasRequest, opts ...grpc.CallOption) (*milvuspb.GetReplicasResponse, error)
|
|
|
|
GetShardLeaders(ctx context.Context, in *GetShardLeadersRequest, opts ...grpc.CallOption) (*GetShardLeadersResponse, error)
|
2022-10-18 13:39:26 +08:00
|
|
|
CheckHealth(ctx context.Context, in *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error)
|
2023-01-30 10:19:48 +08:00
|
|
|
CreateResourceGroup(ctx context.Context, in *milvuspb.CreateResourceGroupRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
DropResourceGroup(ctx context.Context, in *milvuspb.DropResourceGroupRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
TransferNode(ctx context.Context, in *milvuspb.TransferNodeRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
TransferReplica(ctx context.Context, in *TransferReplicaRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
ListResourceGroups(ctx context.Context, in *milvuspb.ListResourceGroupsRequest, opts ...grpc.CallOption) (*milvuspb.ListResourceGroupsResponse, error)
|
|
|
|
DescribeResourceGroup(ctx context.Context, in *DescribeResourceGroupRequest, opts ...grpc.CallOption) (*DescribeResourceGroupResponse, error)
|
2022-09-15 18:48:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type queryCoordClient struct {
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewQueryCoordClient(cc *grpc.ClientConn) QueryCoordClient {
|
|
|
|
return &queryCoordClient{cc}
|
|
|
|
}
|
|
|
|
|
2022-10-10 15:55:22 +08:00
|
|
|
func (c *queryCoordClient) GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) {
|
|
|
|
out := new(milvuspb.ComponentStates)
|
2022-09-15 18:48:32 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetComponentStates", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *queryCoordClient) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
|
|
out := new(milvuspb.StringResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetTimeTickChannel", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *queryCoordClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
|
|
out := new(milvuspb.StringResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetStatisticsChannel", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *queryCoordClient) ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error) {
|
|
|
|
out := new(ShowCollectionsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ShowCollections", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(ShowPartitionsResponse)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ShowPartitions", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
out := new(commonpb.Status)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/LoadPartitions", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(commonpb.Status)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ReleasePartitions", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(commonpb.Status)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/LoadCollection", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(commonpb.Status)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ReleaseCollection", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2023-03-20 14:55:57 +08:00
|
|
|
func (c *queryCoordClient) SyncNewCreatedPartition(ctx context.Context, in *SyncNewCreatedPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/SyncNewCreatedPartition", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) GetPartitionStates(ctx context.Context, in *GetPartitionStatesRequest, opts ...grpc.CallOption) (*GetPartitionStatesResponse, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(GetPartitionStatesResponse)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetPartitionStates", in, out, opts...)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(GetSegmentInfoResponse)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetSegmentInfo", in, out, opts...)
|
2021-02-04 11:40:14 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-11-06 16:54:59 +08:00
|
|
|
func (c *queryCoordClient) LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/LoadBalance", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-08-12 13:20:39 +08:00
|
|
|
func (c *queryCoordClient) ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) {
|
|
|
|
out := new(internalpb.ShowConfigurationsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ShowConfigurations", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-08-17 10:06:11 +08:00
|
|
|
func (c *queryCoordClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) {
|
|
|
|
out := new(milvuspb.GetMetricsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetMetrics", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-04-06 14:57:31 +08:00
|
|
|
func (c *queryCoordClient) GetReplicas(ctx context.Context, in *milvuspb.GetReplicasRequest, opts ...grpc.CallOption) (*milvuspb.GetReplicasResponse, error) {
|
|
|
|
out := new(milvuspb.GetReplicasResponse)
|
2022-04-01 16:15:29 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetReplicas", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-03-31 16:39:29 +08:00
|
|
|
func (c *queryCoordClient) GetShardLeaders(ctx context.Context, in *GetShardLeadersRequest, opts ...grpc.CallOption) (*GetShardLeadersResponse, error) {
|
|
|
|
out := new(GetShardLeadersResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetShardLeaders", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-10-18 13:39:26 +08:00
|
|
|
func (c *queryCoordClient) CheckHealth(ctx context.Context, in *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error) {
|
|
|
|
out := new(milvuspb.CheckHealthResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/CheckHealth", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2023-01-30 10:19:48 +08:00
|
|
|
func (c *queryCoordClient) CreateResourceGroup(ctx context.Context, in *milvuspb.CreateResourceGroupRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/CreateResourceGroup", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *queryCoordClient) DropResourceGroup(ctx context.Context, in *milvuspb.DropResourceGroupRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/DropResourceGroup", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *queryCoordClient) TransferNode(ctx context.Context, in *milvuspb.TransferNodeRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/TransferNode", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *queryCoordClient) TransferReplica(ctx context.Context, in *TransferReplicaRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/TransferReplica", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *queryCoordClient) ListResourceGroups(ctx context.Context, in *milvuspb.ListResourceGroupsRequest, opts ...grpc.CallOption) (*milvuspb.ListResourceGroupsResponse, error) {
|
|
|
|
out := new(milvuspb.ListResourceGroupsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ListResourceGroups", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *queryCoordClient) DescribeResourceGroup(ctx context.Context, in *DescribeResourceGroupRequest, opts ...grpc.CallOption) (*DescribeResourceGroupResponse, error) {
|
|
|
|
out := new(DescribeResourceGroupResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/DescribeResourceGroup", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
// QueryCoordServer is the server API for QueryCoord service.
|
|
|
|
type QueryCoordServer interface {
|
2022-10-10 15:55:22 +08:00
|
|
|
GetComponentStates(context.Context, *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
GetTimeTickChannel(context.Context, *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error)
|
|
|
|
GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
|
|
|
|
ShowCollections(context.Context, *ShowCollectionsRequest) (*ShowCollectionsResponse, error)
|
|
|
|
ShowPartitions(context.Context, *ShowPartitionsRequest) (*ShowPartitionsResponse, error)
|
|
|
|
LoadPartitions(context.Context, *LoadPartitionsRequest) (*commonpb.Status, error)
|
|
|
|
ReleasePartitions(context.Context, *ReleasePartitionsRequest) (*commonpb.Status, error)
|
2021-01-15 15:28:54 +08:00
|
|
|
LoadCollection(context.Context, *LoadCollectionRequest) (*commonpb.Status, error)
|
|
|
|
ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error)
|
2023-03-20 14:55:57 +08:00
|
|
|
SyncNewCreatedPartition(context.Context, *SyncNewCreatedPartitionRequest) (*commonpb.Status, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
GetPartitionStates(context.Context, *GetPartitionStatesRequest) (*GetPartitionStatesResponse, error)
|
|
|
|
GetSegmentInfo(context.Context, *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error)
|
2021-11-06 16:54:59 +08:00
|
|
|
LoadBalance(context.Context, *LoadBalanceRequest) (*commonpb.Status, error)
|
2022-08-12 13:20:39 +08:00
|
|
|
ShowConfigurations(context.Context, *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error)
|
2021-08-17 10:06:11 +08:00
|
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
|
|
|
|
GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
|
2022-03-31 16:39:29 +08:00
|
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+23+--+Multiple+memory+replication+design
|
2022-04-06 14:57:31 +08:00
|
|
|
GetReplicas(context.Context, *milvuspb.GetReplicasRequest) (*milvuspb.GetReplicasResponse, error)
|
2022-03-31 16:39:29 +08:00
|
|
|
GetShardLeaders(context.Context, *GetShardLeadersRequest) (*GetShardLeadersResponse, error)
|
2022-10-18 13:39:26 +08:00
|
|
|
CheckHealth(context.Context, *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error)
|
2023-01-30 10:19:48 +08:00
|
|
|
CreateResourceGroup(context.Context, *milvuspb.CreateResourceGroupRequest) (*commonpb.Status, error)
|
|
|
|
DropResourceGroup(context.Context, *milvuspb.DropResourceGroupRequest) (*commonpb.Status, error)
|
|
|
|
TransferNode(context.Context, *milvuspb.TransferNodeRequest) (*commonpb.Status, error)
|
|
|
|
TransferReplica(context.Context, *TransferReplicaRequest) (*commonpb.Status, error)
|
|
|
|
ListResourceGroups(context.Context, *milvuspb.ListResourceGroupsRequest) (*milvuspb.ListResourceGroupsResponse, error)
|
|
|
|
DescribeResourceGroup(context.Context, *DescribeResourceGroupRequest) (*DescribeResourceGroupResponse, error)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
// UnimplementedQueryCoordServer can be embedded to have forward compatible implementations.
|
|
|
|
type UnimplementedQueryCoordServer struct {
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2022-10-10 15:55:22 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) GetComponentStates(ctx context.Context, req *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) ShowCollections(ctx context.Context, req *ShowCollectionsRequest) (*ShowCollectionsResponse, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowCollections not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) ShowPartitions(ctx context.Context, req *ShowPartitionsRequest) (*ShowPartitionsResponse, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) LoadPartitions(ctx context.Context, req *LoadPartitionsRequest) (*commonpb.Status, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) LoadCollection(ctx context.Context, req *LoadCollectionRequest) (*commonpb.Status, error) {
|
2021-01-15 15:28:54 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method LoadCollection not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) ReleaseCollection(ctx context.Context, req *ReleaseCollectionRequest) (*commonpb.Status, error) {
|
2021-01-15 15:28:54 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReleaseCollection not implemented")
|
|
|
|
}
|
2023-03-20 14:55:57 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) SyncNewCreatedPartition(ctx context.Context, req *SyncNewCreatedPartitionRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SyncNewCreatedPartition not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) GetPartitionStates(ctx context.Context, req *GetPartitionStatesRequest) (*GetPartitionStatesResponse, error) {
|
2021-01-15 15:28:54 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStates not implemented")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) GetSegmentInfo(ctx context.Context, req *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error) {
|
2021-02-04 11:40:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfo not implemented")
|
|
|
|
}
|
2021-11-06 16:54:59 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) LoadBalance(ctx context.Context, req *LoadBalanceRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method LoadBalance not implemented")
|
|
|
|
}
|
2022-08-12 13:20:39 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowConfigurations not implemented")
|
|
|
|
}
|
2021-08-17 10:06:11 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
|
|
|
|
}
|
2022-04-06 14:57:31 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) GetReplicas(ctx context.Context, req *milvuspb.GetReplicasRequest) (*milvuspb.GetReplicasResponse, error) {
|
2022-04-01 16:15:29 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetReplicas not implemented")
|
|
|
|
}
|
2022-03-31 16:39:29 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) GetShardLeaders(ctx context.Context, req *GetShardLeadersRequest) (*GetShardLeadersResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetShardLeaders not implemented")
|
|
|
|
}
|
2022-10-18 13:39:26 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthRequest) (*milvuspb.CheckHealthResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CheckHealth not implemented")
|
|
|
|
}
|
2023-01-30 10:19:48 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) CreateResourceGroup(ctx context.Context, req *milvuspb.CreateResourceGroupRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateResourceGroup not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedQueryCoordServer) DropResourceGroup(ctx context.Context, req *milvuspb.DropResourceGroupRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DropResourceGroup not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedQueryCoordServer) TransferNode(ctx context.Context, req *milvuspb.TransferNodeRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method TransferNode not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedQueryCoordServer) TransferReplica(ctx context.Context, req *TransferReplicaRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method TransferReplica not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedQueryCoordServer) ListResourceGroups(ctx context.Context, req *milvuspb.ListResourceGroupsRequest) (*milvuspb.ListResourceGroupsResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListResourceGroups not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedQueryCoordServer) DescribeResourceGroup(ctx context.Context, req *DescribeResourceGroupRequest) (*DescribeResourceGroupResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeResourceGroup not implemented")
|
|
|
|
}
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func RegisterQueryCoordServer(s *grpc.Server, srv QueryCoordServer) {
|
|
|
|
s.RegisterService(&_QueryCoord_serviceDesc, srv)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2022-10-10 15:55:22 +08:00
|
|
|
in := new(milvuspb.GetComponentStatesRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetComponentStates(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/GetComponentStates",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-10-10 15:55:22 +08:00
|
|
|
return srv.(QueryCoordServer).GetComponentStates(ctx, req.(*milvuspb.GetComponentStatesRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_GetTimeTickChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(internalpb.GetTimeTickChannelRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetTimeTickChannel(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/GetTimeTickChannel",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetTimeTickChannel(ctx, req.(*internalpb.GetTimeTickChannelRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(internalpb.GetStatisticsChannelRequest)
|
2021-01-15 15:28:54 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetStatisticsChannel(ctx, in)
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/GetStatisticsChannel",
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_ShowCollections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(ShowCollectionsRequest)
|
2021-01-15 15:28:54 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).ShowCollections(ctx, in)
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/ShowCollections",
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).ShowCollections(ctx, req.(*ShowCollectionsRequest))
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_ShowPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(ShowPartitionsRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).ShowPartitions(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/ShowPartitions",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).ShowPartitions(ctx, req.(*ShowPartitionsRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_LoadPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(LoadPartitionsRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).LoadPartitions(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/LoadPartitions",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).LoadPartitions(ctx, req.(*LoadPartitionsRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_ReleasePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(ReleasePartitionsRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).ReleasePartitions(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/ReleasePartitions",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_LoadCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(LoadCollectionRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).LoadCollection(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/LoadCollection",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).LoadCollection(ctx, req.(*LoadCollectionRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_ReleaseCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(ReleaseCollectionRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).ReleaseCollection(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/ReleaseCollection",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).ReleaseCollection(ctx, req.(*ReleaseCollectionRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2023-03-20 14:55:57 +08:00
|
|
|
func _QueryCoord_SyncNewCreatedPartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SyncNewCreatedPartitionRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).SyncNewCreatedPartition(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/SyncNewCreatedPartition",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).SyncNewCreatedPartition(ctx, req.(*SyncNewCreatedPartitionRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_GetPartitionStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(GetPartitionStatesRequest)
|
2021-01-14 14:24:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetPartitionStates(ctx, in)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/GetPartitionStates",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetPartitionStates(ctx, req.(*GetPartitionStatesRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_GetSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(GetSegmentInfoRequest)
|
2021-02-04 11:40:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetSegmentInfo(ctx, in)
|
2021-02-04 11:40:14 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-06-22 16:44:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/GetSegmentInfo",
|
2021-02-04 11:40:14 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetSegmentInfo(ctx, req.(*GetSegmentInfoRequest))
|
2021-02-04 11:40:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-11-06 16:54:59 +08:00
|
|
|
func _QueryCoord_LoadBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(LoadBalanceRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).LoadBalance(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/LoadBalance",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).LoadBalance(ctx, req.(*LoadBalanceRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-08-12 13:20:39 +08:00
|
|
|
func _QueryCoord_ShowConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(internalpb.ShowConfigurationsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).ShowConfigurations(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/ShowConfigurations",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).ShowConfigurations(ctx, req.(*internalpb.ShowConfigurationsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-08-17 10:06:11 +08:00
|
|
|
func _QueryCoord_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(milvuspb.GetMetricsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).GetMetrics(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/GetMetrics",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-04-01 16:15:29 +08:00
|
|
|
func _QueryCoord_GetReplicas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2022-04-06 14:57:31 +08:00
|
|
|
in := new(milvuspb.GetReplicasRequest)
|
2022-04-01 16:15:29 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).GetReplicas(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/GetReplicas",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-04-06 14:57:31 +08:00
|
|
|
return srv.(QueryCoordServer).GetReplicas(ctx, req.(*milvuspb.GetReplicasRequest))
|
2022-04-01 16:15:29 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-03-31 16:39:29 +08:00
|
|
|
func _QueryCoord_GetShardLeaders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetShardLeadersRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).GetShardLeaders(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/GetShardLeaders",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).GetShardLeaders(ctx, req.(*GetShardLeadersRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-10-18 13:39:26 +08:00
|
|
|
func _QueryCoord_CheckHealth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(milvuspb.CheckHealthRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).CheckHealth(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/CheckHealth",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).CheckHealth(ctx, req.(*milvuspb.CheckHealthRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2023-01-30 10:19:48 +08:00
|
|
|
func _QueryCoord_CreateResourceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(milvuspb.CreateResourceGroupRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).CreateResourceGroup(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/CreateResourceGroup",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).CreateResourceGroup(ctx, req.(*milvuspb.CreateResourceGroupRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _QueryCoord_DropResourceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(milvuspb.DropResourceGroupRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).DropResourceGroup(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/DropResourceGroup",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).DropResourceGroup(ctx, req.(*milvuspb.DropResourceGroupRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _QueryCoord_TransferNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(milvuspb.TransferNodeRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).TransferNode(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/TransferNode",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).TransferNode(ctx, req.(*milvuspb.TransferNodeRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _QueryCoord_TransferReplica_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(TransferReplicaRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).TransferReplica(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/TransferReplica",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).TransferReplica(ctx, req.(*TransferReplicaRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _QueryCoord_ListResourceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(milvuspb.ListResourceGroupsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).ListResourceGroups(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/ListResourceGroups",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).ListResourceGroups(ctx, req.(*milvuspb.ListResourceGroupsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _QueryCoord_DescribeResourceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(DescribeResourceGroupRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryCoordServer).DescribeResourceGroup(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryCoord/DescribeResourceGroup",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryCoordServer).DescribeResourceGroup(ctx, req.(*DescribeResourceGroupRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
var _QueryCoord_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "milvus.proto.query.QueryCoord",
|
|
|
|
HandlerType: (*QueryCoordServer)(nil),
|
2021-01-14 14:24:14 +08:00
|
|
|
Methods: []grpc.MethodDesc{
|
2021-03-12 14:22:09 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetComponentStates",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_GetComponentStates_Handler,
|
2021-03-12 14:22:09 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetTimeTickChannel",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_GetTimeTickChannel_Handler,
|
2021-03-12 14:22:09 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetStatisticsChannel",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_GetStatisticsChannel_Handler,
|
2021-03-12 14:22:09 +08:00
|
|
|
},
|
2021-01-14 14:24:14 +08:00
|
|
|
{
|
|
|
|
MethodName: "ShowCollections",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_ShowCollections_Handler,
|
2021-01-14 14:24:14 +08:00
|
|
|
},
|
2021-01-15 15:28:54 +08:00
|
|
|
{
|
|
|
|
MethodName: "ShowPartitions",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_ShowPartitions_Handler,
|
2021-01-15 15:28:54 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "LoadPartitions",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_LoadPartitions_Handler,
|
2021-01-15 15:28:54 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ReleasePartitions",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_ReleasePartitions_Handler,
|
2021-01-15 15:28:54 +08:00
|
|
|
},
|
2021-01-14 14:24:14 +08:00
|
|
|
{
|
|
|
|
MethodName: "LoadCollection",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_LoadCollection_Handler,
|
2021-01-14 14:24:14 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ReleaseCollection",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_ReleaseCollection_Handler,
|
2021-01-14 14:24:14 +08:00
|
|
|
},
|
2023-03-20 14:55:57 +08:00
|
|
|
{
|
|
|
|
MethodName: "SyncNewCreatedPartition",
|
|
|
|
Handler: _QueryCoord_SyncNewCreatedPartition_Handler,
|
|
|
|
},
|
2021-01-14 14:24:14 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetPartitionStates",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_GetPartitionStates_Handler,
|
2021-01-14 14:24:14 +08:00
|
|
|
},
|
2021-02-04 11:40:14 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetSegmentInfo",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_GetSegmentInfo_Handler,
|
2021-02-04 11:40:14 +08:00
|
|
|
},
|
2021-11-06 16:54:59 +08:00
|
|
|
{
|
|
|
|
MethodName: "LoadBalance",
|
|
|
|
Handler: _QueryCoord_LoadBalance_Handler,
|
|
|
|
},
|
2022-08-12 13:20:39 +08:00
|
|
|
{
|
|
|
|
MethodName: "ShowConfigurations",
|
|
|
|
Handler: _QueryCoord_ShowConfigurations_Handler,
|
|
|
|
},
|
2021-08-17 10:06:11 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetMetrics",
|
|
|
|
Handler: _QueryCoord_GetMetrics_Handler,
|
|
|
|
},
|
2022-04-01 16:15:29 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetReplicas",
|
|
|
|
Handler: _QueryCoord_GetReplicas_Handler,
|
|
|
|
},
|
2022-03-31 16:39:29 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetShardLeaders",
|
|
|
|
Handler: _QueryCoord_GetShardLeaders_Handler,
|
|
|
|
},
|
2022-10-18 13:39:26 +08:00
|
|
|
{
|
|
|
|
MethodName: "CheckHealth",
|
|
|
|
Handler: _QueryCoord_CheckHealth_Handler,
|
|
|
|
},
|
2023-01-30 10:19:48 +08:00
|
|
|
{
|
|
|
|
MethodName: "CreateResourceGroup",
|
|
|
|
Handler: _QueryCoord_CreateResourceGroup_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "DropResourceGroup",
|
|
|
|
Handler: _QueryCoord_DropResourceGroup_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "TransferNode",
|
|
|
|
Handler: _QueryCoord_TransferNode_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "TransferReplica",
|
|
|
|
Handler: _QueryCoord_TransferReplica_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ListResourceGroups",
|
|
|
|
Handler: _QueryCoord_ListResourceGroups_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "DescribeResourceGroup",
|
|
|
|
Handler: _QueryCoord_DescribeResourceGroup_Handler,
|
|
|
|
},
|
2021-01-15 15:28:54 +08:00
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
2021-06-22 19:08:03 +08:00
|
|
|
Metadata: "query_coord.proto",
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// QueryNodeClient is the client API for QueryNode service.
|
|
|
|
//
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
type QueryNodeClient interface {
|
2022-10-10 15:55:22 +08:00
|
|
|
GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
|
|
|
GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
|
2021-01-15 15:28:54 +08:00
|
|
|
WatchDmChannels(ctx context.Context, in *WatchDmChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2022-09-15 18:48:32 +08:00
|
|
|
UnsubDmChannel(ctx context.Context, in *UnsubDmChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
LoadSegments(ctx context.Context, in *LoadSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-02-24 17:24:51 +08:00
|
|
|
ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2023-03-20 14:55:57 +08:00
|
|
|
LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
ReleaseSegments(ctx context.Context, in *ReleaseSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error)
|
2022-04-27 10:41:46 +08:00
|
|
|
SyncReplicaSegments(ctx context.Context, in *SyncReplicaSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2022-07-18 09:58:28 +08:00
|
|
|
GetStatistics(ctx context.Context, in *GetStatisticsRequest, opts ...grpc.CallOption) (*internalpb.GetStatisticsResponse, error)
|
2022-04-02 14:15:31 +08:00
|
|
|
Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*internalpb.SearchResults, error)
|
2023-05-23 16:01:26 +08:00
|
|
|
SearchSegments(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*internalpb.SearchResults, error)
|
2022-04-02 14:15:31 +08:00
|
|
|
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*internalpb.RetrieveResults, error)
|
2023-05-23 16:01:26 +08:00
|
|
|
QuerySegments(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*internalpb.RetrieveResults, error)
|
2022-08-03 01:12:33 +08:00
|
|
|
ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error)
|
2021-08-17 10:06:11 +08:00
|
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
|
|
|
|
GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
|
2022-09-15 18:48:32 +08:00
|
|
|
GetDataDistribution(ctx context.Context, in *GetDataDistributionRequest, opts ...grpc.CallOption) (*GetDataDistributionResponse, error)
|
|
|
|
SyncDistribution(ctx context.Context, in *SyncDistributionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2023-03-27 00:42:00 +08:00
|
|
|
Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type queryNodeClient struct {
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewQueryNodeClient(cc *grpc.ClientConn) QueryNodeClient {
|
|
|
|
return &queryNodeClient{cc}
|
|
|
|
}
|
|
|
|
|
2022-10-10 15:55:22 +08:00
|
|
|
func (c *queryNodeClient) GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error) {
|
|
|
|
out := new(milvuspb.ComponentStates)
|
2021-03-12 14:22:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetComponentStates", in, out, opts...)
|
2021-01-22 11:17:18 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *queryNodeClient) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
2021-01-22 14:28:06 +08:00
|
|
|
out := new(milvuspb.StringResponse)
|
2021-03-12 14:22:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetTimeTickChannel", in, out, opts...)
|
2021-01-22 11:17:18 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *queryNodeClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
|
|
|
out := new(milvuspb.StringResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetStatisticsChannel", in, out, opts...)
|
2021-01-22 11:17:18 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-01-15 15:28:54 +08:00
|
|
|
func (c *queryNodeClient) WatchDmChannels(ctx context.Context, in *WatchDmChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/WatchDmChannels", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (c *queryNodeClient) UnsubDmChannel(ctx context.Context, in *UnsubDmChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/UnsubDmChannel", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *queryNodeClient) LoadSegments(ctx context.Context, in *LoadSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
2021-01-15 15:28:54 +08:00
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/LoadSegments", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-02-24 17:24:51 +08:00
|
|
|
func (c *queryNodeClient) ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/ReleaseCollection", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2023-03-20 14:55:57 +08:00
|
|
|
func (c *queryNodeClient) LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/LoadPartitions", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *queryNodeClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
2021-02-24 17:24:51 +08:00
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/ReleasePartitions", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *queryNodeClient) ReleaseSegments(ctx context.Context, in *ReleaseSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
2021-01-15 15:28:54 +08:00
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/ReleaseSegments", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *queryNodeClient) GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error) {
|
|
|
|
out := new(GetSegmentInfoResponse)
|
2021-02-04 11:40:14 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetSegmentInfo", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-04-27 10:41:46 +08:00
|
|
|
func (c *queryNodeClient) SyncReplicaSegments(ctx context.Context, in *SyncReplicaSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/SyncReplicaSegments", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-07-18 09:58:28 +08:00
|
|
|
func (c *queryNodeClient) GetStatistics(ctx context.Context, in *GetStatisticsRequest, opts ...grpc.CallOption) (*internalpb.GetStatisticsResponse, error) {
|
|
|
|
out := new(internalpb.GetStatisticsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetStatistics", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-04-02 14:15:31 +08:00
|
|
|
func (c *queryNodeClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*internalpb.SearchResults, error) {
|
|
|
|
out := new(internalpb.SearchResults)
|
2022-03-30 12:03:27 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/Search", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2023-05-23 16:01:26 +08:00
|
|
|
func (c *queryNodeClient) SearchSegments(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*internalpb.SearchResults, error) {
|
|
|
|
out := new(internalpb.SearchResults)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/SearchSegments", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-04-02 14:15:31 +08:00
|
|
|
func (c *queryNodeClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*internalpb.RetrieveResults, error) {
|
|
|
|
out := new(internalpb.RetrieveResults)
|
2022-03-30 12:03:27 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/Query", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2023-05-23 16:01:26 +08:00
|
|
|
func (c *queryNodeClient) QuerySegments(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*internalpb.RetrieveResults, error) {
|
|
|
|
out := new(internalpb.RetrieveResults)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/QuerySegments", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-08-03 01:12:33 +08:00
|
|
|
func (c *queryNodeClient) ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) {
|
|
|
|
out := new(internalpb.ShowConfigurationsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/ShowConfigurations", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-08-17 10:06:11 +08:00
|
|
|
func (c *queryNodeClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) {
|
|
|
|
out := new(milvuspb.GetMetricsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetMetrics", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func (c *queryNodeClient) GetDataDistribution(ctx context.Context, in *GetDataDistributionRequest, opts ...grpc.CallOption) (*GetDataDistributionResponse, error) {
|
|
|
|
out := new(GetDataDistributionResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetDataDistribution", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *queryNodeClient) SyncDistribution(ctx context.Context, in *SyncDistributionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/SyncDistribution", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2023-03-27 00:42:00 +08:00
|
|
|
func (c *queryNodeClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/Delete", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-01-15 15:28:54 +08:00
|
|
|
// QueryNodeServer is the server API for QueryNode service.
|
|
|
|
type QueryNodeServer interface {
|
2022-10-10 15:55:22 +08:00
|
|
|
GetComponentStates(context.Context, *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
GetTimeTickChannel(context.Context, *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error)
|
|
|
|
GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
|
2021-01-15 15:28:54 +08:00
|
|
|
WatchDmChannels(context.Context, *WatchDmChannelsRequest) (*commonpb.Status, error)
|
2022-09-15 18:48:32 +08:00
|
|
|
UnsubDmChannel(context.Context, *UnsubDmChannelRequest) (*commonpb.Status, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
LoadSegments(context.Context, *LoadSegmentsRequest) (*commonpb.Status, error)
|
2021-02-24 17:24:51 +08:00
|
|
|
ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error)
|
2023-03-20 14:55:57 +08:00
|
|
|
LoadPartitions(context.Context, *LoadPartitionsRequest) (*commonpb.Status, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
ReleasePartitions(context.Context, *ReleasePartitionsRequest) (*commonpb.Status, error)
|
|
|
|
ReleaseSegments(context.Context, *ReleaseSegmentsRequest) (*commonpb.Status, error)
|
|
|
|
GetSegmentInfo(context.Context, *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error)
|
2022-04-27 10:41:46 +08:00
|
|
|
SyncReplicaSegments(context.Context, *SyncReplicaSegmentsRequest) (*commonpb.Status, error)
|
2022-07-18 09:58:28 +08:00
|
|
|
GetStatistics(context.Context, *GetStatisticsRequest) (*internalpb.GetStatisticsResponse, error)
|
2022-04-02 14:15:31 +08:00
|
|
|
Search(context.Context, *SearchRequest) (*internalpb.SearchResults, error)
|
2023-05-23 16:01:26 +08:00
|
|
|
SearchSegments(context.Context, *SearchRequest) (*internalpb.SearchResults, error)
|
2022-04-02 14:15:31 +08:00
|
|
|
Query(context.Context, *QueryRequest) (*internalpb.RetrieveResults, error)
|
2023-05-23 16:01:26 +08:00
|
|
|
QuerySegments(context.Context, *QueryRequest) (*internalpb.RetrieveResults, error)
|
2022-08-03 01:12:33 +08:00
|
|
|
ShowConfigurations(context.Context, *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error)
|
2021-08-17 10:06:11 +08:00
|
|
|
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
|
|
|
|
GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
|
2022-09-15 18:48:32 +08:00
|
|
|
GetDataDistribution(context.Context, *GetDataDistributionRequest) (*GetDataDistributionResponse, error)
|
|
|
|
SyncDistribution(context.Context, *SyncDistributionRequest) (*commonpb.Status, error)
|
2023-03-27 00:42:00 +08:00
|
|
|
Delete(context.Context, *DeleteRequest) (*commonpb.Status, error)
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// UnimplementedQueryNodeServer can be embedded to have forward compatible implementations.
|
|
|
|
type UnimplementedQueryNodeServer struct {
|
|
|
|
}
|
|
|
|
|
2022-10-10 15:55:22 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) GetComponentStates(ctx context.Context, req *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
2021-01-15 15:28:54 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) WatchDmChannels(ctx context.Context, req *WatchDmChannelsRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method WatchDmChannels not implemented")
|
|
|
|
}
|
2022-09-15 18:48:32 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) UnsubDmChannel(ctx context.Context, req *UnsubDmChannelRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UnsubDmChannel not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) LoadSegments(ctx context.Context, req *LoadSegmentsRequest) (*commonpb.Status, error) {
|
2021-01-15 15:28:54 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method LoadSegments not implemented")
|
|
|
|
}
|
2021-02-24 17:24:51 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) ReleaseCollection(ctx context.Context, req *ReleaseCollectionRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReleaseCollection not implemented")
|
|
|
|
}
|
2023-03-20 14:55:57 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) LoadPartitions(ctx context.Context, req *LoadPartitionsRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
|
2021-02-24 17:24:51 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) ReleaseSegments(ctx context.Context, req *ReleaseSegmentsRequest) (*commonpb.Status, error) {
|
2021-01-15 15:28:54 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReleaseSegments not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) GetSegmentInfo(ctx context.Context, req *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error) {
|
2021-02-04 11:40:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfo not implemented")
|
|
|
|
}
|
2022-04-27 10:41:46 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) SyncReplicaSegments(ctx context.Context, req *SyncReplicaSegmentsRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SyncReplicaSegments not implemented")
|
|
|
|
}
|
2022-07-18 09:58:28 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) GetStatistics(ctx context.Context, req *GetStatisticsRequest) (*internalpb.GetStatisticsResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStatistics not implemented")
|
|
|
|
}
|
2022-04-02 14:15:31 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) Search(ctx context.Context, req *SearchRequest) (*internalpb.SearchResults, error) {
|
2022-03-30 12:03:27 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
|
|
|
|
}
|
2023-05-23 16:01:26 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) SearchSegments(ctx context.Context, req *SearchRequest) (*internalpb.SearchResults, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SearchSegments not implemented")
|
|
|
|
}
|
2022-04-02 14:15:31 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) Query(ctx context.Context, req *QueryRequest) (*internalpb.RetrieveResults, error) {
|
2022-03-30 12:03:27 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
|
|
|
|
}
|
2023-05-23 16:01:26 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) QuerySegments(ctx context.Context, req *QueryRequest) (*internalpb.RetrieveResults, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method QuerySegments not implemented")
|
|
|
|
}
|
2022-08-03 01:12:33 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ShowConfigurations not implemented")
|
|
|
|
}
|
2021-08-17 10:06:11 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
|
|
|
|
}
|
2022-09-15 18:48:32 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) GetDataDistribution(ctx context.Context, req *GetDataDistributionRequest) (*GetDataDistributionResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetDataDistribution not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedQueryNodeServer) SyncDistribution(ctx context.Context, req *SyncDistributionRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SyncDistribution not implemented")
|
|
|
|
}
|
2023-03-27 00:42:00 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) Delete(ctx context.Context, req *DeleteRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
|
|
|
|
}
|
2021-01-15 15:28:54 +08:00
|
|
|
|
|
|
|
func RegisterQueryNodeServer(s *grpc.Server, srv QueryNodeServer) {
|
|
|
|
s.RegisterService(&_QueryNode_serviceDesc, srv)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _QueryNode_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2022-10-10 15:55:22 +08:00
|
|
|
in := new(milvuspb.GetComponentStatesRequest)
|
2021-01-22 11:17:18 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).GetComponentStates(ctx, in)
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/GetComponentStates",
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-10-10 15:55:22 +08:00
|
|
|
return srv.(QueryNodeServer).GetComponentStates(ctx, req.(*milvuspb.GetComponentStatesRequest))
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _QueryNode_GetTimeTickChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(internalpb.GetTimeTickChannelRequest)
|
2021-01-22 11:17:18 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).GetTimeTickChannel(ctx, in)
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/GetTimeTickChannel",
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).GetTimeTickChannel(ctx, req.(*internalpb.GetTimeTickChannelRequest))
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func _QueryNode_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(internalpb.GetStatisticsChannelRequest)
|
2021-01-22 11:17:18 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).GetStatisticsChannel(ctx, in)
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-03-12 14:22:09 +08:00
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/GetStatisticsChannel",
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
|
2021-01-22 11:17:18 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-01-15 15:28:54 +08:00
|
|
|
func _QueryNode_WatchDmChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(WatchDmChannelsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).WatchDmChannels(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/WatchDmChannels",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).WatchDmChannels(ctx, req.(*WatchDmChannelsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func _QueryNode_UnsubDmChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(UnsubDmChannelRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).UnsubDmChannel(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/UnsubDmChannel",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).UnsubDmChannel(ctx, req.(*UnsubDmChannelRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-01-15 15:28:54 +08:00
|
|
|
func _QueryNode_LoadSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(LoadSegmentsRequest)
|
2021-01-15 15:28:54 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).LoadSegments(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/LoadSegments",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).LoadSegments(ctx, req.(*LoadSegmentsRequest))
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-02-24 17:24:51 +08:00
|
|
|
func _QueryNode_ReleaseCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ReleaseCollectionRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).ReleaseCollection(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/ReleaseCollection",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).ReleaseCollection(ctx, req.(*ReleaseCollectionRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2023-03-20 14:55:57 +08:00
|
|
|
func _QueryNode_LoadPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(LoadPartitionsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).LoadPartitions(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/LoadPartitions",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).LoadPartitions(ctx, req.(*LoadPartitionsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-02-24 17:24:51 +08:00
|
|
|
func _QueryNode_ReleasePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(ReleasePartitionsRequest)
|
2021-02-24 17:24:51 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).ReleasePartitions(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/ReleasePartitions",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
|
2021-02-24 17:24:51 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-01-15 15:28:54 +08:00
|
|
|
func _QueryNode_ReleaseSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(ReleaseSegmentsRequest)
|
2021-01-15 15:28:54 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).ReleaseSegments(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/ReleaseSegments",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).ReleaseSegments(ctx, req.(*ReleaseSegmentsRequest))
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-02-04 11:40:14 +08:00
|
|
|
func _QueryNode_GetSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(GetSegmentInfoRequest)
|
2021-02-04 11:40:14 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).GetSegmentInfo(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/GetSegmentInfo",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).GetSegmentInfo(ctx, req.(*GetSegmentInfoRequest))
|
2021-02-04 11:40:14 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-04-27 10:41:46 +08:00
|
|
|
func _QueryNode_SyncReplicaSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SyncReplicaSegmentsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).SyncReplicaSegments(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/SyncReplicaSegments",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).SyncReplicaSegments(ctx, req.(*SyncReplicaSegmentsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-07-18 09:58:28 +08:00
|
|
|
func _QueryNode_GetStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetStatisticsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).GetStatistics(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/GetStatistics",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).GetStatistics(ctx, req.(*GetStatisticsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-03-30 12:03:27 +08:00
|
|
|
func _QueryNode_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SearchRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).Search(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/Search",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).Search(ctx, req.(*SearchRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2023-05-23 16:01:26 +08:00
|
|
|
func _QueryNode_SearchSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SearchRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).SearchSegments(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/SearchSegments",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).SearchSegments(ctx, req.(*SearchRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-03-30 12:03:27 +08:00
|
|
|
func _QueryNode_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(QueryRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).Query(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/Query",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).Query(ctx, req.(*QueryRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2023-05-23 16:01:26 +08:00
|
|
|
func _QueryNode_QuerySegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(QueryRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).QuerySegments(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/QuerySegments",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).QuerySegments(ctx, req.(*QueryRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-08-03 01:12:33 +08:00
|
|
|
func _QueryNode_ShowConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(internalpb.ShowConfigurationsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).ShowConfigurations(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/ShowConfigurations",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).ShowConfigurations(ctx, req.(*internalpb.ShowConfigurationsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-08-17 10:06:11 +08:00
|
|
|
func _QueryNode_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(milvuspb.GetMetricsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).GetMetrics(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/GetMetrics",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2022-09-15 18:48:32 +08:00
|
|
|
func _QueryNode_GetDataDistribution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(GetDataDistributionRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).GetDataDistribution(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/GetDataDistribution",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).GetDataDistribution(ctx, req.(*GetDataDistributionRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _QueryNode_SyncDistribution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SyncDistributionRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).SyncDistribution(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/SyncDistribution",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).SyncDistribution(ctx, req.(*SyncDistributionRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2023-03-27 00:42:00 +08:00
|
|
|
func _QueryNode_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(DeleteRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).Delete(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/Delete",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).Delete(ctx, req.(*DeleteRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-01-15 15:28:54 +08:00
|
|
|
var _QueryNode_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "milvus.proto.query.QueryNode",
|
|
|
|
HandlerType: (*QueryNodeServer)(nil),
|
|
|
|
Methods: []grpc.MethodDesc{
|
2021-01-22 11:17:18 +08:00
|
|
|
{
|
2021-03-12 14:22:09 +08:00
|
|
|
MethodName: "GetComponentStates",
|
|
|
|
Handler: _QueryNode_GetComponentStates_Handler,
|
2021-01-22 11:17:18 +08:00
|
|
|
},
|
|
|
|
{
|
2021-03-12 14:22:09 +08:00
|
|
|
MethodName: "GetTimeTickChannel",
|
|
|
|
Handler: _QueryNode_GetTimeTickChannel_Handler,
|
2021-01-22 11:17:18 +08:00
|
|
|
},
|
|
|
|
{
|
2021-03-12 14:22:09 +08:00
|
|
|
MethodName: "GetStatisticsChannel",
|
|
|
|
Handler: _QueryNode_GetStatisticsChannel_Handler,
|
2021-01-22 11:17:18 +08:00
|
|
|
},
|
2021-01-15 15:28:54 +08:00
|
|
|
{
|
|
|
|
MethodName: "WatchDmChannels",
|
|
|
|
Handler: _QueryNode_WatchDmChannels_Handler,
|
|
|
|
},
|
2022-09-15 18:48:32 +08:00
|
|
|
{
|
|
|
|
MethodName: "UnsubDmChannel",
|
|
|
|
Handler: _QueryNode_UnsubDmChannel_Handler,
|
|
|
|
},
|
2021-01-15 15:28:54 +08:00
|
|
|
{
|
|
|
|
MethodName: "LoadSegments",
|
|
|
|
Handler: _QueryNode_LoadSegments_Handler,
|
|
|
|
},
|
2021-02-24 17:24:51 +08:00
|
|
|
{
|
|
|
|
MethodName: "ReleaseCollection",
|
|
|
|
Handler: _QueryNode_ReleaseCollection_Handler,
|
|
|
|
},
|
2023-03-20 14:55:57 +08:00
|
|
|
{
|
|
|
|
MethodName: "LoadPartitions",
|
|
|
|
Handler: _QueryNode_LoadPartitions_Handler,
|
|
|
|
},
|
2021-02-24 17:24:51 +08:00
|
|
|
{
|
|
|
|
MethodName: "ReleasePartitions",
|
|
|
|
Handler: _QueryNode_ReleasePartitions_Handler,
|
|
|
|
},
|
2021-01-15 15:28:54 +08:00
|
|
|
{
|
|
|
|
MethodName: "ReleaseSegments",
|
|
|
|
Handler: _QueryNode_ReleaseSegments_Handler,
|
|
|
|
},
|
2021-02-04 11:40:14 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetSegmentInfo",
|
|
|
|
Handler: _QueryNode_GetSegmentInfo_Handler,
|
|
|
|
},
|
2022-04-27 10:41:46 +08:00
|
|
|
{
|
|
|
|
MethodName: "SyncReplicaSegments",
|
|
|
|
Handler: _QueryNode_SyncReplicaSegments_Handler,
|
|
|
|
},
|
2022-07-18 09:58:28 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetStatistics",
|
|
|
|
Handler: _QueryNode_GetStatistics_Handler,
|
|
|
|
},
|
2022-03-30 12:03:27 +08:00
|
|
|
{
|
|
|
|
MethodName: "Search",
|
|
|
|
Handler: _QueryNode_Search_Handler,
|
|
|
|
},
|
2023-05-23 16:01:26 +08:00
|
|
|
{
|
|
|
|
MethodName: "SearchSegments",
|
|
|
|
Handler: _QueryNode_SearchSegments_Handler,
|
|
|
|
},
|
2022-03-30 12:03:27 +08:00
|
|
|
{
|
|
|
|
MethodName: "Query",
|
|
|
|
Handler: _QueryNode_Query_Handler,
|
|
|
|
},
|
2023-05-23 16:01:26 +08:00
|
|
|
{
|
|
|
|
MethodName: "QuerySegments",
|
|
|
|
Handler: _QueryNode_QuerySegments_Handler,
|
|
|
|
},
|
2022-08-03 01:12:33 +08:00
|
|
|
{
|
|
|
|
MethodName: "ShowConfigurations",
|
|
|
|
Handler: _QueryNode_ShowConfigurations_Handler,
|
|
|
|
},
|
2021-08-17 10:06:11 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetMetrics",
|
|
|
|
Handler: _QueryNode_GetMetrics_Handler,
|
|
|
|
},
|
2022-09-15 18:48:32 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetDataDistribution",
|
|
|
|
Handler: _QueryNode_GetDataDistribution_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SyncDistribution",
|
|
|
|
Handler: _QueryNode_SyncDistribution_Handler,
|
|
|
|
},
|
2023-03-27 00:42:00 +08:00
|
|
|
{
|
|
|
|
MethodName: "Delete",
|
|
|
|
Handler: _QueryNode_Delete_Handler,
|
|
|
|
},
|
2021-01-14 14:24:14 +08:00
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
2021-06-22 19:08:03 +08:00
|
|
|
Metadata: "query_coord.proto",
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|