Skip to main content

Class: KVIndexStore

Extends

Extended by

Constructors

new KVIndexStore()

new KVIndexStore(kvStore, namespace?): KVIndexStore

Parameters

kvStore: BaseKVStore

namespace?: string

Returns

KVIndexStore

Overrides

BaseIndexStore.constructor

Defined in

packages/core/storage/index-store/dist/index.d.ts:15

Methods

addIndexStruct()

addIndexStruct(indexStruct): Promise<void>

Parameters

indexStruct: IndexStruct

Returns

Promise<void>

Overrides

BaseIndexStore.addIndexStruct

Defined in

packages/core/storage/index-store/dist/index.d.ts:16


deleteIndexStruct()

deleteIndexStruct(key): Promise<void>

Parameters

key: string

Returns

Promise<void>

Overrides

BaseIndexStore.deleteIndexStruct

Defined in

packages/core/storage/index-store/dist/index.d.ts:17


getIndexStruct()

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

Parameters

structId?: string

Returns

Promise<undefined | IndexStruct>

Overrides

BaseIndexStore.getIndexStruct

Defined in

packages/core/storage/index-store/dist/index.d.ts:18


getIndexStructs()

getIndexStructs(): Promise<IndexStruct[]>

Returns

Promise<IndexStruct[]>

Overrides

BaseIndexStore.getIndexStructs

Defined in

packages/core/storage/index-store/dist/index.d.ts:19


persist()

persist(persistPath?): Promise<void>

Parameters

persistPath?: string

Returns

Promise<void>

Inherited from

BaseIndexStore.persist

Defined in

packages/core/storage/index-store/dist/index.d.ts:10