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

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/14853/head
shaoyue 2022-01-05 13:56:05 +08:00 committed by GitHub
parent c5e3efa874
commit bb7d0fb2ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,8 @@ type UniqueID = typeutil.UniqueID
const envPrefix string = "milvus" const envPrefix string = "milvus"
// Base abstracts BaseTable
// TODO: it's never used, consider to substitute BaseTable or to remove it
type Base interface { type Base interface {
Load(key string) (string, error) Load(key string) (string, error)
LoadRange(key, endKey string, limit int) ([]string, []string, error) LoadRange(key, endKey string, limit int) ([]string, []string, error)
@ -45,6 +47,7 @@ type Base interface {
Init() Init()
} }
// BaseTable the basics of paramtable
type BaseTable struct { type BaseTable struct {
params *memkv.MemoryKV params *memkv.MemoryKV
configDir string configDir string