Documentation ¶
Index ¶
- Variables
- func NewClient(ctx context.Context) (types.QueryCoordClient, error)
- type Client
- func (c *Client) ActivateChecker(ctx context.Context, req *querypb.ActivateCheckerRequest, ...) (*commonpb.Status, error)
- func (c *Client) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error)
- func (c *Client) CheckQueryNodeDistribution(ctx context.Context, req *querypb.CheckQueryNodeDistributionRequest, ...) (*commonpb.Status, error)
- func (c *Client) Close() error
- func (c *Client) CreateResourceGroup(ctx context.Context, req *milvuspb.CreateResourceGroupRequest, ...) (*commonpb.Status, error)
- func (c *Client) DeactivateChecker(ctx context.Context, req *querypb.DeactivateCheckerRequest, ...) (*commonpb.Status, error)
- func (c *Client) DescribeResourceGroup(ctx context.Context, req *querypb.DescribeResourceGroupRequest, ...) (*querypb.DescribeResourceGroupResponse, error)
- func (c *Client) DropResourceGroup(ctx context.Context, req *milvuspb.DropResourceGroupRequest, ...) (*commonpb.Status, error)
- func (c *Client) GetComponentStates(ctx context.Context, req *milvuspb.GetComponentStatesRequest, ...) (*milvuspb.ComponentStates, error)
- func (c *Client) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
- func (c *Client) GetPartitionStates(ctx context.Context, req *querypb.GetPartitionStatesRequest, ...) (*querypb.GetPartitionStatesResponse, error)
- func (c *Client) GetQueryNodeDistribution(ctx context.Context, req *querypb.GetQueryNodeDistributionRequest, ...) (*querypb.GetQueryNodeDistributionResponse, error)
- func (c *Client) GetReplicas(ctx context.Context, req *milvuspb.GetReplicasRequest, opts ...grpc.CallOption) (*milvuspb.GetReplicasResponse, error)
- func (c *Client) GetSegmentInfo(ctx context.Context, req *querypb.GetSegmentInfoRequest, ...) (*querypb.GetSegmentInfoResponse, error)
- func (c *Client) GetShardLeaders(ctx context.Context, req *querypb.GetShardLeadersRequest, ...) (*querypb.GetShardLeadersResponse, error)
- func (c *Client) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest, ...) (*milvuspb.StringResponse, error)
- func (c *Client) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest, ...) (*milvuspb.StringResponse, error)
- func (c *Client) ListCheckers(ctx context.Context, req *querypb.ListCheckersRequest, opts ...grpc.CallOption) (*querypb.ListCheckersResponse, error)
- func (c *Client) ListQueryNode(ctx context.Context, req *querypb.ListQueryNodeRequest, ...) (*querypb.ListQueryNodeResponse, error)
- func (c *Client) ListResourceGroups(ctx context.Context, req *milvuspb.ListResourceGroupsRequest, ...) (*milvuspb.ListResourceGroupsResponse, error)
- func (c *Client) LoadBalance(ctx context.Context, req *querypb.LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
- func (c *Client) LoadCollection(ctx context.Context, req *querypb.LoadCollectionRequest, ...) (*commonpb.Status, error)
- func (c *Client) LoadPartitions(ctx context.Context, req *querypb.LoadPartitionsRequest, ...) (*commonpb.Status, error)
- func (c *Client) ReleaseCollection(ctx context.Context, req *querypb.ReleaseCollectionRequest, ...) (*commonpb.Status, error)
- func (c *Client) ReleasePartitions(ctx context.Context, req *querypb.ReleasePartitionsRequest, ...) (*commonpb.Status, error)
- func (c *Client) ResumeBalance(ctx context.Context, req *querypb.ResumeBalanceRequest, ...) (*commonpb.Status, error)
- func (c *Client) ResumeNode(ctx context.Context, req *querypb.ResumeNodeRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
- func (c *Client) ShowCollections(ctx context.Context, req *querypb.ShowCollectionsRequest, ...) (*querypb.ShowCollectionsResponse, error)
- func (c *Client) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest, ...) (*internalpb.ShowConfigurationsResponse, error)
- func (c *Client) ShowPartitions(ctx context.Context, req *querypb.ShowPartitionsRequest, ...) (*querypb.ShowPartitionsResponse, error)
- func (c *Client) SuspendBalance(ctx context.Context, req *querypb.SuspendBalanceRequest, ...) (*commonpb.Status, error)
- func (c *Client) SuspendNode(ctx context.Context, req *querypb.SuspendNodeRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
- func (c *Client) SyncNewCreatedPartition(ctx context.Context, req *querypb.SyncNewCreatedPartitionRequest, ...) (*commonpb.Status, error)
- func (c *Client) TransferChannel(ctx context.Context, req *querypb.TransferChannelRequest, ...) (*commonpb.Status, error)
- func (c *Client) TransferNode(ctx context.Context, req *milvuspb.TransferNodeRequest, ...) (*commonpb.Status, error)
- func (c *Client) TransferReplica(ctx context.Context, req *querypb.TransferReplicaRequest, ...) (*commonpb.Status, error)
- func (c *Client) TransferSegment(ctx context.Context, req *querypb.TransferSegmentRequest, ...) (*commonpb.Status, error)
- func (c *Client) UpdateLoadConfig(ctx context.Context, req *querypb.UpdateLoadConfigRequest, ...) (*commonpb.Status, error)
- func (c *Client) UpdateResourceGroups(ctx context.Context, req *querypb.UpdateResourceGroupsRequest, ...) (*commonpb.Status, error)
Constants ¶
This section is empty.
Variables ¶
var Params *paramtable.ComponentParam = paramtable.Get()
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the grpc client of QueryCoord.
func (*Client) ActivateChecker ¶
func (c *Client) ActivateChecker(ctx context.Context, req *querypb.ActivateCheckerRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) CheckHealth ¶
func (c *Client) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error)
func (*Client) CheckQueryNodeDistribution ¶
func (c *Client) CheckQueryNodeDistribution(ctx context.Context, req *querypb.CheckQueryNodeDistributionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) CreateResourceGroup ¶
func (c *Client) CreateResourceGroup(ctx context.Context, req *milvuspb.CreateResourceGroupRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) DeactivateChecker ¶
func (c *Client) DeactivateChecker(ctx context.Context, req *querypb.DeactivateCheckerRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) DescribeResourceGroup ¶
func (c *Client) DescribeResourceGroup(ctx context.Context, req *querypb.DescribeResourceGroupRequest, opts ...grpc.CallOption) (*querypb.DescribeResourceGroupResponse, error)
func (*Client) DropResourceGroup ¶
func (c *Client) DropResourceGroup(ctx context.Context, req *milvuspb.DropResourceGroupRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) GetComponentStates ¶
func (c *Client) GetComponentStates(ctx context.Context, req *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error)
GetComponentStates gets the component states of QueryCoord.
func (*Client) GetMetrics ¶
func (c *Client) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
GetMetrics gets the metrics information of QueryCoord.
func (*Client) GetPartitionStates ¶
func (c *Client) GetPartitionStates(ctx context.Context, req *querypb.GetPartitionStatesRequest, opts ...grpc.CallOption) (*querypb.GetPartitionStatesResponse, error)
GetPartitionStates gets the states of the specified partition.
func (*Client) GetQueryNodeDistribution ¶
func (c *Client) GetQueryNodeDistribution(ctx context.Context, req *querypb.GetQueryNodeDistributionRequest, opts ...grpc.CallOption) (*querypb.GetQueryNodeDistributionResponse, error)
func (*Client) GetReplicas ¶
func (c *Client) GetReplicas(ctx context.Context, req *milvuspb.GetReplicasRequest, opts ...grpc.CallOption) (*milvuspb.GetReplicasResponse, error)
GetReplicas gets the replicas of a certain collection.
func (*Client) GetSegmentInfo ¶
func (c *Client) GetSegmentInfo(ctx context.Context, req *querypb.GetSegmentInfoRequest, opts ...grpc.CallOption) (*querypb.GetSegmentInfoResponse, error)
GetSegmentInfo gets the information of the specified segment from QueryCoord.
func (*Client) GetShardLeaders ¶
func (c *Client) GetShardLeaders(ctx context.Context, req *querypb.GetShardLeadersRequest, opts ...grpc.CallOption) (*querypb.GetShardLeadersResponse, error)
GetShardLeaders gets the shard leaders of a certain collection.
func (*Client) GetStatisticsChannel ¶
func (c *Client) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
GetStatisticsChannel gets the statistics channel of QueryCoord.
func (*Client) GetTimeTickChannel ¶
func (c *Client) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
GetTimeTickChannel gets the time tick channel of QueryCoord.
func (*Client) ListCheckers ¶
func (c *Client) ListCheckers(ctx context.Context, req *querypb.ListCheckersRequest, opts ...grpc.CallOption) (*querypb.ListCheckersResponse, error)
func (*Client) ListQueryNode ¶
func (c *Client) ListQueryNode(ctx context.Context, req *querypb.ListQueryNodeRequest, opts ...grpc.CallOption) (*querypb.ListQueryNodeResponse, error)
func (*Client) ListResourceGroups ¶
func (c *Client) ListResourceGroups(ctx context.Context, req *milvuspb.ListResourceGroupsRequest, opts ...grpc.CallOption) (*milvuspb.ListResourceGroupsResponse, error)
func (*Client) LoadBalance ¶
func (c *Client) LoadBalance(ctx context.Context, req *querypb.LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
LoadBalance migrate the sealed segments on the source node to the dst nodes.
func (*Client) LoadCollection ¶
func (c *Client) LoadCollection(ctx context.Context, req *querypb.LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
LoadCollection loads the data of the specified collections in the QueryCoord.
func (*Client) LoadPartitions ¶
func (c *Client) LoadPartitions(ctx context.Context, req *querypb.LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
LoadPartitions loads the data of the specified partitions in the QueryCoord.
func (*Client) ReleaseCollection ¶
func (c *Client) ReleaseCollection(ctx context.Context, req *querypb.ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
ReleaseCollection release the data of the specified collections in the QueryCoord.
func (*Client) ReleasePartitions ¶
func (c *Client) ReleasePartitions(ctx context.Context, req *querypb.ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
ReleasePartitions release the data of the specified partitions in the QueryCoord.
func (*Client) ResumeBalance ¶
func (c *Client) ResumeBalance(ctx context.Context, req *querypb.ResumeBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) ResumeNode ¶
func (c *Client) ResumeNode(ctx context.Context, req *querypb.ResumeNodeRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) ShowCollections ¶
func (c *Client) ShowCollections(ctx context.Context, req *querypb.ShowCollectionsRequest, opts ...grpc.CallOption) (*querypb.ShowCollectionsResponse, error)
ShowCollections shows the collections in the QueryCoord.
func (*Client) ShowConfigurations ¶
func (c *Client) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error)
ShowConfigurations gets specified configurations para of QueryCoord
func (*Client) ShowPartitions ¶
func (c *Client) ShowPartitions(ctx context.Context, req *querypb.ShowPartitionsRequest, opts ...grpc.CallOption) (*querypb.ShowPartitionsResponse, error)
ShowPartitions shows the partitions in the QueryCoord.
func (*Client) SuspendBalance ¶
func (c *Client) SuspendBalance(ctx context.Context, req *querypb.SuspendBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) SuspendNode ¶
func (c *Client) SuspendNode(ctx context.Context, req *querypb.SuspendNodeRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) SyncNewCreatedPartition ¶
func (c *Client) SyncNewCreatedPartition(ctx context.Context, req *querypb.SyncNewCreatedPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
SyncNewCreatedPartition notifies QueryCoord to sync new created partition if collection is loaded.
func (*Client) TransferChannel ¶
func (c *Client) TransferChannel(ctx context.Context, req *querypb.TransferChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) TransferNode ¶
func (c *Client) TransferNode(ctx context.Context, req *milvuspb.TransferNodeRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) TransferReplica ¶
func (c *Client) TransferReplica(ctx context.Context, req *querypb.TransferReplicaRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) TransferSegment ¶
func (c *Client) TransferSegment(ctx context.Context, req *querypb.TransferSegmentRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) UpdateLoadConfig ¶
func (c *Client) UpdateLoadConfig(ctx context.Context, req *querypb.UpdateLoadConfigRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) UpdateResourceGroups ¶
func (c *Client) UpdateResourceGroups(ctx context.Context, req *querypb.UpdateResourceGroupsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)