Ga naar hoofdinhoud

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:13


deleteIndexStruct()

abstract deleteIndexStruct(key): Promise<void>

Parameters

key: string

Returns

Promise<void>

Source

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


getIndexStruct()

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

Parameters

structId?: string

Returns

Promise<undefined | IndexStruct>

Source

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


getIndexStructs()

abstract getIndexStructs(): Promise <IndexStruct[]>

Returns

Promise <IndexStruct[]>

Source

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


persist()

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

Parameters

persistPath: string= defaultPersistPath

fs?: GenericFileSystem

Returns

Promise<void>

Source

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