Class: SimpleIndexStore
Hierarchy
-
KVIndexStore
↳
SimpleIndexStore
Constructors
constructor
• new SimpleIndexStore(kvStore?
): SimpleIndexStore
Parameters
Name | Type |
---|---|
kvStore? | BaseInMemoryKVStore |
Returns
Overrides
KVIndexStore.constructor
Defined in
packages/core/src/storage/indexStore/SimpleIndexStore.ts:14
Properties
kvStore
• Private
kvStore: BaseInMemoryKVStore
Defined in
packages/core/src/storage/indexStore/SimpleIndexStore.ts:12
Methods
addIndexStruct
▸ addIndexStruct(indexStruct
): Promise
<void
>
Parameters
Name | Type |
---|---|
indexStruct | IndexStruct |
Returns
Promise
<void
>
Inherited from
KVIndexStore.addIndexStruct
Defined in
packages/core/src/storage/indexStore/KVIndexStore.ts:17
deleteIndexStruct
▸ deleteIndexStruct(key
): Promise
<void
>
Parameters
Name | Type |
---|---|
key | string |
Returns
Promise
<void
>