Skip to main content

Class: abstract BaseIndexStore

Constructors

new BaseIndexStore()

new BaseIndexStore(): BaseIndexStore

Returns

BaseIndexStore

Methods

addIndexStruct()

abstract addIndexStruct(indexStruct): Promise<void>

Parameters

indexStruct: IndexStruct

Returns

Promise<void>

Defined in

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


deleteIndexStruct()

abstract deleteIndexStruct(key): Promise<void>

Parameters

key: string

Returns

Promise<void>

Defined in

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


getIndexStruct()

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

Parameters

structId?: string

Returns

Promise<undefined | IndexStruct>

Defined in

packages/llamaindex/src/storage/indexStore/types.ts:20


getIndexStructs()

abstract getIndexStructs(): Promise<IndexStruct[]>

Returns

Promise<IndexStruct[]>

Defined in

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


persist()

persist(persistPath): Promise<void>

Parameters

persistPath: string = defaultPersistPath

Returns

Promise<void>

Defined in

packages/llamaindex/src/storage/indexStore/types.ts:22