Show / Hide Table of Contents

Interface IKeyValueStore

An interface to access key-value store.

Namespace: Libplanet.Store.Trie
Assembly: Libplanet.dll
Syntax
public interface IKeyValueStore : IDisposable

Methods

| Improve this Doc View Source

Delete(Byte[])

Declaration
void Delete(byte[] key)
Parameters
Type Name Description
Byte[] key
| Improve this Doc View Source

Exists(Byte[])

Declaration
bool Exists(byte[] key)
Parameters
Type Name Description
Byte[] key
Returns
Type Description
Boolean
| Improve this Doc View Source

Get(Byte[])

Declaration
byte[] Get(byte[] key)
Parameters
Type Name Description
Byte[] key
Returns
Type Description
Byte[]
| Improve this Doc View Source

ListKeys()

Lists all keys that have been stored in the storage.

Declaration
IEnumerable<byte[]> ListKeys()
Returns
Type Description
IEnumerable<Byte[]>

All keys in an arbitrary order. The order might be vary for each call.

| Improve this Doc View Source

Set(Byte[], Byte[])

Declaration
void Set(byte[] key, byte[] value)
Parameters
Type Name Description
Byte[] key
Byte[] value
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium