public interface ValueStore
ConnectionInfo, 
MethodExecutionInfo, 
QueryExecutionInfo| Modifier and Type | Method and Description | 
|---|---|
static ValueStore | 
create()
Create default  
ValueStore. | 
Object | 
get(Object key)
Get the value associated to the key. 
 | 
<T> T | 
get(Object key,
   Class<T> type)
Get the value associated to the key and cast to the type. 
 | 
<T> T | 
getOrDefault(Object key,
            T defaultValue)
Get the value associated to the key; otherwise returns specified value. 
 | 
void | 
put(Object key,
   Object value)
Store a value associating the provided key. 
 | 
void | 
putAll(Map<Object,Object> map)
Store all key value pairs from provided map. 
 | 
Object | 
remove(Object key)
Remove the value associated to the provided key. 
 | 
static ValueStore create()
ValueStore.@Nullable Object get(Object key)
key - keynullIllegalArgumentException - if key is null@Nullable <T> T get(Object key, Class<T> type)
T - value typekey - keytype - value type to castnullIllegalArgumentException - if key is nullIllegalArgumentException - if type is null<T> T getOrDefault(Object key, T defaultValue)
T - value typekey - keydefaultValue - default valueIllegalArgumentException - if key is nullvoid put(Object key, Object value)
key - keyvalue - valueIllegalArgumentException - if key is nullIllegalArgumentException - if value is nullvoid putAll(Map<Object,Object> map)
map - mapIllegalArgumentException - if map is null@Nullable Object remove(Object key)
key - keynull if key did not existIllegalArgumentException - if key is nullCopyright © 2025. All rights reserved.