-
- All Implemented Interfaces:
public interface SubstrateStorage
-
-
Method Summary
Modifier and Type Method Description abstract Flow<FindStorageItemResult>find(String moduleName, String itemName)abstract <T extends Any> Flow<T>fetch(String moduleName, String itemName, KClass<T> type)abstract <T extends Any> Flow<T>fetch(String moduleName, String itemName, ByteArrayConvertible key, KClass<T> type)abstract <T extends Any> Flow<T>fetch(String moduleName, String itemName, List<ByteArrayConvertible> keys, KClass<T> type)abstract <T extends Any> Tfetch(RuntimeModuleStorageItem item, RuntimeModuleStorage storage, KClass<T> type)abstract <T extends Any> Tfetch(RuntimeModuleStorageItem item, ByteArrayConvertible key, RuntimeModuleStorage storage, KClass<T> type)abstract <T extends Any> Tfetch(RuntimeModuleStorageItem item, List<ByteArrayConvertible> keys, RuntimeModuleStorage storage, KClass<T> type)-
-
Method Detail
-
find
abstract Flow<FindStorageItemResult> find(String moduleName, String itemName)
-
fetch
abstract <T extends Any> Flow<T> fetch(String moduleName, String itemName, ByteArrayConvertible key, KClass<T> type)
-
fetch
abstract <T extends Any> Flow<T> fetch(String moduleName, String itemName, List<ByteArrayConvertible> keys, KClass<T> type)
-
fetch
abstract <T extends Any> T fetch(RuntimeModuleStorageItem item, RuntimeModuleStorage storage, KClass<T> type)
-
fetch
abstract <T extends Any> T fetch(RuntimeModuleStorageItem item, ByteArrayConvertible key, RuntimeModuleStorage storage, KClass<T> type)
-
fetch
abstract <T extends Any> T fetch(RuntimeModuleStorageItem item, List<ByteArrayConvertible> keys, RuntimeModuleStorage storage, KClass<T> type)
-
-
-
-