mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
[skip ci]Add comment for GetCollectionStatistics (#10393)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
dcd6c1f2b2
commit
e98dee296f
@ -356,6 +356,14 @@ func (c *Client) GetInsertBinlogPaths(ctx context.Context, req *datapb.GetInsert
|
||||
return ret.(*datapb.GetInsertBinlogPathsResponse), err
|
||||
}
|
||||
|
||||
// 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
|
||||
func (c *Client) GetCollectionStatistics(ctx context.Context, req *datapb.GetCollectionStatisticsRequest) (*datapb.GetCollectionStatisticsResponse, error) {
|
||||
ret, err := c.recall(func() (interface{}, error) {
|
||||
client, err := c.getGrpcClient()
|
||||
|
Loading…
Reference in New Issue
Block a user