跳转到内容

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

BaseInMemoryKVStore

SimpleIndexStore

KVIndexStore.constructor

addIndexStruct(indexStruct): Promise<void>

定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:44

IndexStruct

Promise<void>

KVIndexStore.addIndexStruct


deleteIndexStruct(key): Promise<void>

定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:50

string

Promise<void>

KVIndexStore.deleteIndexStruct


getIndexStruct(structId?): Promise<undefined | IndexStruct>

定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:54

string

Promise<undefined | IndexStruct>

KVIndexStore.getIndexStruct


getIndexStructs(): Promise<IndexStruct[]>

定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:70

Promise<IndexStruct[]>

KVIndexStore.getIndexStructs


static fromPersistDir(persistDir, options?): Promise<SimpleIndexStore>

定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:85

string = DEFAULT_PERSIST_DIR

Logger

Promise<SimpleIndexStore>


static fromPersistPath(persistPath, options?): Promise<SimpleIndexStore>

定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:96

string

Logger

Promise<SimpleIndexStore>


persist(persistPath): Promise<void>

定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:107

string = DEFAULT_PERSIST_DIR

Promise<void>

KVIndexStore.persist


static fromDict(saveDict): SimpleIndexStore

定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:111

DataType

SimpleIndexStore


toDict(): Record<string, unknown>

定义于:.build/typescript/packages/core/src/storage/index-store/index.ts:116

Record<string, unknown>