Class: KVIndexStore
Extends
Extended by
Constructors
new KVIndexStore()
new KVIndexStore(
kvStore
,namespace
?):KVIndexStore
Parameters
• kvStore: BaseKVStore
• namespace?: string
Returns
Overrides
Defined in
packages/core/storage/index-store/dist/index.d.ts:15
Methods
addIndexStruct()
addIndexStruct(
indexStruct
):Promise
<void
>
Parameters
• indexStruct: IndexStruct
Returns
Promise
<void
>
Overrides
Defined in
packages/core/storage/index-store/dist/index.d.ts:16
deleteIndexStruct()
deleteIndexStruct(
key
):Promise
<void
>
Parameters
• key: string
Returns
Promise
<void
>
Overrides
BaseIndexStore
.deleteIndexStruct
Defined in
packages/core/storage/index-store/dist/index.d.ts:17
getIndexStruct()
getIndexStruct(
structId
?):Promise
<undefined
|IndexStruct
>
Parameters
• structId?: string
Returns
Promise
<undefined
| IndexStruct
>
Overrides
Defined in
packages/core/storage/index-store/dist/index.d.ts:18
getIndexStructs()
getIndexStructs():
Promise
<IndexStruct
[]>
Returns
Promise
<IndexStruct
[]>
Overrides
BaseIndexStore
.getIndexStructs
Defined in
packages/core/storage/index-store/dist/index.d.ts:19
persist()
persist(
persistPath
?):Promise
<void
>
Parameters
• persistPath?: string
Returns
Promise
<void
>
Inherited from
Defined in
packages/core/storage/index-store/dist/index.d.ts:10