mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 10:08:42 +08:00
[skip ci] Add Comment for types - Datacoord GetCollectionStatistics (#9581)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
5865ead978
commit
4a6a71020e
@ -142,6 +142,15 @@ type DataCoord interface {
|
|||||||
// GetSegmentInfoChannel DEPRECATED
|
// GetSegmentInfoChannel DEPRECATED
|
||||||
// legacy api to get SegmentInfo Channel name
|
// legacy api to get SegmentInfo Channel name
|
||||||
GetSegmentInfoChannel(ctx context.Context) (*milvuspb.StringResponse, error)
|
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)
|
GetCollectionStatistics(ctx context.Context, req *datapb.GetCollectionStatisticsRequest) (*datapb.GetCollectionStatisticsResponse, error)
|
||||||
GetPartitionStatistics(ctx context.Context, req *datapb.GetPartitionStatisticsRequest) (*datapb.GetPartitionStatisticsResponse, error)
|
GetPartitionStatistics(ctx context.Context, req *datapb.GetPartitionStatisticsRequest) (*datapb.GetPartitionStatisticsResponse, error)
|
||||||
GetSegmentInfo(ctx context.Context, req *datapb.GetSegmentInfoRequest) (*datapb.GetSegmentInfoResponse, error)
|
GetSegmentInfo(ctx context.Context, req *datapb.GetSegmentInfoRequest) (*datapb.GetSegmentInfoResponse, error)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user