mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for cache (#10144)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
7602962341
commit
e529012ab2
@ -31,7 +31,9 @@ import (
|
||||
)
|
||||
|
||||
type Cache interface {
|
||||
// GetCollectionID get collection's id by name.
|
||||
GetCollectionID(ctx context.Context, collectionName string) (typeutil.UniqueID, error)
|
||||
|
||||
GetCollectionInfo(ctx context.Context, collectionName string) (*collectionInfo, error)
|
||||
GetPartitionID(ctx context.Context, collectionName string, partitionName string) (typeutil.UniqueID, error)
|
||||
GetPartitions(ctx context.Context, collectionName string) (map[string]typeutil.UniqueID, error)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user