From bb7d0fb2ad7dbcf2904f1e6a409bd48b639d6583 Mon Sep 17 00:00:00 2001 From: shaoyue Date: Wed, 5 Jan 2022 13:56:05 +0800 Subject: [PATCH] [skip e2e] Add comment for base table (#14804) Signed-off-by: shaoyue.chen --- internal/util/paramtable/base_table.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/util/paramtable/base_table.go b/internal/util/paramtable/base_table.go index aa934cb8f..733027846 100644 --- a/internal/util/paramtable/base_table.go +++ b/internal/util/paramtable/base_table.go @@ -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 -- GitLab