Skip to main content

init_thread_cloned_from_knowdb

Function init_thread_cloned_from_knowdb 

Source
pub fn init_thread_cloned_from_knowdb(
    root: &Path,
    knowdb_conf: &Path,
    authority_uri: &str,
    dict: &EnvDict,
) -> KnowledgeResult<()>
Expand description

设置基于 V2 KnowDB 的全局 Provider:

  • 构建权威库文件(CSV → SQLite),并启用线程克隆 Provider;
  • 同时设置表名白名单(仅允许访问配置中声明的表)。