mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for base table (#14804)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/14853/head
parent
c5e3efa874
commit
bb7d0fb2ad
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue