SimpleIndexStore
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:76
new SimpleIndexStore(
kvStore?):SimpleIndexStore
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:79
SimpleIndexStore
addIndexStruct()
Section titled “addIndexStruct()”addIndexStruct(
indexStruct):Promise<void>
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:44
indexStruct
Section titled “indexStruct”Promise<void>
deleteIndexStruct()
Section titled “deleteIndexStruct()”deleteIndexStruct(
key):Promise<void>
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:50
string
Promise<void>
KVIndexStore.deleteIndexStruct
getIndexStruct()
Section titled “getIndexStruct()”getIndexStruct(
structId?):Promise<undefined|IndexStruct>
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:54
string
Promise<undefined | IndexStruct>
getIndexStructs()
Section titled “getIndexStructs()”getIndexStructs():
Promise<IndexStruct[]>
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:70
Promise<IndexStruct[]>
fromPersistDir()
Section titled “fromPersistDir()”
staticfromPersistDir(persistDir,options?):Promise<SimpleIndexStore>
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:85
persistDir
Section titled “persistDir”string = DEFAULT_PERSIST_DIR
日志记录器?
Section titled “logger?”Logger
Promise<SimpleIndexStore>
fromPersistPath()
Section titled “fromPersistPath()”
staticfromPersistPath(persistPath,options?):Promise<SimpleIndexStore>
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:96
persistPath
Section titled “persistPath”string
日志记录器?
Section titled “logger?”Logger
Promise<SimpleIndexStore>
persist()
Section titled “persist()”persist(
persistPath):Promise<void>
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:107
persistPath
Section titled “persistPath”string = DEFAULT_PERSIST_DIR
Promise<void>
fromDict()
Section titled “fromDict()”
staticfromDict(saveDict):SimpleIndexStore
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:111
saveDict
Section titled “saveDict”SimpleIndexStore
toDict()
Section titled “toDict()”toDict():
Record<string,unknown>
定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:116
Record<string, unknown>