Documentation ¶
Index ¶
- Variables
- func RegisterMetaEventServiceServer(s grpc.ServiceRegistrar, srv MetaEventServiceServer)
- type ChangeShardRoleRequest
- type ChangeShardRoleResponse
- func (*ChangeShardRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeShardRoleResponse) GetHeader() *commonpb.ResponseHeader
- func (*ChangeShardRoleResponse) ProtoMessage()
- func (x *ChangeShardRoleResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeShardRoleResponse) Reset()
- func (x *ChangeShardRoleResponse) String() string
- type CloseShardRequest
- type CloseShardResponse
- func (*CloseShardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CloseShardResponse) GetHeader() *commonpb.ResponseHeader
- func (*CloseShardResponse) ProtoMessage()
- func (x *CloseShardResponse) ProtoReflect() protoreflect.Message
- func (x *CloseShardResponse) Reset()
- func (x *CloseShardResponse) String() string
- type CloseTableOnShardRequest
- func (*CloseTableOnShardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseTableOnShardRequest) GetTableInfo() *metaservicepb.TableInfo
- func (x *CloseTableOnShardRequest) GetUpdateShardInfo() *UpdateShardInfo
- func (*CloseTableOnShardRequest) ProtoMessage()
- func (x *CloseTableOnShardRequest) ProtoReflect() protoreflect.Message
- func (x *CloseTableOnShardRequest) Reset()
- func (x *CloseTableOnShardRequest) String() string
- type CloseTableOnShardResponse
- func (*CloseTableOnShardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CloseTableOnShardResponse) GetHeader() *commonpb.ResponseHeader
- func (*CloseTableOnShardResponse) ProtoMessage()
- func (x *CloseTableOnShardResponse) ProtoReflect() protoreflect.Message
- func (x *CloseTableOnShardResponse) Reset()
- func (x *CloseTableOnShardResponse) String() string
- type CreateTableOnShardRequest
- func (*CreateTableOnShardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTableOnShardRequest) GetCreateIfNotExist() bool
- func (x *CreateTableOnShardRequest) GetEncodedSchema() []byte
- func (x *CreateTableOnShardRequest) GetEngine() string
- func (x *CreateTableOnShardRequest) GetOptions() map[string]string
- func (x *CreateTableOnShardRequest) GetTableInfo() *metaservicepb.TableInfo
- func (x *CreateTableOnShardRequest) GetUpdateShardInfo() *UpdateShardInfo
- func (*CreateTableOnShardRequest) ProtoMessage()
- func (x *CreateTableOnShardRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTableOnShardRequest) Reset()
- func (x *CreateTableOnShardRequest) String() string
- type CreateTableOnShardResponse
- func (*CreateTableOnShardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTableOnShardResponse) GetHeader() *commonpb.ResponseHeader
- func (x *CreateTableOnShardResponse) GetLatestShardVersion() uint64
- func (*CreateTableOnShardResponse) ProtoMessage()
- func (x *CreateTableOnShardResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTableOnShardResponse) Reset()
- func (x *CreateTableOnShardResponse) String() string
- type DropTableOnShardRequest
- func (*DropTableOnShardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DropTableOnShardRequest) GetTableInfo() *metaservicepb.TableInfo
- func (x *DropTableOnShardRequest) GetUpdateShardInfo() *UpdateShardInfo
- func (*DropTableOnShardRequest) ProtoMessage()
- func (x *DropTableOnShardRequest) ProtoReflect() protoreflect.Message
- func (x *DropTableOnShardRequest) Reset()
- func (x *DropTableOnShardRequest) String() string
- type DropTableOnShardResponse
- func (*DropTableOnShardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DropTableOnShardResponse) GetHeader() *commonpb.ResponseHeader
- func (x *DropTableOnShardResponse) GetLatestShardVersion() uint64
- func (*DropTableOnShardResponse) ProtoMessage()
- func (x *DropTableOnShardResponse) ProtoReflect() protoreflect.Message
- func (x *DropTableOnShardResponse) Reset()
- func (x *DropTableOnShardResponse) String() string
- type MergeShardsRequest
- type MergeShardsResponse
- func (*MergeShardsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MergeShardsResponse) GetHeader() *commonpb.ResponseHeader
- func (*MergeShardsResponse) ProtoMessage()
- func (x *MergeShardsResponse) ProtoReflect() protoreflect.Message
- func (x *MergeShardsResponse) Reset()
- func (x *MergeShardsResponse) String() string
- type MetaEventServiceClient
- type MetaEventServiceServer
- type OpenShardRequest
- func (*OpenShardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenShardRequest) GetShard() *metaservicepb.ShardInfo
- func (*OpenShardRequest) ProtoMessage()
- func (x *OpenShardRequest) ProtoReflect() protoreflect.Message
- func (x *OpenShardRequest) Reset()
- func (x *OpenShardRequest) String() string
- type OpenShardResponse
- func (*OpenShardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpenShardResponse) GetHeader() *commonpb.ResponseHeader
- func (*OpenShardResponse) ProtoMessage()
- func (x *OpenShardResponse) ProtoReflect() protoreflect.Message
- func (x *OpenShardResponse) Reset()
- func (x *OpenShardResponse) String() string
- type OpenTableOnShardRequest
- func (*OpenTableOnShardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenTableOnShardRequest) GetTableInfo() *metaservicepb.TableInfo
- func (x *OpenTableOnShardRequest) GetUpdateShardInfo() *UpdateShardInfo
- func (*OpenTableOnShardRequest) ProtoMessage()
- func (x *OpenTableOnShardRequest) ProtoReflect() protoreflect.Message
- func (x *OpenTableOnShardRequest) Reset()
- func (x *OpenTableOnShardRequest) String() string
- type OpenTableOnShardResponse
- func (*OpenTableOnShardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpenTableOnShardResponse) GetHeader() *commonpb.ResponseHeader
- func (*OpenTableOnShardResponse) ProtoMessage()
- func (x *OpenTableOnShardResponse) ProtoReflect() protoreflect.Message
- func (x *OpenTableOnShardResponse) Reset()
- func (x *OpenTableOnShardResponse) String() string
- type ShardLockValue
- type SplitShardRequest
- type SplitShardResponse
- func (*SplitShardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SplitShardResponse) GetHeader() *commonpb.ResponseHeader
- func (*SplitShardResponse) ProtoMessage()
- func (x *SplitShardResponse) ProtoReflect() protoreflect.Message
- func (x *SplitShardResponse) Reset()
- func (x *SplitShardResponse) String() string
- type UnimplementedMetaEventServiceServer
- func (UnimplementedMetaEventServiceServer) ChangeShardRole(context.Context, *ChangeShardRoleRequest) (*ChangeShardRoleResponse, error)
- func (UnimplementedMetaEventServiceServer) CloseShard(context.Context, *CloseShardRequest) (*CloseShardResponse, error)
- func (UnimplementedMetaEventServiceServer) CloseTableOnShard(context.Context, *CloseTableOnShardRequest) (*CloseTableOnShardResponse, error)
- func (UnimplementedMetaEventServiceServer) CreateTableOnShard(context.Context, *CreateTableOnShardRequest) (*CreateTableOnShardResponse, error)
- func (UnimplementedMetaEventServiceServer) DropTableOnShard(context.Context, *DropTableOnShardRequest) (*DropTableOnShardResponse, error)
- func (UnimplementedMetaEventServiceServer) MergeShards(context.Context, *MergeShardsRequest) (*MergeShardsResponse, error)
- func (UnimplementedMetaEventServiceServer) OpenShard(context.Context, *OpenShardRequest) (*OpenShardResponse, error)
- func (UnimplementedMetaEventServiceServer) OpenTableOnShard(context.Context, *OpenTableOnShardRequest) (*OpenTableOnShardResponse, error)
- func (UnimplementedMetaEventServiceServer) SplitShard(context.Context, *SplitShardRequest) (*SplitShardResponse, error)
- type UnsafeMetaEventServiceServer
- type UpdateShardInfo
- func (*UpdateShardInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateShardInfo) GetCurrShardInfo() *metaservicepb.ShardInfo
- func (*UpdateShardInfo) ProtoMessage()
- func (x *UpdateShardInfo) ProtoReflect() protoreflect.Message
- func (x *UpdateShardInfo) Reset()
- func (x *UpdateShardInfo) String() string
Constants ¶
This section is empty.
Variables ¶
var File_meta_event_proto protoreflect.FileDescriptor
var MetaEventService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "meta_event.MetaEventService", HandlerType: (*MetaEventServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "OpenShard", Handler: _MetaEventService_OpenShard_Handler, }, { MethodName: "CloseShard", Handler: _MetaEventService_CloseShard_Handler, }, { MethodName: "CreateTableOnShard", Handler: _MetaEventService_CreateTableOnShard_Handler, }, { MethodName: "DropTableOnShard", Handler: _MetaEventService_DropTableOnShard_Handler, }, { MethodName: "OpenTableOnShard", Handler: _MetaEventService_OpenTableOnShard_Handler, }, { MethodName: "CloseTableOnShard", Handler: _MetaEventService_CloseTableOnShard_Handler, }, { MethodName: "SplitShard", Handler: _MetaEventService_SplitShard_Handler, }, { MethodName: "MergeShards", Handler: _MetaEventService_MergeShards_Handler, }, { MethodName: "ChangeShardRole", Handler: _MetaEventService_ChangeShardRole_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "meta_event.proto", }
MetaEventService_ServiceDesc is the grpc.ServiceDesc for MetaEventService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMetaEventServiceServer ¶
func RegisterMetaEventServiceServer(s grpc.ServiceRegistrar, srv MetaEventServiceServer)
Types ¶
type ChangeShardRoleRequest ¶
type ChangeShardRoleRequest struct {
// contains filtered or unexported fields
}
func (*ChangeShardRoleRequest) Descriptor
deprecated
func (*ChangeShardRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeShardRoleRequest.ProtoReflect.Descriptor instead.
func (*ChangeShardRoleRequest) ProtoMessage ¶
func (*ChangeShardRoleRequest) ProtoMessage()
func (*ChangeShardRoleRequest) ProtoReflect ¶
func (x *ChangeShardRoleRequest) ProtoReflect() protoreflect.Message
func (*ChangeShardRoleRequest) Reset ¶
func (x *ChangeShardRoleRequest) Reset()
func (*ChangeShardRoleRequest) String ¶
func (x *ChangeShardRoleRequest) String() string
type ChangeShardRoleResponse ¶
type ChangeShardRoleResponse struct { Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*ChangeShardRoleResponse) Descriptor
deprecated
func (*ChangeShardRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeShardRoleResponse.ProtoReflect.Descriptor instead.
func (*ChangeShardRoleResponse) GetHeader ¶
func (x *ChangeShardRoleResponse) GetHeader() *commonpb.ResponseHeader
func (*ChangeShardRoleResponse) ProtoMessage ¶
func (*ChangeShardRoleResponse) ProtoMessage()
func (*ChangeShardRoleResponse) ProtoReflect ¶
func (x *ChangeShardRoleResponse) ProtoReflect() protoreflect.Message
func (*ChangeShardRoleResponse) Reset ¶
func (x *ChangeShardRoleResponse) Reset()
func (*ChangeShardRoleResponse) String ¶
func (x *ChangeShardRoleResponse) String() string
type CloseShardRequest ¶
type CloseShardRequest struct { ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // contains filtered or unexported fields }
func (*CloseShardRequest) Descriptor
deprecated
func (*CloseShardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseShardRequest.ProtoReflect.Descriptor instead.
func (*CloseShardRequest) GetShardId ¶
func (x *CloseShardRequest) GetShardId() uint32
func (*CloseShardRequest) ProtoMessage ¶
func (*CloseShardRequest) ProtoMessage()
func (*CloseShardRequest) ProtoReflect ¶
func (x *CloseShardRequest) ProtoReflect() protoreflect.Message
func (*CloseShardRequest) Reset ¶
func (x *CloseShardRequest) Reset()
func (*CloseShardRequest) String ¶
func (x *CloseShardRequest) String() string
type CloseShardResponse ¶
type CloseShardResponse struct { Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*CloseShardResponse) Descriptor
deprecated
func (*CloseShardResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloseShardResponse.ProtoReflect.Descriptor instead.
func (*CloseShardResponse) GetHeader ¶
func (x *CloseShardResponse) GetHeader() *commonpb.ResponseHeader
func (*CloseShardResponse) ProtoMessage ¶
func (*CloseShardResponse) ProtoMessage()
func (*CloseShardResponse) ProtoReflect ¶
func (x *CloseShardResponse) ProtoReflect() protoreflect.Message
func (*CloseShardResponse) Reset ¶
func (x *CloseShardResponse) Reset()
func (*CloseShardResponse) String ¶
func (x *CloseShardResponse) String() string
type CloseTableOnShardRequest ¶
type CloseTableOnShardRequest struct { UpdateShardInfo *UpdateShardInfo `protobuf:"bytes,1,opt,name=update_shard_info,json=updateShardInfo,proto3" json:"update_shard_info,omitempty"` TableInfo *metaservicepb.TableInfo `protobuf:"bytes,2,opt,name=table_info,json=tableInfo,proto3" json:"table_info,omitempty"` // contains filtered or unexported fields }
func (*CloseTableOnShardRequest) Descriptor
deprecated
func (*CloseTableOnShardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseTableOnShardRequest.ProtoReflect.Descriptor instead.
func (*CloseTableOnShardRequest) GetTableInfo ¶
func (x *CloseTableOnShardRequest) GetTableInfo() *metaservicepb.TableInfo
func (*CloseTableOnShardRequest) GetUpdateShardInfo ¶
func (x *CloseTableOnShardRequest) GetUpdateShardInfo() *UpdateShardInfo
func (*CloseTableOnShardRequest) ProtoMessage ¶
func (*CloseTableOnShardRequest) ProtoMessage()
func (*CloseTableOnShardRequest) ProtoReflect ¶
func (x *CloseTableOnShardRequest) ProtoReflect() protoreflect.Message
func (*CloseTableOnShardRequest) Reset ¶
func (x *CloseTableOnShardRequest) Reset()
func (*CloseTableOnShardRequest) String ¶
func (x *CloseTableOnShardRequest) String() string
type CloseTableOnShardResponse ¶
type CloseTableOnShardResponse struct { Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*CloseTableOnShardResponse) Descriptor
deprecated
func (*CloseTableOnShardResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloseTableOnShardResponse.ProtoReflect.Descriptor instead.
func (*CloseTableOnShardResponse) GetHeader ¶
func (x *CloseTableOnShardResponse) GetHeader() *commonpb.ResponseHeader
func (*CloseTableOnShardResponse) ProtoMessage ¶
func (*CloseTableOnShardResponse) ProtoMessage()
func (*CloseTableOnShardResponse) ProtoReflect ¶
func (x *CloseTableOnShardResponse) ProtoReflect() protoreflect.Message
func (*CloseTableOnShardResponse) Reset ¶
func (x *CloseTableOnShardResponse) Reset()
func (*CloseTableOnShardResponse) String ¶
func (x *CloseTableOnShardResponse) String() string
type CreateTableOnShardRequest ¶
type CreateTableOnShardRequest struct { UpdateShardInfo *UpdateShardInfo `protobuf:"bytes,1,opt,name=update_shard_info,json=updateShardInfo,proto3" json:"update_shard_info,omitempty"` TableInfo *metaservicepb.TableInfo `protobuf:"bytes,2,opt,name=table_info,json=tableInfo,proto3" json:"table_info,omitempty"` EncodedSchema []byte `protobuf:"bytes,3,opt,name=encoded_schema,json=encodedSchema,proto3" json:"encoded_schema,omitempty"` Engine string `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"` CreateIfNotExist bool `protobuf:"varint,5,opt,name=create_if_not_exist,json=createIfNotExist,proto3" json:"create_if_not_exist,omitempty"` Options map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateTableOnShardRequest) Descriptor
deprecated
func (*CreateTableOnShardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTableOnShardRequest.ProtoReflect.Descriptor instead.
func (*CreateTableOnShardRequest) GetCreateIfNotExist ¶
func (x *CreateTableOnShardRequest) GetCreateIfNotExist() bool
func (*CreateTableOnShardRequest) GetEncodedSchema ¶
func (x *CreateTableOnShardRequest) GetEncodedSchema() []byte
func (*CreateTableOnShardRequest) GetEngine ¶
func (x *CreateTableOnShardRequest) GetEngine() string
func (*CreateTableOnShardRequest) GetOptions ¶
func (x *CreateTableOnShardRequest) GetOptions() map[string]string
func (*CreateTableOnShardRequest) GetTableInfo ¶
func (x *CreateTableOnShardRequest) GetTableInfo() *metaservicepb.TableInfo
func (*CreateTableOnShardRequest) GetUpdateShardInfo ¶
func (x *CreateTableOnShardRequest) GetUpdateShardInfo() *UpdateShardInfo
func (*CreateTableOnShardRequest) ProtoMessage ¶
func (*CreateTableOnShardRequest) ProtoMessage()
func (*CreateTableOnShardRequest) ProtoReflect ¶
func (x *CreateTableOnShardRequest) ProtoReflect() protoreflect.Message
func (*CreateTableOnShardRequest) Reset ¶
func (x *CreateTableOnShardRequest) Reset()
func (*CreateTableOnShardRequest) String ¶
func (x *CreateTableOnShardRequest) String() string
type CreateTableOnShardResponse ¶
type CreateTableOnShardResponse struct { Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` LatestShardVersion uint64 `protobuf:"varint,2,opt,name=latest_shard_version,json=latestShardVersion,proto3" json:"latest_shard_version,omitempty"` // contains filtered or unexported fields }
func (*CreateTableOnShardResponse) Descriptor
deprecated
func (*CreateTableOnShardResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTableOnShardResponse.ProtoReflect.Descriptor instead.
func (*CreateTableOnShardResponse) GetHeader ¶
func (x *CreateTableOnShardResponse) GetHeader() *commonpb.ResponseHeader
func (*CreateTableOnShardResponse) GetLatestShardVersion ¶
func (x *CreateTableOnShardResponse) GetLatestShardVersion() uint64
func (*CreateTableOnShardResponse) ProtoMessage ¶
func (*CreateTableOnShardResponse) ProtoMessage()
func (*CreateTableOnShardResponse) ProtoReflect ¶
func (x *CreateTableOnShardResponse) ProtoReflect() protoreflect.Message
func (*CreateTableOnShardResponse) Reset ¶
func (x *CreateTableOnShardResponse) Reset()
func (*CreateTableOnShardResponse) String ¶
func (x *CreateTableOnShardResponse) String() string
type DropTableOnShardRequest ¶
type DropTableOnShardRequest struct { UpdateShardInfo *UpdateShardInfo `protobuf:"bytes,1,opt,name=update_shard_info,json=updateShardInfo,proto3" json:"update_shard_info,omitempty"` TableInfo *metaservicepb.TableInfo `protobuf:"bytes,2,opt,name=table_info,json=tableInfo,proto3" json:"table_info,omitempty"` // contains filtered or unexported fields }
func (*DropTableOnShardRequest) Descriptor
deprecated
func (*DropTableOnShardRequest) Descriptor() ([]byte, []int)
Deprecated: Use DropTableOnShardRequest.ProtoReflect.Descriptor instead.
func (*DropTableOnShardRequest) GetTableInfo ¶
func (x *DropTableOnShardRequest) GetTableInfo() *metaservicepb.TableInfo
func (*DropTableOnShardRequest) GetUpdateShardInfo ¶
func (x *DropTableOnShardRequest) GetUpdateShardInfo() *UpdateShardInfo
func (*DropTableOnShardRequest) ProtoMessage ¶
func (*DropTableOnShardRequest) ProtoMessage()
func (*DropTableOnShardRequest) ProtoReflect ¶
func (x *DropTableOnShardRequest) ProtoReflect() protoreflect.Message
func (*DropTableOnShardRequest) Reset ¶
func (x *DropTableOnShardRequest) Reset()
func (*DropTableOnShardRequest) String ¶
func (x *DropTableOnShardRequest) String() string
type DropTableOnShardResponse ¶
type DropTableOnShardResponse struct { Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` LatestShardVersion uint64 `protobuf:"varint,2,opt,name=latest_shard_version,json=latestShardVersion,proto3" json:"latest_shard_version,omitempty"` // contains filtered or unexported fields }
func (*DropTableOnShardResponse) Descriptor
deprecated
func (*DropTableOnShardResponse) Descriptor() ([]byte, []int)
Deprecated: Use DropTableOnShardResponse.ProtoReflect.Descriptor instead.
func (*DropTableOnShardResponse) GetHeader ¶
func (x *DropTableOnShardResponse) GetHeader() *commonpb.ResponseHeader
func (*DropTableOnShardResponse) GetLatestShardVersion ¶
func (x *DropTableOnShardResponse) GetLatestShardVersion() uint64
func (*DropTableOnShardResponse) ProtoMessage ¶
func (*DropTableOnShardResponse) ProtoMessage()
func (*DropTableOnShardResponse) ProtoReflect ¶
func (x *DropTableOnShardResponse) ProtoReflect() protoreflect.Message
func (*DropTableOnShardResponse) Reset ¶
func (x *DropTableOnShardResponse) Reset()
func (*DropTableOnShardResponse) String ¶
func (x *DropTableOnShardResponse) String() string
type MergeShardsRequest ¶
type MergeShardsRequest struct {
// contains filtered or unexported fields
}
func (*MergeShardsRequest) Descriptor
deprecated
func (*MergeShardsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MergeShardsRequest.ProtoReflect.Descriptor instead.
func (*MergeShardsRequest) ProtoMessage ¶
func (*MergeShardsRequest) ProtoMessage()
func (*MergeShardsRequest) ProtoReflect ¶
func (x *MergeShardsRequest) ProtoReflect() protoreflect.Message
func (*MergeShardsRequest) Reset ¶
func (x *MergeShardsRequest) Reset()
func (*MergeShardsRequest) String ¶
func (x *MergeShardsRequest) String() string
type MergeShardsResponse ¶
type MergeShardsResponse struct { Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*MergeShardsResponse) Descriptor
deprecated
func (*MergeShardsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MergeShardsResponse.ProtoReflect.Descriptor instead.
func (*MergeShardsResponse) GetHeader ¶
func (x *MergeShardsResponse) GetHeader() *commonpb.ResponseHeader
func (*MergeShardsResponse) ProtoMessage ¶
func (*MergeShardsResponse) ProtoMessage()
func (*MergeShardsResponse) ProtoReflect ¶
func (x *MergeShardsResponse) ProtoReflect() protoreflect.Message
func (*MergeShardsResponse) Reset ¶
func (x *MergeShardsResponse) Reset()
func (*MergeShardsResponse) String ¶
func (x *MergeShardsResponse) String() string
type MetaEventServiceClient ¶
type MetaEventServiceClient interface { OpenShard(ctx context.Context, in *OpenShardRequest, opts ...grpc.CallOption) (*OpenShardResponse, error) CloseShard(ctx context.Context, in *CloseShardRequest, opts ...grpc.CallOption) (*CloseShardResponse, error) CreateTableOnShard(ctx context.Context, in *CreateTableOnShardRequest, opts ...grpc.CallOption) (*CreateTableOnShardResponse, error) DropTableOnShard(ctx context.Context, in *DropTableOnShardRequest, opts ...grpc.CallOption) (*DropTableOnShardResponse, error) OpenTableOnShard(ctx context.Context, in *OpenTableOnShardRequest, opts ...grpc.CallOption) (*OpenTableOnShardResponse, error) CloseTableOnShard(ctx context.Context, in *CloseTableOnShardRequest, opts ...grpc.CallOption) (*CloseTableOnShardResponse, error) SplitShard(ctx context.Context, in *SplitShardRequest, opts ...grpc.CallOption) (*SplitShardResponse, error) MergeShards(ctx context.Context, in *MergeShardsRequest, opts ...grpc.CallOption) (*MergeShardsResponse, error) ChangeShardRole(ctx context.Context, in *ChangeShardRoleRequest, opts ...grpc.CallOption) (*ChangeShardRoleResponse, error) }
MetaEventServiceClient is the client API for MetaEventService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMetaEventServiceClient ¶
func NewMetaEventServiceClient(cc grpc.ClientConnInterface) MetaEventServiceClient
type MetaEventServiceServer ¶
type MetaEventServiceServer interface { OpenShard(context.Context, *OpenShardRequest) (*OpenShardResponse, error) CloseShard(context.Context, *CloseShardRequest) (*CloseShardResponse, error) CreateTableOnShard(context.Context, *CreateTableOnShardRequest) (*CreateTableOnShardResponse, error) DropTableOnShard(context.Context, *DropTableOnShardRequest) (*DropTableOnShardResponse, error) OpenTableOnShard(context.Context, *OpenTableOnShardRequest) (*OpenTableOnShardResponse, error) CloseTableOnShard(context.Context, *CloseTableOnShardRequest) (*CloseTableOnShardResponse, error) SplitShard(context.Context, *SplitShardRequest) (*SplitShardResponse, error) MergeShards(context.Context, *MergeShardsRequest) (*MergeShardsResponse, error) ChangeShardRole(context.Context, *ChangeShardRoleRequest) (*ChangeShardRoleResponse, error) // contains filtered or unexported methods }
MetaEventServiceServer is the server API for MetaEventService service. All implementations must embed UnimplementedMetaEventServiceServer for forward compatibility
type OpenShardRequest ¶
type OpenShardRequest struct { Shard *metaservicepb.ShardInfo `protobuf:"bytes,1,opt,name=shard,proto3" json:"shard,omitempty"` // contains filtered or unexported fields }
func (*OpenShardRequest) Descriptor
deprecated
func (*OpenShardRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenShardRequest.ProtoReflect.Descriptor instead.
func (*OpenShardRequest) GetShard ¶
func (x *OpenShardRequest) GetShard() *metaservicepb.ShardInfo
func (*OpenShardRequest) ProtoMessage ¶
func (*OpenShardRequest) ProtoMessage()
func (*OpenShardRequest) ProtoReflect ¶
func (x *OpenShardRequest) ProtoReflect() protoreflect.Message
func (*OpenShardRequest) Reset ¶
func (x *OpenShardRequest) Reset()
func (*OpenShardRequest) String ¶
func (x *OpenShardRequest) String() string
type OpenShardResponse ¶
type OpenShardResponse struct { Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*OpenShardResponse) Descriptor
deprecated
func (*OpenShardResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpenShardResponse.ProtoReflect.Descriptor instead.
func (*OpenShardResponse) GetHeader ¶
func (x *OpenShardResponse) GetHeader() *commonpb.ResponseHeader
func (*OpenShardResponse) ProtoMessage ¶
func (*OpenShardResponse) ProtoMessage()
func (*OpenShardResponse) ProtoReflect ¶
func (x *OpenShardResponse) ProtoReflect() protoreflect.Message
func (*OpenShardResponse) Reset ¶
func (x *OpenShardResponse) Reset()
func (*OpenShardResponse) String ¶
func (x *OpenShardResponse) String() string
type OpenTableOnShardRequest ¶
type OpenTableOnShardRequest struct { UpdateShardInfo *UpdateShardInfo `protobuf:"bytes,1,opt,name=update_shard_info,json=updateShardInfo,proto3" json:"update_shard_info,omitempty"` TableInfo *metaservicepb.TableInfo `protobuf:"bytes,2,opt,name=table_info,json=tableInfo,proto3" json:"table_info,omitempty"` // contains filtered or unexported fields }
func (*OpenTableOnShardRequest) Descriptor
deprecated
func (*OpenTableOnShardRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenTableOnShardRequest.ProtoReflect.Descriptor instead.
func (*OpenTableOnShardRequest) GetTableInfo ¶
func (x *OpenTableOnShardRequest) GetTableInfo() *metaservicepb.TableInfo
func (*OpenTableOnShardRequest) GetUpdateShardInfo ¶
func (x *OpenTableOnShardRequest) GetUpdateShardInfo() *UpdateShardInfo
func (*OpenTableOnShardRequest) ProtoMessage ¶
func (*OpenTableOnShardRequest) ProtoMessage()
func (*OpenTableOnShardRequest) ProtoReflect ¶
func (x *OpenTableOnShardRequest) ProtoReflect() protoreflect.Message
func (*OpenTableOnShardRequest) Reset ¶
func (x *OpenTableOnShardRequest) Reset()
func (*OpenTableOnShardRequest) String ¶
func (x *OpenTableOnShardRequest) String() string
type OpenTableOnShardResponse ¶
type OpenTableOnShardResponse struct { Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*OpenTableOnShardResponse) Descriptor
deprecated
func (*OpenTableOnShardResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpenTableOnShardResponse.ProtoReflect.Descriptor instead.
func (*OpenTableOnShardResponse) GetHeader ¶
func (x *OpenTableOnShardResponse) GetHeader() *commonpb.ResponseHeader
func (*OpenTableOnShardResponse) ProtoMessage ¶
func (*OpenTableOnShardResponse) ProtoMessage()
func (*OpenTableOnShardResponse) ProtoReflect ¶
func (x *OpenTableOnShardResponse) ProtoReflect() protoreflect.Message
func (*OpenTableOnShardResponse) Reset ¶
func (x *OpenTableOnShardResponse) Reset()
func (*OpenTableOnShardResponse) String ¶
func (x *OpenTableOnShardResponse) String() string
type ShardLockValue ¶
type ShardLockValue struct { NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // contains filtered or unexported fields }
func (*ShardLockValue) Descriptor
deprecated
func (*ShardLockValue) Descriptor() ([]byte, []int)
Deprecated: Use ShardLockValue.ProtoReflect.Descriptor instead.
func (*ShardLockValue) GetNodeName ¶
func (x *ShardLockValue) GetNodeName() string
func (*ShardLockValue) ProtoMessage ¶
func (*ShardLockValue) ProtoMessage()
func (*ShardLockValue) ProtoReflect ¶
func (x *ShardLockValue) ProtoReflect() protoreflect.Message
func (*ShardLockValue) Reset ¶
func (x *ShardLockValue) Reset()
func (*ShardLockValue) String ¶
func (x *ShardLockValue) String() string
type SplitShardRequest ¶
type SplitShardRequest struct {
// contains filtered or unexported fields
}
func (*SplitShardRequest) Descriptor
deprecated
func (*SplitShardRequest) Descriptor() ([]byte, []int)
Deprecated: Use SplitShardRequest.ProtoReflect.Descriptor instead.
func (*SplitShardRequest) ProtoMessage ¶
func (*SplitShardRequest) ProtoMessage()
func (*SplitShardRequest) ProtoReflect ¶
func (x *SplitShardRequest) ProtoReflect() protoreflect.Message
func (*SplitShardRequest) Reset ¶
func (x *SplitShardRequest) Reset()
func (*SplitShardRequest) String ¶
func (x *SplitShardRequest) String() string
type SplitShardResponse ¶
type SplitShardResponse struct { Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*SplitShardResponse) Descriptor
deprecated
func (*SplitShardResponse) Descriptor() ([]byte, []int)
Deprecated: Use SplitShardResponse.ProtoReflect.Descriptor instead.
func (*SplitShardResponse) GetHeader ¶
func (x *SplitShardResponse) GetHeader() *commonpb.ResponseHeader
func (*SplitShardResponse) ProtoMessage ¶
func (*SplitShardResponse) ProtoMessage()
func (*SplitShardResponse) ProtoReflect ¶
func (x *SplitShardResponse) ProtoReflect() protoreflect.Message
func (*SplitShardResponse) Reset ¶
func (x *SplitShardResponse) Reset()
func (*SplitShardResponse) String ¶
func (x *SplitShardResponse) String() string
type UnimplementedMetaEventServiceServer ¶
type UnimplementedMetaEventServiceServer struct { }
UnimplementedMetaEventServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMetaEventServiceServer) ChangeShardRole ¶
func (UnimplementedMetaEventServiceServer) ChangeShardRole(context.Context, *ChangeShardRoleRequest) (*ChangeShardRoleResponse, error)
func (UnimplementedMetaEventServiceServer) CloseShard ¶
func (UnimplementedMetaEventServiceServer) CloseShard(context.Context, *CloseShardRequest) (*CloseShardResponse, error)
func (UnimplementedMetaEventServiceServer) CloseTableOnShard ¶
func (UnimplementedMetaEventServiceServer) CloseTableOnShard(context.Context, *CloseTableOnShardRequest) (*CloseTableOnShardResponse, error)
func (UnimplementedMetaEventServiceServer) CreateTableOnShard ¶
func (UnimplementedMetaEventServiceServer) CreateTableOnShard(context.Context, *CreateTableOnShardRequest) (*CreateTableOnShardResponse, error)
func (UnimplementedMetaEventServiceServer) DropTableOnShard ¶
func (UnimplementedMetaEventServiceServer) DropTableOnShard(context.Context, *DropTableOnShardRequest) (*DropTableOnShardResponse, error)
func (UnimplementedMetaEventServiceServer) MergeShards ¶
func (UnimplementedMetaEventServiceServer) MergeShards(context.Context, *MergeShardsRequest) (*MergeShardsResponse, error)
func (UnimplementedMetaEventServiceServer) OpenShard ¶
func (UnimplementedMetaEventServiceServer) OpenShard(context.Context, *OpenShardRequest) (*OpenShardResponse, error)
func (UnimplementedMetaEventServiceServer) OpenTableOnShard ¶
func (UnimplementedMetaEventServiceServer) OpenTableOnShard(context.Context, *OpenTableOnShardRequest) (*OpenTableOnShardResponse, error)
func (UnimplementedMetaEventServiceServer) SplitShard ¶
func (UnimplementedMetaEventServiceServer) SplitShard(context.Context, *SplitShardRequest) (*SplitShardResponse, error)
type UnsafeMetaEventServiceServer ¶
type UnsafeMetaEventServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMetaEventServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetaEventServiceServer will result in compilation errors.
type UpdateShardInfo ¶
type UpdateShardInfo struct { CurrShardInfo *metaservicepb.ShardInfo `protobuf:"bytes,1,opt,name=curr_shard_info,json=currShardInfo,proto3" json:"curr_shard_info,omitempty"` // contains filtered or unexported fields }
func (*UpdateShardInfo) Descriptor
deprecated
func (*UpdateShardInfo) Descriptor() ([]byte, []int)
Deprecated: Use UpdateShardInfo.ProtoReflect.Descriptor instead.
func (*UpdateShardInfo) GetCurrShardInfo ¶
func (x *UpdateShardInfo) GetCurrShardInfo() *metaservicepb.ShardInfo
func (*UpdateShardInfo) ProtoMessage ¶
func (*UpdateShardInfo) ProtoMessage()
func (*UpdateShardInfo) ProtoReflect ¶
func (x *UpdateShardInfo) ProtoReflect() protoreflect.Message
func (*UpdateShardInfo) Reset ¶
func (x *UpdateShardInfo) Reset()
func (*UpdateShardInfo) String ¶
func (x *UpdateShardInfo) String() string