Skip to main content

Class: abstract BaseIndexStore

Extended by

Constructors

new BaseIndexStore()

new BaseIndexStore(): BaseIndexStore

Returns

BaseIndexStore

Methods

addIndexStruct()

abstract addIndexStruct(indexStruct): Promise<void>

Parameters

indexStruct: IndexStruct

Returns

Promise<void>

Defined in

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


deleteIndexStruct()

abstract deleteIndexStruct(key): Promise<void>

Parameters

key: string

Returns

Promise<void>

Defined in

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


getIndexStruct()

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

Parameters

structId?: string

Returns

Promise<undefined | IndexStruct>

Defined in

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


getIndexStructs()

abstract getIndexStructs(): Promise<IndexStruct[]>

Returns

Promise<IndexStruct[]>

Defined in

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


persist()

persist(persistPath?): Promise<void>

Parameters

persistPath?: string

Returns

Promise<void>

Defined in

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