- Type Parameters:
K - The type of the key.
V - The type of the value.
- All Implemented Interfaces:
org.gridgain.structure.IgniteMap<K,V>
public class IgniteMapImpl<K,V>
extends Object
implements org.gridgain.structure.IgniteMap<K,V>
Internal implementation of IgniteMap based on KeyValueView.
-
Constructor Summary
Constructors
IgniteMapImpl(String tableName,
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)
-
Method Summary
void
boolean
boolean
void
long
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IgniteMapImpl
public IgniteMapImpl(String tableName,
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)
Constructor.
-
Method Details
-
putAsync
- Specified by:
putAsync in interface org.gridgain.structure.IgniteMap<K,V>
-
removeAsync
- Specified by:
removeAsync in interface org.gridgain.structure.IgniteMap<K,V>
-
putAllAsync
- Specified by:
putAllAsync in interface org.gridgain.structure.IgniteMap<K,V>
-
getAsync
- Specified by:
getAsync in interface org.gridgain.structure.IgniteMap<K,V>
-
containsKeyAsync
- Specified by:
containsKeyAsync in interface org.gridgain.structure.IgniteMap<K,V>
-
sizeAsync
- Specified by:
sizeAsync in interface org.gridgain.structure.IgniteMap<K,V>
-
clearAsync
- Specified by:
clearAsync in interface org.gridgain.structure.IgniteMap<K,V>
-
getAllAsync
- Specified by:
getAllAsync in interface org.gridgain.structure.IgniteMap<K,V>
-
isEmptyAsync
- Specified by:
isEmptyAsync in interface org.gridgain.structure.IgniteMap<K,V>
-
put
public V put(K key,
V value)
- Specified by:
put in interface org.gridgain.structure.IgniteMap<K,V>
-
putAll
public void putAll(Map<? extends K,? extends V> m)
- Specified by:
putAll in interface org.gridgain.structure.IgniteMap<K,V>
-
containsKey
public boolean containsKey(K key)
- Specified by:
containsKey in interface org.gridgain.structure.IgniteMap<K,V>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface org.gridgain.structure.IgniteMap<K,V>
-
remove
- Specified by:
remove in interface org.gridgain.structure.IgniteMap<K,V>
-
get
- Specified by:
get in interface org.gridgain.structure.IgniteMap<K,V>
-
size
public long size()
- Specified by:
size in interface org.gridgain.structure.IgniteMap<K,V>
-
getAll
public org.apache.ignite.lang.AsyncCursor<Map.Entry<K,V>> getAll()
- Specified by:
getAll in interface org.gridgain.structure.IgniteMap<K,V>
-
clear
public void clear()
- Specified by:
clear in interface org.gridgain.structure.IgniteMap<K,V>