Aller au contenu principal

Class: BaseIndexStore

Constructors

constructor

new BaseIndexStore()

Methods

addIndexStruct

Abstract addIndexStruct(indexStruct): Promise<void>

Parameters

NameType
indexStructIndexStruct

Returns

Promise<void>

Defined in

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


deleteIndexStruct

Abstract deleteIndexStruct(key): Promise<void>

Parameters

NameType
keystring

Returns

Promise<void>

Defined in

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


getIndexStruct

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

Parameters

NameType
structId?string

Returns

Promise<undefined | IndexStruct>

Defined in

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


getIndexStructs

Abstract getIndexStructs(): Promise<IndexStruct[]>

Returns

Promise<IndexStruct[]>

Defined in

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


persist

persist(persistPath?, fs?): Promise<void>

Parameters

NameTypeDefault value
persistPathstringdefaultPersistPath
fs?GenericFileSystemundefined

Returns

Promise<void>

Defined in

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