K - the type of the key in this tableV - the type of the value in this table@InterfaceStability.Unstable public interface ReadWriteTable<K,V> extends ReadWriteUpdateTable<K,V,java.lang.Void>
| Modifier and Type | Method and Description | 
|---|---|
| void | delete(K key,
      java.lang.Object... args)Deletes the mapping for the specified  keyfrom this table (if such mapping exists). | 
| void | deleteAll(java.util.List<K> keys,
         java.lang.Object... args)Deletes the mappings for the specified  keysfrom this table. | 
| V | get(K key,
   java.lang.Object... args)Gets the value associated with the specified  key. | 
| java.util.Map<K,V> | getAll(java.util.List<K> keys,
      java.lang.Object... args)Gets the values with which the specified  keysare associated. | 
| void | put(K key,
   V value,
   java.lang.Object... args)Updates the mapping of the specified key-value pair;
 Associates the specified  keywith the specifiedvalue. | 
| void | putAll(java.util.List<Entry<K,V>> entries,
      java.lang.Object... args)Updates the mappings of the specified key-value  entries. | 
| default <T> T | read(int opId,
    java.lang.Object... args)Executes a read operation. | 
| default void | update(K key,
      java.lang.Void update)Updates the record associated with a given  keywith the specifiedupdate. | 
| default void | updateAll(java.util.List<Entry<K,java.lang.Void>> updates)Updates the mappings of the given keys with the corresponding updates. | 
| default <T> T | write(int opId,
     java.lang.Object... args)Executes a write operation. | 
close, deleteAllAsync, deleteAsync, flush, getAllAsync, getAsync, init, putAllAsync, putAsync, readAsync, updateAllAsync, updateAsync, writeAsyncV get(K key, java.lang.Object... args)
key.get in interface ReadWriteUpdateTable<K,V,java.lang.Void>key - the key with which the associated value is to be fetched.args - additional argumentskey; otherwise, null.java.lang.NullPointerException - if the specified key is null.java.util.Map<K,V> getAll(java.util.List<K> keys, java.lang.Object... args)
keys are associated.getAll in interface ReadWriteUpdateTable<K,V,java.lang.Void>keys - the keys with which the associated values are to be fetched.args - additional argumentsjava.lang.NullPointerException - if the specified keys list, or any of the keys, is null.default <T> T read(int opId,
                   java.lang.Object... args)
read in interface ReadWriteUpdateTable<K,V,java.lang.Void>T - return typeopId - operation identifierargs - additional argumentsdefault void update(K key, java.lang.Void update)
key with the specified update.update in interface ReadWriteUpdateTable<K,V,java.lang.Void>key - the key with which the specified value is to be associated.update - the update to be applied to the record specified by key.java.lang.NullPointerException - if the specified key is null.default void updateAll(java.util.List<Entry<K,java.lang.Void>> updates)
updateAll in interface ReadWriteUpdateTable<K,V,java.lang.Void>updates - the updates for the given keysjava.lang.NullPointerException - if any of the specified entries has null as key.void put(K key, V value, java.lang.Object... args)
key with the specified value.
 The key is deleted from the table if value is null.put in interface ReadWriteUpdateTable<K,V,java.lang.Void>key - the key with which the specified value is to be associated.value - the value with which the specified key is to be associated.args - additional argumentsjava.lang.NullPointerException - if the specified key is null.void putAll(java.util.List<Entry<K,V>> entries, java.lang.Object... args)
entries.
 A key is deleted from the table if its corresponding value is null.putAll in interface ReadWriteUpdateTable<K,V,java.lang.Void>entries - the updated mappings to put into this table.args - additional argumentsjava.lang.NullPointerException - if any of the specified entries has null as key.void delete(K key, java.lang.Object... args)
key from this table (if such mapping exists).delete in interface ReadWriteUpdateTable<K,V,java.lang.Void>key - the key for which the mapping is to be deleted.args - additional argumentsjava.lang.NullPointerException - if the specified key is null.void deleteAll(java.util.List<K> keys, java.lang.Object... args)
keys from this table.deleteAll in interface ReadWriteUpdateTable<K,V,java.lang.Void>keys - the keys for which the mappings are to be deleted.args - additional argumentsjava.lang.NullPointerException - if the specified keys list, or any of the keys, is null.default <T> T write(int opId,
                    java.lang.Object... args)
write in interface ReadWriteUpdateTable<K,V,java.lang.Void>T - return typeopId - operation identifierargs - additional arguments