@InterfaceStability.Evolving public interface MetadataStore
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Map<java.lang.String,byte[]> | all()Returns all the entries in this metadata store. | 
| void | close()Closes the metadata store, if applicable, relinquishing all the underlying resources
 and connections. | 
| void | delete(java.lang.String key)Deletes the mapping for the specified  keyfrom this metadata store (if such mapping exists). | 
| void | flush()Flushes the metadata store, if applicable. | 
| byte[] | get(java.lang.String key)Gets the value associated with the specified  key. | 
| void | init()Initializes the metadata store, if applicable, setting up the underlying resources
 and connections to the store endpoints. | 
| void | put(java.lang.String key,
   byte[] value)Updates the mapping of the specified key-value pair. | 
| default void | putAll(java.util.Map<java.lang.String,byte[]> entries)Updates the mapping with the specified map. | 
void init()
byte[] get(java.lang.String key)
key.key - the key with which the associated value is to be fetched.key; otherwise, null.void put(java.lang.String key,
         byte[] value)
key - the key with which the specified value is to be associated.value - the value with which the specified key is to be associated.default void putAll(java.util.Map<java.lang.String,byte[]> entries)
entries - mapping of key to values to write to the metadata storevoid delete(java.lang.String key)
key from this metadata store (if such mapping exists).key - the key for which the mapping is to be deleted.java.util.Map<java.lang.String,byte[]> all()
void flush()
void close()