Ana içeriğe geç

Class: abstract BaseIndexStore

Constructors

new BaseIndexStore()

new BaseIndexStore(): BaseIndexStore

Returns

BaseIndexStore

Methods

addIndexStruct()

abstract addIndexStruct(indexStruct): Promise<void>

Parameters

indexStruct: IndexStruct

Returns

Promise<void>

Source

packages/core/src/storage/indexStore/types.ts:12


deleteIndexStruct()

abstract deleteIndexStruct(key): Promise<void>

Parameters

key: string

Returns

Promise<void>

Source

packages/core/src/storage/indexStore/types.ts:14


getIndexStruct()

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

Parameters

structId?: string

Returns

Promise<undefined | IndexStruct>

Source

packages/core/src/storage/indexStore/types.ts:16


getIndexStructs()

abstract getIndexStructs(): Promise <IndexStruct[]>

Returns

Promise <IndexStruct[]>

Source

packages/core/src/storage/indexStore/types.ts:10


persist()

persist(persistPath): Promise<void>

Parameters

persistPath: string= defaultPersistPath

Returns

Promise<void>

Source

packages/core/src/storage/indexStore/types.ts:18