V delete(K key)
KeyValueStore Contract — Key-Value State Stores with Range Queries
KeyValueStore
(KeyValueStore<K, V>
) is the extension of the StateStore contract for key-value state stores that allow for inserting, updating and deleting key-value pairs.
KeyValueStore
is also a ReadOnlyKeyValueStore that allows for range queries.
Method | Description |
---|---|
|
Deletes the value for the non- The key must not be |
|
Inserts or updates the value associated with the key |
|
|
|
|
KeyValueStore | Description |
---|---|
InMemoryTimestampedKeyValueStoreMarker |
|
Segment |
|
TimestampedKeyValueStore |