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"
|
2021-04-22 14:45:57 +08:00
|
|
|
commonpb "github.com/milvus-io/milvus/internal/proto/commonpb"
|
2021-06-16 11:09:56 +08:00
|
|
|
datapb "github.com/milvus-io/milvus/internal/proto/datapb"
|
2021-04-22 14:45:57 +08:00
|
|
|
internalpb "github.com/milvus-io/milvus/internal/proto/internalpb"
|
|
|
|
milvuspb "github.com/milvus-io/milvus/internal/proto/milvuspb"
|
|
|
|
schemapb "github.com/milvus-io/milvus/internal/proto/schemapb"
|
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"
|
|
|
|
math "math"
|
|
|
|
)
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
|
|
|
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) {
|
2021-06-22 19:08:03 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{0}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type TriggerCondition int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
TriggerCondition_handoff TriggerCondition = 0
|
|
|
|
TriggerCondition_loadBalance TriggerCondition = 1
|
|
|
|
TriggerCondition_grpcRequest TriggerCondition = 2
|
|
|
|
TriggerCondition_nodeDown TriggerCondition = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
var TriggerCondition_name = map[int32]string{
|
|
|
|
0: "handoff",
|
|
|
|
1: "loadBalance",
|
|
|
|
2: "grpcRequest",
|
|
|
|
3: "nodeDown",
|
|
|
|
}
|
|
|
|
|
|
|
|
var TriggerCondition_value = map[string]int32{
|
|
|
|
"handoff": 0,
|
|
|
|
"loadBalance": 1,
|
|
|
|
"grpcRequest": 2,
|
|
|
|
"nodeDown": 3,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x TriggerCondition) String() string {
|
|
|
|
return proto.EnumName(TriggerCondition_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (TriggerCondition) EnumDescriptor() ([]byte, []int) {
|
2021-06-22 19:08:03 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{1}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//----------------etcd-----------------
|
|
|
|
type SegmentState int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
SegmentState_None SegmentState = 0
|
|
|
|
SegmentState_Growing SegmentState = 1
|
|
|
|
SegmentState_Frozen SegmentState = 2
|
|
|
|
SegmentState_sealing SegmentState = 3
|
|
|
|
SegmentState_sealed SegmentState = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
var SegmentState_name = map[int32]string{
|
|
|
|
0: "None",
|
|
|
|
1: "Growing",
|
|
|
|
2: "Frozen",
|
|
|
|
3: "sealing",
|
|
|
|
4: "sealed",
|
|
|
|
}
|
|
|
|
|
|
|
|
var SegmentState_value = map[string]int32{
|
|
|
|
"None": 0,
|
|
|
|
"Growing": 1,
|
|
|
|
"Frozen": 2,
|
|
|
|
"sealing": 3,
|
|
|
|
"sealed": 4,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x SegmentState) String() string {
|
|
|
|
return proto.EnumName(SegmentState_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (SegmentState) EnumDescriptor() ([]byte, []int) {
|
2021-06-22 19:08:03 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{2}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
type LoadType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
LoadType_LoadPartition LoadType = 0
|
|
|
|
LoadType_loadCollection LoadType = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
var LoadType_name = map[int32]string{
|
|
|
|
0: "LoadPartition",
|
|
|
|
1: "loadCollection",
|
|
|
|
}
|
|
|
|
|
|
|
|
var LoadType_value = map[string]int32{
|
|
|
|
"LoadPartition": 0,
|
|
|
|
"loadCollection": 1,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x LoadType) String() string {
|
|
|
|
return proto.EnumName(LoadType_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (LoadType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{3}
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
//--------------------query coordinator 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 {
|
2021-01-16 15:31:10 +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"`
|
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"`
|
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-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
|
|
|
|
}
|
|
|
|
|
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"`
|
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
|
|
|
|
}
|
|
|
|
|
2021-01-14 14:24:14 +08:00
|
|
|
type LoadCollectionRequest struct {
|
2021-02-06 17:37:10 +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"`
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type LoadPartitionsRequest 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"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,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) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{6}
|
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
|
|
|
}
|
|
|
|
|
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) {
|
2021-06-23 17:44:12 +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 *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-06-15 12:41:40 +08:00
|
|
|
type CreateQueryChannelRequest struct {
|
|
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
2021-06-18 10:33:58 +08:00
|
|
|
ProxyID int64 `protobuf:"varint,2,opt,name=proxyID,proto3" json:"proxyID,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 *CreateQueryChannelRequest) Reset() { *m = CreateQueryChannelRequest{} }
|
|
|
|
func (m *CreateQueryChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CreateQueryChannelRequest) ProtoMessage() {}
|
|
|
|
func (*CreateQueryChannelRequest) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +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 *CreateQueryChannelRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CreateQueryChannelRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *CreateQueryChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CreateQueryChannelRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *CreateQueryChannelRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CreateQueryChannelRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *CreateQueryChannelRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CreateQueryChannelRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CreateQueryChannelRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CreateQueryChannelRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
var xxx_messageInfo_CreateQueryChannelRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *CreateQueryChannelRequest) GetCollectionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.CollectionID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-18 10:33:58 +08:00
|
|
|
func (m *CreateQueryChannelRequest) GetProxyID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ProxyID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type CreateQueryChannelResponse struct {
|
|
|
|
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
RequestChannel string `protobuf:"bytes,2,opt,name=request_channel,json=requestChannel,proto3" json:"request_channel,omitempty"`
|
|
|
|
ResultChannel string `protobuf:"bytes,3,opt,name=result_channel,json=resultChannel,proto3" json:"result_channel,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateQueryChannelResponse) Reset() { *m = CreateQueryChannelResponse{} }
|
|
|
|
func (m *CreateQueryChannelResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CreateQueryChannelResponse) ProtoMessage() {}
|
|
|
|
func (*CreateQueryChannelResponse) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{9}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateQueryChannelResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CreateQueryChannelResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CreateQueryChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CreateQueryChannelResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *CreateQueryChannelResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CreateQueryChannelResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *CreateQueryChannelResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CreateQueryChannelResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CreateQueryChannelResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CreateQueryChannelResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CreateQueryChannelResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CreateQueryChannelResponse) GetStatus() *commonpb.Status {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.Status
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateQueryChannelResponse) GetRequestChannel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.RequestChannel
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateQueryChannelResponse) GetResultChannel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ResultChannel
|
|
|
|
}
|
|
|
|
return ""
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
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) {
|
2021-06-23 17:44:12 +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 *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-06-15 12:41:40 +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"`
|
2021-08-02 22:39:25 +08:00
|
|
|
InMemoryPercentage int64 `protobuf:"varint,3,opt,name=inMemory_percentage,json=inMemoryPercentage,proto3" json:"inMemory_percentage,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartitionStates) Reset() { *m = PartitionStates{} }
|
|
|
|
func (m *PartitionStates) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PartitionStates) ProtoMessage() {}
|
|
|
|
func (*PartitionStates) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{11}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartitionStates) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_PartitionStates.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *PartitionStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_PartitionStates.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *PartitionStates) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_PartitionStates.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *PartitionStates) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_PartitionStates.Size(m)
|
|
|
|
}
|
|
|
|
func (m *PartitionStates) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_PartitionStates.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_PartitionStates proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *PartitionStates) GetPartitionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartitionStates) GetState() PartitionState {
|
|
|
|
if m != nil {
|
|
|
|
return m.State
|
|
|
|
}
|
|
|
|
return PartitionState_NotExist
|
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
func (m *PartitionStates) GetInMemoryPercentage() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.InMemoryPercentage
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
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) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{12}
|
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) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{13}
|
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 SegmentInfo struct {
|
2021-10-27 19:28:21 +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"`
|
|
|
|
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"`
|
|
|
|
ChannelID string `protobuf:"bytes,9,opt,name=channelID,proto3" json:"channelID,omitempty"`
|
|
|
|
SegmentState SegmentState `protobuf:"varint,10,opt,name=segment_state,json=segmentState,proto3,enum=milvus.proto.query.SegmentState" json:"segment_state,omitempty"`
|
|
|
|
CompactionFrom []int64 `protobuf:"varint,11,rep,packed,name=compactionFrom,proto3" json:"compactionFrom,omitempty"`
|
|
|
|
CreatedByCompaction bool `protobuf:"varint,12,opt,name=createdByCompaction,proto3" json:"createdByCompaction,omitempty"`
|
|
|
|
State commonpb.SegmentState `protobuf:"varint,13,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-06-15 12:41:40 +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) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{14}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SegmentInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SegmentInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentInfo) GetSegmentID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentInfo) 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 *SegmentInfo) GetPartitionID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.PartitionID
|
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 *SegmentInfo) GetNodeID() int64 {
|
2021-02-06 17:37:10 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.NodeID
|
2021-02-06 17:37:10 +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 *SegmentInfo) GetMemSize() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MemSize
|
|
|
|
}
|
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentInfo) GetNumRows() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumRows
|
|
|
|
}
|
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentInfo) GetIndexName() string {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.IndexName
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return ""
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentInfo) GetIndexID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.IndexID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentInfo) GetChannelID() string {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.ChannelID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return ""
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *SegmentInfo) GetSegmentState() SegmentState {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.SegmentState
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return SegmentState_None
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-10-25 18:09:15 +08:00
|
|
|
func (m *SegmentInfo) GetCompactionFrom() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CompactionFrom
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfo) GetCreatedByCompaction() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreatedByCompaction
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-10-27 19:28:21 +08:00
|
|
|
func (m *SegmentInfo) GetState() commonpb.SegmentState {
|
|
|
|
if m != nil {
|
|
|
|
return m.State
|
|
|
|
}
|
|
|
|
return commonpb.SegmentState_SegmentStateNone
|
|
|
|
}
|
|
|
|
|
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) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{15}
|
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
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
//-----------------query node proto----------------
|
2021-03-12 14:22:09 +08:00
|
|
|
type AddQueryChannelRequest struct {
|
2021-10-11 18:48:29 +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"`
|
|
|
|
RequestChannelID string `protobuf:"bytes,4,opt,name=request_channelID,json=requestChannelID,proto3" json:"request_channelID,omitempty"`
|
|
|
|
ResultChannelID string `protobuf:"bytes,5,opt,name=result_channelID,json=resultChannelID,proto3" json:"result_channelID,omitempty"`
|
|
|
|
GlobalSealedSegmentID []int64 `protobuf:"varint,6,rep,packed,name=global_sealed_segmentID,json=globalSealedSegmentID,proto3" json:"global_sealed_segmentID,omitempty"`
|
|
|
|
SeekPosition *internalpb.MsgPosition `protobuf:"bytes,7,opt,name=seek_position,json=seekPosition,proto3" json:"seek_position,omitempty"`
|
2021-10-15 20:35:05 +08:00
|
|
|
GlobalSealedSegments []*SegmentInfo `protobuf:"bytes,8,rep,name=global_sealed_segments,json=globalSealedSegments,proto3" json:"global_sealed_segments,omitempty"`
|
2021-10-11 18:48:29 +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 *AddQueryChannelRequest) Reset() { *m = AddQueryChannelRequest{} }
|
|
|
|
func (m *AddQueryChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AddQueryChannelRequest) ProtoMessage() {}
|
|
|
|
func (*AddQueryChannelRequest) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{16}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AddQueryChannelRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_AddQueryChannelRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AddQueryChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_AddQueryChannelRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AddQueryChannelRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_AddQueryChannelRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AddQueryChannelRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_AddQueryChannelRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AddQueryChannelRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_AddQueryChannelRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_AddQueryChannelRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AddQueryChannelRequest) 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 *AddQueryChannelRequest) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AddQueryChannelRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AddQueryChannelRequest) GetRequestChannelID() string {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.RequestChannelID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *AddQueryChannelRequest) GetResultChannelID() string {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.ResultChannelID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-10-11 18:48:29 +08:00
|
|
|
func (m *AddQueryChannelRequest) GetGlobalSealedSegmentID() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.GlobalSealedSegmentID
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AddQueryChannelRequest) GetSeekPosition() *internalpb.MsgPosition {
|
|
|
|
if m != nil {
|
|
|
|
return m.SeekPosition
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-10-15 20:35:05 +08:00
|
|
|
func (m *AddQueryChannelRequest) GetGlobalSealedSegments() []*SegmentInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.GlobalSealedSegments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
type RemoveQueryChannelRequest struct {
|
2021-06-15 12:41:40 +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"`
|
|
|
|
RequestChannelID string `protobuf:"bytes,4,opt,name=request_channelID,json=requestChannelID,proto3" json:"request_channelID,omitempty"`
|
|
|
|
ResultChannelID string `protobuf:"bytes,5,opt,name=result_channelID,json=resultChannelID,proto3" json:"result_channelID,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
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *RemoveQueryChannelRequest) Reset() { *m = RemoveQueryChannelRequest{} }
|
|
|
|
func (m *RemoveQueryChannelRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RemoveQueryChannelRequest) ProtoMessage() {}
|
|
|
|
func (*RemoveQueryChannelRequest) Descriptor() ([]byte, []int) {
|
2021-06-23 17:44:12 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{17}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *RemoveQueryChannelRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_RemoveQueryChannelRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *RemoveQueryChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_RemoveQueryChannelRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *RemoveQueryChannelRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_RemoveQueryChannelRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *RemoveQueryChannelRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_RemoveQueryChannelRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *RemoveQueryChannelRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_RemoveQueryChannelRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
var xxx_messageInfo_RemoveQueryChannelRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *RemoveQueryChannelRequest) 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 *RemoveQueryChannelRequest) GetNodeID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.NodeID
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RemoveQueryChannelRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *RemoveQueryChannelRequest) GetRequestChannelID() string {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.RequestChannelID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (m *RemoveQueryChannelRequest) GetResultChannelID() string {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.ResultChannelID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type WatchDmChannelsRequest 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"`
|
|
|
|
PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
2021-06-16 11:09:56 +08:00
|
|
|
Infos []*datapb.VchannelInfo `protobuf:"bytes,5,rep,name=infos,proto3" json:"infos,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
|
2021-06-16 11:09:56 +08:00
|
|
|
ExcludeInfos []*datapb.SegmentInfo `protobuf:"bytes,7,rep,name=exclude_infos,json=excludeInfos,proto3" json:"exclude_infos,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
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) {
|
2021-06-23 17:44:12 +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
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchDmChannelsRequest) GetPartitionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2021-11-05 14:47:19 +08:00
|
|
|
type WatchDeltaChannelsRequest 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"`
|
|
|
|
Infos []*datapb.VchannelInfo `protobuf:"bytes,4,rep,name=infos,proto3" json:"infos,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchDeltaChannelsRequest) Reset() { *m = WatchDeltaChannelsRequest{} }
|
|
|
|
func (m *WatchDeltaChannelsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WatchDeltaChannelsRequest) ProtoMessage() {}
|
|
|
|
func (*WatchDeltaChannelsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{19}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchDeltaChannelsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_WatchDeltaChannelsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *WatchDeltaChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_WatchDeltaChannelsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *WatchDeltaChannelsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_WatchDeltaChannelsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *WatchDeltaChannelsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_WatchDeltaChannelsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *WatchDeltaChannelsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_WatchDeltaChannelsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_WatchDeltaChannelsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *WatchDeltaChannelsRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchDeltaChannelsRequest) GetNodeID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchDeltaChannelsRequest) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchDeltaChannelsRequest) GetInfos() []*datapb.VchannelInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.Infos
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
//used for handoff task
|
|
|
|
type SegmentLoadInfo struct {
|
2021-10-22 14:31:13 +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.DeltaLogInfo `protobuf:"bytes,9,rep,name=deltalogs,proto3" json:"deltalogs,omitempty"`
|
2021-11-08 21:00:02 +08:00
|
|
|
CompactionFrom []int64 `protobuf:"varint,10,rep,packed,name=compactionFrom,proto3" json:"compactionFrom,omitempty"`
|
2021-10-22 14:31:13 +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) {
|
2021-11-05 14:47:19 +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
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentLoadInfo) GetDeltalogs() []*datapb.DeltaLogInfo {
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
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"`
|
|
|
|
LoadCondition TriggerCondition `protobuf:"varint,5,opt,name=load_condition,json=loadCondition,proto3,enum=milvus.proto.query.TriggerCondition" json:"load_condition,omitempty"`
|
2021-10-22 19:07:15 +08:00
|
|
|
SourceNodeID int64 `protobuf:"varint,6,opt,name=source_nodeID,json=sourceNodeID,proto3" json:"source_nodeID,omitempty"`
|
|
|
|
CollectionID int64 `protobuf:"varint,7,opt,name=collectionID,proto3" json:"collectionID,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) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{21}
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadSegmentsRequest) GetLoadCondition() TriggerCondition {
|
|
|
|
if m != nil {
|
|
|
|
return m.LoadCondition
|
|
|
|
}
|
|
|
|
return TriggerCondition_handoff
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
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"`
|
|
|
|
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) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{22}
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
type DmChannelInfo struct {
|
|
|
|
NodeIDLoaded int64 `protobuf:"varint,1,opt,name=nodeID_loaded,json=nodeIDLoaded,proto3" json:"nodeID_loaded,omitempty"`
|
|
|
|
ChannelIDs []string `protobuf:"bytes,2,rep,name=channelIDs,proto3" json:"channelIDs,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DmChannelInfo) Reset() { *m = DmChannelInfo{} }
|
|
|
|
func (m *DmChannelInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DmChannelInfo) ProtoMessage() {}
|
|
|
|
func (*DmChannelInfo) Descriptor() ([]byte, []int) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{23}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DmChannelInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DmChannelInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DmChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DmChannelInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DmChannelInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DmChannelInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DmChannelInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DmChannelInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DmChannelInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DmChannelInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DmChannelInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DmChannelInfo) GetNodeIDLoaded() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NodeIDLoaded
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DmChannelInfo) GetChannelIDs() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type QueryChannelInfo struct {
|
2021-10-22 19:07:15 +08:00
|
|
|
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
|
|
QueryChannelID string `protobuf:"bytes,2,opt,name=query_channelID,json=queryChannelID,proto3" json:"query_channelID,omitempty"`
|
|
|
|
QueryResultChannelID string `protobuf:"bytes,3,opt,name=query_result_channelID,json=queryResultChannelID,proto3" json:"query_result_channelID,omitempty"`
|
|
|
|
GlobalSealedSegments []*SegmentInfo `protobuf:"bytes,4,rep,name=global_sealed_segments,json=globalSealedSegments,proto3" json:"global_sealed_segments,omitempty"`
|
|
|
|
SeekPosition *internalpb.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) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{24}
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *QueryChannelInfo) GetQueryChannelID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.QueryChannelID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *QueryChannelInfo) GetQueryResultChannelID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.QueryResultChannelID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-10-22 19:07:15 +08:00
|
|
|
func (m *QueryChannelInfo) GetGlobalSealedSegments() []*SegmentInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.GlobalSealedSegments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *QueryChannelInfo) GetSeekPosition() *internalpb.MsgPosition {
|
|
|
|
if m != nil {
|
|
|
|
return m.SeekPosition
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +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"`
|
2021-08-02 22:39:25 +08:00
|
|
|
PartitionStates []*PartitionStates `protobuf:"bytes,3,rep,name=partition_states,json=partitionStates,proto3" json:"partition_states,omitempty"`
|
|
|
|
ChannelInfos []*DmChannelInfo `protobuf:"bytes,4,rep,name=channel_infos,json=channelInfos,proto3" json:"channel_infos,omitempty"`
|
|
|
|
LoadType LoadType `protobuf:"varint,5,opt,name=load_type,json=loadType,proto3,enum=milvus.proto.query.LoadType" json:"load_type,omitempty"`
|
|
|
|
Schema *schemapb.CollectionSchema `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
|
|
ReleasedPartitionIDs []int64 `protobuf:"varint,7,rep,packed,name=released_partitionIDs,json=releasedPartitionIDs,proto3" json:"released_partitionIDs,omitempty"`
|
|
|
|
InMemoryPercentage int64 `protobuf:"varint,8,opt,name=inMemory_percentage,json=inMemoryPercentage,proto3" json:"inMemory_percentage,omitempty"`
|
2021-06-15 12:41:40 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionInfo) Reset() { *m = CollectionInfo{} }
|
|
|
|
func (m *CollectionInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CollectionInfo) ProtoMessage() {}
|
|
|
|
func (*CollectionInfo) Descriptor() ([]byte, []int) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{25}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CollectionInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CollectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CollectionInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *CollectionInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CollectionInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *CollectionInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CollectionInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CollectionInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CollectionInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CollectionInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CollectionInfo) GetCollectionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CollectionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollectionInfo) GetPartitionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
func (m *CollectionInfo) GetPartitionStates() []*PartitionStates {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionStates
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *CollectionInfo) GetChannelInfos() []*DmChannelInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChannelInfos
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
func (m *CollectionInfo) GetLoadType() LoadType {
|
2021-06-19 11:45:09 +08:00
|
|
|
if m != nil {
|
2021-08-02 22:39:25 +08:00
|
|
|
return m.LoadType
|
2021-06-19 11:45:09 +08:00
|
|
|
}
|
2021-08-02 22:39:25 +08:00
|
|
|
return LoadType_LoadPartition
|
2021-06-19 11:45:09 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *CollectionInfo) GetSchema() *schemapb.CollectionSchema {
|
|
|
|
if m != nil {
|
|
|
|
return m.Schema
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-23 17:44:12 +08:00
|
|
|
func (m *CollectionInfo) GetReleasedPartitionIDs() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ReleasedPartitionIDs
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-08-02 22:39:25 +08:00
|
|
|
func (m *CollectionInfo) GetInMemoryPercentage() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.InMemoryPercentage
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
type LoadBalanceSegmentInfo struct {
|
|
|
|
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"`
|
|
|
|
SourceNodeID int64 `protobuf:"varint,4,opt,name=source_nodeID,json=sourceNodeID,proto3" json:"source_nodeID,omitempty"`
|
|
|
|
DstNodeID int64 `protobuf:"varint,5,opt,name=dst_nodeID,json=dstNodeID,proto3" json:"dst_nodeID,omitempty"`
|
|
|
|
SourceDone bool `protobuf:"varint,6,opt,name=source_done,json=sourceDone,proto3" json:"source_done,omitempty"`
|
|
|
|
DstDone bool `protobuf:"varint,7,opt,name=dst_done,json=dstDone,proto3" json:"dst_done,omitempty"`
|
|
|
|
ValidInfo bool `protobuf:"varint,8,opt,name=valid_info,json=validInfo,proto3" json:"valid_info,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceSegmentInfo) Reset() { *m = LoadBalanceSegmentInfo{} }
|
|
|
|
func (m *LoadBalanceSegmentInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LoadBalanceSegmentInfo) ProtoMessage() {}
|
|
|
|
func (*LoadBalanceSegmentInfo) Descriptor() ([]byte, []int) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{26}
|
2021-06-15 12:41:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceSegmentInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LoadBalanceSegmentInfo.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *LoadBalanceSegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LoadBalanceSegmentInfo.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *LoadBalanceSegmentInfo) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LoadBalanceSegmentInfo.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *LoadBalanceSegmentInfo) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LoadBalanceSegmentInfo.Size(m)
|
|
|
|
}
|
|
|
|
func (m *LoadBalanceSegmentInfo) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LoadBalanceSegmentInfo.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_LoadBalanceSegmentInfo proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *LoadBalanceSegmentInfo) GetSegmentID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceSegmentInfo) GetPartitionID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PartitionID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *LoadBalanceSegmentInfo) 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 *LoadBalanceSegmentInfo) GetSourceNodeID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.SourceNodeID
|
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-06-15 12:41:40 +08:00
|
|
|
func (m *LoadBalanceSegmentInfo) GetDstNodeID() int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.DstNodeID
|
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 *LoadBalanceSegmentInfo) GetSourceDone() bool {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.SourceDone
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return false
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadBalanceSegmentInfo) GetDstDone() bool {
|
2021-01-24 18:02:08 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.DstDone
|
2021-01-24 18:02:08 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return false
|
2021-01-24 18:02:08 +08:00
|
|
|
}
|
|
|
|
|
2021-06-15 12:41:40 +08:00
|
|
|
func (m *LoadBalanceSegmentInfo) GetValidInfo() bool {
|
2021-02-07 09:30:48 +08:00
|
|
|
if m != nil {
|
2021-06-15 12:41:40 +08:00
|
|
|
return m.ValidInfo
|
2021-02-07 09:30:48 +08:00
|
|
|
}
|
2021-06-15 12:41:40 +08:00
|
|
|
return false
|
2021-02-07 09:30:48 +08:00
|
|
|
}
|
|
|
|
|
2021-10-24 22:39:09 +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"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *HandoffSegmentsRequest) Reset() { *m = HandoffSegmentsRequest{} }
|
|
|
|
func (m *HandoffSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*HandoffSegmentsRequest) ProtoMessage() {}
|
|
|
|
func (*HandoffSegmentsRequest) Descriptor() ([]byte, []int) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{27}
|
2021-10-24 22:39:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *HandoffSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_HandoffSegmentsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *HandoffSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_HandoffSegmentsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *HandoffSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_HandoffSegmentsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *HandoffSegmentsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_HandoffSegmentsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *HandoffSegmentsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_HandoffSegmentsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_HandoffSegmentsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *HandoffSegmentsRequest) GetBase() *commonpb.MsgBase {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *HandoffSegmentsRequest) GetSegmentInfos() []*SegmentInfo {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentInfos
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-19 11:45:09 +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"`
|
2021-11-06 15:22:56 +08:00
|
|
|
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"`
|
2021-06-19 11:45:09 +08:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *LoadBalanceRequest) Reset() { *m = LoadBalanceRequest{} }
|
|
|
|
func (m *LoadBalanceRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*LoadBalanceRequest) ProtoMessage() {}
|
|
|
|
func (*LoadBalanceRequest) Descriptor() ([]byte, []int) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{28}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *LoadBalanceRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_LoadBalanceRequest.Unmarshal(m, b)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *LoadBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_LoadBalanceRequest.Marshal(b, m, deterministic)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *LoadBalanceRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_LoadBalanceRequest.Merge(m, src)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *LoadBalanceRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_LoadBalanceRequest.Size(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *LoadBalanceRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_LoadBalanceRequest.DiscardUnknown(m)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-19 11:45:09 +08:00
|
|
|
var xxx_messageInfo_LoadBalanceRequest proto.InternalMessageInfo
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *LoadBalanceRequest) GetBase() *commonpb.MsgBase {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-06-19 11:45:09 +08:00
|
|
|
func (m *LoadBalanceRequest) GetSourceNodeIDs() []int64 {
|
2021-01-14 14:24:14 +08:00
|
|
|
if m != nil {
|
2021-06-19 11:45:09 +08:00
|
|
|
return m.SourceNodeIDs
|
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-06-19 11:45:09 +08:00
|
|
|
func (m *LoadBalanceRequest) GetBalanceReason() TriggerCondition {
|
|
|
|
if m != nil {
|
|
|
|
return m.BalanceReason
|
|
|
|
}
|
|
|
|
return TriggerCondition_handoff
|
|
|
|
}
|
|
|
|
|
2021-11-06 15:22:56 +08:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-10-09 14:45:00 +08:00
|
|
|
//---------------- common query proto -----------------
|
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) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{29}
|
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) {
|
2021-11-05 14:47:19 +08:00
|
|
|
return fileDescriptor_aab7cc9a69ed26e8, []int{30}
|
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
|
|
|
|
}
|
|
|
|
|
2021-01-14 14:24:14 +08:00
|
|
|
func init() {
|
|
|
|
proto.RegisterEnum("milvus.proto.query.PartitionState", PartitionState_name, PartitionState_value)
|
2021-06-15 12:41:40 +08:00
|
|
|
proto.RegisterEnum("milvus.proto.query.TriggerCondition", TriggerCondition_name, TriggerCondition_value)
|
|
|
|
proto.RegisterEnum("milvus.proto.query.SegmentState", SegmentState_name, SegmentState_value)
|
2021-08-02 22:39:25 +08:00
|
|
|
proto.RegisterEnum("milvus.proto.query.LoadType", LoadType_name, LoadType_value)
|
2021-03-12 14:22:09 +08:00
|
|
|
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")
|
2021-06-15 12:41:40 +08:00
|
|
|
proto.RegisterType((*LoadCollectionRequest)(nil), "milvus.proto.query.LoadCollectionRequest")
|
|
|
|
proto.RegisterType((*ReleaseCollectionRequest)(nil), "milvus.proto.query.ReleaseCollectionRequest")
|
2021-03-12 14:22:09 +08:00
|
|
|
proto.RegisterType((*LoadPartitionsRequest)(nil), "milvus.proto.query.LoadPartitionsRequest")
|
|
|
|
proto.RegisterType((*ReleasePartitionsRequest)(nil), "milvus.proto.query.ReleasePartitionsRequest")
|
2021-06-15 12:41:40 +08:00
|
|
|
proto.RegisterType((*CreateQueryChannelRequest)(nil), "milvus.proto.query.CreateQueryChannelRequest")
|
2021-01-14 14:24:14 +08:00
|
|
|
proto.RegisterType((*CreateQueryChannelResponse)(nil), "milvus.proto.query.CreateQueryChannelResponse")
|
2021-06-15 12:41:40 +08:00
|
|
|
proto.RegisterType((*GetPartitionStatesRequest)(nil), "milvus.proto.query.GetPartitionStatesRequest")
|
|
|
|
proto.RegisterType((*PartitionStates)(nil), "milvus.proto.query.PartitionStates")
|
|
|
|
proto.RegisterType((*GetPartitionStatesResponse)(nil), "milvus.proto.query.GetPartitionStatesResponse")
|
|
|
|
proto.RegisterType((*GetSegmentInfoRequest)(nil), "milvus.proto.query.GetSegmentInfoRequest")
|
|
|
|
proto.RegisterType((*SegmentInfo)(nil), "milvus.proto.query.SegmentInfo")
|
|
|
|
proto.RegisterType((*GetSegmentInfoResponse)(nil), "milvus.proto.query.GetSegmentInfoResponse")
|
2021-03-12 14:22:09 +08:00
|
|
|
proto.RegisterType((*AddQueryChannelRequest)(nil), "milvus.proto.query.AddQueryChannelRequest")
|
|
|
|
proto.RegisterType((*RemoveQueryChannelRequest)(nil), "milvus.proto.query.RemoveQueryChannelRequest")
|
2021-01-15 15:28:54 +08:00
|
|
|
proto.RegisterType((*WatchDmChannelsRequest)(nil), "milvus.proto.query.WatchDmChannelsRequest")
|
2021-11-05 14:47:19 +08:00
|
|
|
proto.RegisterType((*WatchDeltaChannelsRequest)(nil), "milvus.proto.query.WatchDeltaChannelsRequest")
|
2021-06-15 12:41:40 +08:00
|
|
|
proto.RegisterType((*SegmentLoadInfo)(nil), "milvus.proto.query.SegmentLoadInfo")
|
2021-03-12 14:22:09 +08:00
|
|
|
proto.RegisterType((*LoadSegmentsRequest)(nil), "milvus.proto.query.LoadSegmentsRequest")
|
|
|
|
proto.RegisterType((*ReleaseSegmentsRequest)(nil), "milvus.proto.query.ReleaseSegmentsRequest")
|
2021-06-15 12:41:40 +08:00
|
|
|
proto.RegisterType((*DmChannelInfo)(nil), "milvus.proto.query.DmChannelInfo")
|
|
|
|
proto.RegisterType((*QueryChannelInfo)(nil), "milvus.proto.query.QueryChannelInfo")
|
|
|
|
proto.RegisterType((*CollectionInfo)(nil), "milvus.proto.query.CollectionInfo")
|
|
|
|
proto.RegisterType((*LoadBalanceSegmentInfo)(nil), "milvus.proto.query.LoadBalanceSegmentInfo")
|
2021-10-24 22:39:09 +08:00
|
|
|
proto.RegisterType((*HandoffSegmentsRequest)(nil), "milvus.proto.query.HandoffSegmentsRequest")
|
2021-06-19 11:45:09 +08:00
|
|
|
proto.RegisterType((*LoadBalanceRequest)(nil), "milvus.proto.query.LoadBalanceRequest")
|
2021-10-26 15:18:22 +08:00
|
|
|
proto.RegisterType((*SegmentChangeInfo)(nil), "milvus.proto.query.SegmentChangeInfo")
|
2021-10-09 14:45:00 +08:00
|
|
|
proto.RegisterType((*SealedSegmentsChangeInfo)(nil), "milvus.proto.query.SealedSegmentsChangeInfo")
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-22 19:08:03 +08:00
|
|
|
func init() { proto.RegisterFile("query_coord.proto", fileDescriptor_aab7cc9a69ed26e8) }
|
2021-01-14 14:24:14 +08:00
|
|
|
|
2021-06-22 19:08:03 +08:00
|
|
|
var fileDescriptor_aab7cc9a69ed26e8 = []byte{
|
2021-11-08 21:00:02 +08:00
|
|
|
// 2347 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x19, 0x4d, 0x6f, 0x1c, 0x49,
|
|
|
|
0xd5, 0x3d, 0x33, 0xb6, 0x67, 0xde, 0x7c, 0x75, 0x2a, 0xb1, 0x77, 0x62, 0x92, 0xac, 0xb7, 0xb3,
|
|
|
|
0xf9, 0x58, 0x2f, 0xeb, 0x64, 0x9d, 0xe5, 0x63, 0x05, 0x7b, 0xd8, 0x78, 0x36, 0xde, 0x59, 0x12,
|
|
|
|
0xc7, 0xb4, 0xbd, 0x8b, 0x88, 0x22, 0x35, 0xed, 0xe9, 0xf2, 0xb8, 0x95, 0xee, 0xae, 0x49, 0x57,
|
|
|
|
0x4f, 0x12, 0xe7, 0xcc, 0x01, 0x0e, 0x88, 0x1f, 0x00, 0x42, 0x42, 0x02, 0xa1, 0x3d, 0x20, 0x71,
|
|
|
|
0x81, 0x73, 0x2e, 0xdc, 0xf9, 0x05, 0x48, 0x08, 0x7e, 0x00, 0x17, 0x38, 0xa3, 0xfa, 0xe8, 0x9e,
|
|
|
|
0xfe, 0xa8, 0xb1, 0xc7, 0x36, 0xd9, 0x44, 0x88, 0x5b, 0xf7, 0xab, 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 0x0d, 0xdc,
|
|
|
|
0x68, 0x7f, 0xb4, 0xcb, 0x4e, 0x79, 0x43, 0x60, 0xbe, 0xe7, 0x12, 0xf9, 0x75, 0x23, 0x4e, 0x1a,
|
|
|
|
0x37, 0x38, 0xa5, 0x1b, 0x5c, 0xda, 0xe1, 0xee, 0xee, 0x1c, 0xff, 0xbd, 0xf5, 0x9f, 0x00, 0x00,
|
|
|
|
0x00, 0xff, 0xff, 0x0d, 0x49, 0xab, 0x16, 0xf6, 0x28, 0x00, 0x00,
|
2021-01-14 14:24:14 +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
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
// QueryCoordClient is the client API for QueryCoord service.
|
2021-01-14 14:24:14 +08:00
|
|
|
//
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
2021-06-22 16:44:09 +08:00
|
|
|
type QueryCoordClient interface {
|
2021-03-12 14:22:09 +08:00
|
|
|
GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error)
|
|
|
|
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)
|
2021-01-15 15:28:54 +08:00
|
|
|
LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-03-12 14:22:09 +08:00
|
|
|
CreateQueryChannel(ctx context.Context, in *CreateQueryChannelRequest, opts ...grpc.CallOption) (*CreateQueryChannelResponse, error)
|
|
|
|
GetPartitionStates(ctx context.Context, in *GetPartitionStatesRequest, opts ...grpc.CallOption) (*GetPartitionStatesResponse, error)
|
|
|
|
GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error)
|
2021-11-06 16:54:59 +08:00
|
|
|
LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, 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)
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
type queryCoordClient struct {
|
2021-01-14 14:24:14 +08:00
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func NewQueryCoordClient(cc *grpc.ClientConn) QueryCoordClient {
|
|
|
|
return &queryCoordClient{cc}
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(internalpb.ComponentStates)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetComponentStates", 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) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(milvuspb.StringResponse)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetTimeTickChannel", 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) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(milvuspb.StringResponse)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetStatisticsChannel", in, out, opts...)
|
2021-01-15 15:28:54 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(ShowCollectionsResponse)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ShowCollections", in, out, opts...)
|
2021-01-15 15:28:54 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (c *queryCoordClient) CreateQueryChannel(ctx context.Context, in *CreateQueryChannelRequest, opts ...grpc.CallOption) (*CreateQueryChannelResponse, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
out := new(CreateQueryChannelResponse)
|
2021-06-22 16:44:09 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/CreateQueryChannel", 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) 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
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
// QueryCoordServer is the server API for QueryCoord service.
|
|
|
|
type QueryCoordServer interface {
|
2021-03-12 14:22:09 +08:00
|
|
|
GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
|
|
|
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)
|
2021-03-12 14:22:09 +08:00
|
|
|
CreateQueryChannel(context.Context, *CreateQueryChannelRequest) (*CreateQueryChannelResponse, error)
|
|
|
|
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)
|
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)
|
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
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.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")
|
|
|
|
}
|
2021-06-22 16:44:09 +08:00
|
|
|
func (*UnimplementedQueryCoordServer) CreateQueryChannel(ctx context.Context, req *CreateQueryChannelRequest) (*CreateQueryChannelResponse, error) {
|
2021-01-14 14:24:14 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateQueryChannel 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")
|
|
|
|
}
|
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")
|
|
|
|
}
|
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) {
|
2021-03-12 14:22:09 +08:00
|
|
|
in := new(internalpb.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) {
|
2021-06-22 16:44:09 +08:00
|
|
|
return srv.(QueryCoordServer).GetComponentStates(ctx, req.(*internalpb.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)
|
|
|
|
}
|
|
|
|
|
2021-06-22 16:44:09 +08:00
|
|
|
func _QueryCoord_CreateQueryChannel_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(CreateQueryChannelRequest)
|
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).CreateQueryChannel(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/CreateQueryChannel",
|
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).CreateQueryChannel(ctx, req.(*CreateQueryChannelRequest))
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
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
|
|
|
},
|
|
|
|
{
|
2021-01-15 15:28:54 +08:00
|
|
|
MethodName: "CreateQueryChannel",
|
2021-06-22 16:44:09 +08:00
|
|
|
Handler: _QueryCoord_CreateQueryChannel_Handler,
|
2021-01-15 15:28:54 +08:00
|
|
|
},
|
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,
|
|
|
|
},
|
2021-08-17 10:06:11 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetMetrics",
|
|
|
|
Handler: _QueryCoord_GetMetrics_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 {
|
2021-03-12 14:22:09 +08:00
|
|
|
GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error)
|
|
|
|
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)
|
|
|
|
AddQueryChannel(ctx context.Context, in *AddQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
RemoveQueryChannel(ctx context.Context, in *RemoveQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-01-15 15:28:54 +08:00
|
|
|
WatchDmChannels(ctx context.Context, in *WatchDmChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
2021-11-05 14:47:19 +08:00
|
|
|
WatchDeltaChannels(ctx context.Context, in *WatchDeltaChannelsRequest, 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)
|
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)
|
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)
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type queryNodeClient struct {
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewQueryNodeClient(cc *grpc.ClientConn) QueryNodeClient {
|
|
|
|
return &queryNodeClient{cc}
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *queryNodeClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
|
|
|
|
out := new(internalpb.ComponentStates)
|
|
|
|
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-03-12 14:22:09 +08:00
|
|
|
func (c *queryNodeClient) AddQueryChannel(ctx context.Context, in *AddQueryChannelRequest, 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/AddQueryChannel", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (c *queryNodeClient) RemoveQueryChannel(ctx context.Context, in *RemoveQueryChannelRequest, 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/RemoveQueryChannel", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-11-05 14:47:19 +08:00
|
|
|
func (c *queryNodeClient) WatchDeltaChannels(ctx context.Context, in *WatchDeltaChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/WatchDeltaChannels", 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
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-01-15 15:28:54 +08:00
|
|
|
// QueryNodeServer is the server API for QueryNode service.
|
|
|
|
type QueryNodeServer interface {
|
2021-03-12 14:22:09 +08:00
|
|
|
GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
|
|
|
GetTimeTickChannel(context.Context, *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error)
|
|
|
|
GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
|
|
|
|
AddQueryChannel(context.Context, *AddQueryChannelRequest) (*commonpb.Status, error)
|
|
|
|
RemoveQueryChannel(context.Context, *RemoveQueryChannelRequest) (*commonpb.Status, error)
|
2021-01-15 15:28:54 +08:00
|
|
|
WatchDmChannels(context.Context, *WatchDmChannelsRequest) (*commonpb.Status, error)
|
2021-11-05 14:47:19 +08:00
|
|
|
WatchDeltaChannels(context.Context, *WatchDeltaChannelsRequest) (*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)
|
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)
|
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)
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// UnimplementedQueryNodeServer can be embedded to have forward compatible implementations.
|
|
|
|
type UnimplementedQueryNodeServer struct {
|
|
|
|
}
|
|
|
|
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
|
|
|
|
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-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) AddQueryChannel(ctx context.Context, req *AddQueryChannelRequest) (*commonpb.Status, error) {
|
2021-01-15 15:28:54 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddQueryChannel not implemented")
|
|
|
|
}
|
2021-03-12 14:22:09 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) RemoveQueryChannel(ctx context.Context, req *RemoveQueryChannelRequest) (*commonpb.Status, error) {
|
2021-01-15 15:28:54 +08:00
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method RemoveQueryChannel not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedQueryNodeServer) WatchDmChannels(ctx context.Context, req *WatchDmChannelsRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method WatchDmChannels not implemented")
|
|
|
|
}
|
2021-11-05 14:47:19 +08:00
|
|
|
func (*UnimplementedQueryNodeServer) WatchDeltaChannels(ctx context.Context, req *WatchDeltaChannelsRequest) (*commonpb.Status, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method WatchDeltaChannels 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")
|
|
|
|
}
|
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")
|
|
|
|
}
|
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")
|
|
|
|
}
|
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) {
|
|
|
|
in := new(internalpb.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) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).GetComponentStates(ctx, req.(*internalpb.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_AddQueryChannel_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(AddQueryChannelRequest)
|
2021-01-15 15:28:54 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).AddQueryChannel(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/AddQueryChannel",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).AddQueryChannel(ctx, req.(*AddQueryChannelRequest))
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _QueryNode_RemoveQueryChannel_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(RemoveQueryChannelRequest)
|
2021-01-15 15:28:54 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).RemoveQueryChannel(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/RemoveQueryChannel",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-03-12 14:22:09 +08:00
|
|
|
return srv.(QueryNodeServer).RemoveQueryChannel(ctx, req.(*RemoveQueryChannelRequest))
|
2021-01-15 15:28:54 +08:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2021-11-05 14:47:19 +08:00
|
|
|
func _QueryNode_WatchDeltaChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(WatchDeltaChannelsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(QueryNodeServer).WatchDeltaChannels(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/milvus.proto.query.QueryNode/WatchDeltaChannels",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(QueryNodeServer).WatchDeltaChannels(ctx, req.(*WatchDeltaChannelsRequest))
|
|
|
|
}
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
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-14 14:24:14 +08:00
|
|
|
{
|
2021-01-15 15:28:54 +08:00
|
|
|
MethodName: "AddQueryChannel",
|
|
|
|
Handler: _QueryNode_AddQueryChannel_Handler,
|
2021-01-14 14:24:14 +08:00
|
|
|
},
|
|
|
|
{
|
2021-01-15 15:28:54 +08:00
|
|
|
MethodName: "RemoveQueryChannel",
|
|
|
|
Handler: _QueryNode_RemoveQueryChannel_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "WatchDmChannels",
|
|
|
|
Handler: _QueryNode_WatchDmChannels_Handler,
|
|
|
|
},
|
2021-11-05 14:47:19 +08:00
|
|
|
{
|
|
|
|
MethodName: "WatchDeltaChannels",
|
|
|
|
Handler: _QueryNode_WatchDeltaChannels_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,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
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,
|
|
|
|
},
|
2021-08-17 10:06:11 +08:00
|
|
|
{
|
|
|
|
MethodName: "GetMetrics",
|
|
|
|
Handler: _QueryNode_GetMetrics_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
|
|
|
}
|