Class IgniteMapImpl<K,V>
java.lang.Object
org.gridgain.internal.structure.map.IgniteMapImpl<K,V>
- Type Parameters:
K- The type of the key.V- The type of the value.
- All Implemented Interfaces:
org.gridgain.structure.IgniteMap<K,V>
Internal implementation of
IgniteMap based on KeyValueView.-
Constructor Summary
ConstructorsConstructorDescriptionIgniteMapImpl(String tableName, String mapName, org.apache.ignite.table.KeyValueView<?, ?> kvView, org.apache.ignite.sql.IgniteSql sql, org.apache.ignite.marshalling.Marshaller<K, ?> km, org.apache.ignite.marshalling.Marshaller<V, ?> vm, MapDestroyer destroyer) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(K key) containsKeyAsync(K key) voiddestroy()getAll()CompletableFuture<org.apache.ignite.lang.AsyncCursor<Map.Entry<K,V>>> CompletableFuture<@Nullable V>getAndPutAsync(K key, V value) getAndRemove(K key) CompletableFuture<@Nullable V>getAndRemoveAsync(K key) booleanisEmpty()voidvoidputAllAsync(Map<? extends K, ? extends V> m) booleanvoidremoveAll(Collection<K> keys) removeAllAsync(Collection<K> keys) removeAsync(K key) longsize()
-
Constructor Details
-
IgniteMapImpl
public IgniteMapImpl(String tableName, String mapName, org.apache.ignite.table.KeyValueView<?, ?> kvView, org.apache.ignite.sql.IgniteSql sql, org.apache.ignite.marshalling.Marshaller<K, ?> km, org.apache.ignite.marshalling.Marshaller<V, ?> vm, MapDestroyer destroyer) Constructor.
-
-
Method Details
-
putAsync
-
getAndPutAsync
-
removeAsync
-
getAndRemoveAsync
-
removeAllAsync
-
putAllAsync
-
getAsync
-
containsKeyAsync
-
sizeAsync
-
clearAsync
-
getAllAsync
-
isEmptyAsync
-
put
-
getAndPut
-
putAll
-
containsKey
-
isEmpty
public boolean isEmpty() -
remove
-
getAndRemove
-
removeAll
-
get
-
size
public long size() -
getAll
-
clear
public void clear() -
destroyAsync
-
destroy
public void destroy()
-