未验证 提交 4a6a7102 编写于 作者: C congqixia 提交者: GitHub

[skip ci] Add Comment for types - Datacoord GetCollectionStatistics (#9581)

Signed-off-by: NCongqi Xia <congqi.xia@zilliz.com>
上级 5865ead9
......@@ -142,6 +142,15 @@ type DataCoord interface {
// GetSegmentInfoChannel DEPRECATED
// legacy api to get SegmentInfo Channel name
GetSegmentInfoChannel(ctx context.Context) (*milvuspb.StringResponse, error)
// GetCollectionStatistics requests collection statistics
//
// ctx is the context to control request deadline and cancellation
// req contains the collection id to query
//
// response struct `GetCollectionStatisticsResponse` contains the key-value list fields returning related data
// only row count for now
// error is returned only when some communication issue occurs
GetCollectionStatistics(ctx context.Context, req *datapb.GetCollectionStatisticsRequest) (*datapb.GetCollectionStatisticsResponse, error)
GetPartitionStatistics(ctx context.Context, req *datapb.GetPartitionStatisticsRequest) (*datapb.GetPartitionStatisticsResponse, error)
GetSegmentInfo(ctx context.Context, req *datapb.GetSegmentInfoRequest) (*datapb.GetSegmentInfoResponse, error)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册