mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for cache (#10144)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/10168/head
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…
Reference in New Issue