public class SwapKey extends Object
This class also holds information about partition this key belongs to (if needed for caches).
| Constructor and Description |
|---|
SwapKey(org.apache.ignite.internal.processors.cache.KeyCacheObject key,
int part,
byte[] keyBytes) |
SwapKey(Object key) |
SwapKey(Object key,
int part) |
public SwapKey(Object key)
key - Key.public SwapKey(Object key, int part)
key - Key.part - Partition.public SwapKey(org.apache.ignite.internal.processors.cache.KeyCacheObject key,
int part,
@Nullable
byte[] keyBytes)
key - Key.part - Part.keyBytes - Key bytes.public Object key()
public int partition()
@Nullable public byte[] keyBytes()
public void keyBytes(byte[] keyBytes)
keyBytes - Serialized key.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016