メインコンテンツまでスキップ

Class: BaseIndexStore

Constructors

constructor

new BaseIndexStore(): BaseIndexStore

Returns

BaseIndexStore

Methods

addIndexStruct

addIndexStruct(indexStruct): Promise<void>

Parameters

NameType
indexStructIndexStruct

Returns

Promise<void>

Defined in

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


deleteIndexStruct

deleteIndexStruct(key): Promise<void>

Parameters

NameType
keystring

Returns

Promise<void>

Defined in

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


getIndexStruct

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

Parameters

NameType
structId?string

Returns

Promise<undefined | IndexStruct>

Defined in

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


getIndexStructs

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