Class: abstract
BaseIndexStore
Constructors
new BaseIndexStore()
new BaseIndexStore():
BaseIndexStore
Returns
Methods
addIndexStruct()
abstract
addIndexStruct(indexStruct
):Promise
<void
>
Parameters
• indexStruct: IndexStruct
Returns
Promise
<void
>
Defined in
packages/llamaindex/src/storage/indexStore/types.ts:12
deleteIndexStruct()
abstract
deleteIndexStruct(key
):Promise
<void
>
Parameters
• key: string
Returns
Promise
<void
>
Defined in
packages/llamaindex/src/storage/indexStore/types.ts:14
getIndexStruct()
abstract
getIndexStruct(structId
?):Promise
<undefined
|IndexStruct
>
Parameters
• structId?: string
Returns
Promise
<undefined
| IndexStruct
>
Defined in
packages/llamaindex/src/storage/indexStore/types.ts:16
getIndexStructs()
abstract
getIndexStructs():Promise
<IndexStruct
[]>
Returns
Promise
<IndexStruct
[]>
Defined in
packages/llamaindex/src/storage/indexStore/types.ts:10
persist()
persist(
persistPath
):Promise
<void
>
Parameters
• persistPath: string
= defaultPersistPath
Returns
Promise
<void
>