未验证 提交 bb7d0fb2 编写于 作者: S shaoyue 提交者: GitHub

[skip e2e] Add comment for base table (#14804)

Signed-off-by: Nshaoyue.chen <shaoyue.chen@zilliz.com>
上级 c5e3efa8
......@@ -36,6 +36,8 @@ type UniqueID = typeutil.UniqueID
const envPrefix string = "milvus"
// Base abstracts BaseTable
// TODO: it's never used, consider to substitute BaseTable or to remove it
type Base interface {
Load(key string) (string, error)
LoadRange(key, endKey string, limit int) ([]string, []string, error)
......@@ -45,6 +47,7 @@ type Base interface {
Init()
}
// BaseTable the basics of paramtable
type BaseTable struct {
params *memkv.MemoryKV
configDir string
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册