public class KeyValue extends Struct
KeyValue structure. Since most of the keys and resultant values in Subtrate is hashed and/or encoded, this does not wrap Text
, but rather a Bytes
for the keys and values. (Not to be confused with the KeyValue in Metadata, that is actually for Maps, whereas this is a representation of actaul storage values)
Modifier and Type | Class and Description |
---|---|
static class |
KeyValue.KeyValueOption
A key/value change.
|
Constructor and Description |
---|
KeyValue(java.lang.Object value) |
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
finalize, getClass, notify, notifyAll, wait, wait, wait
getConstructorCodec, toU8a