public class SwapKey extends Object
This class also holds information about partition this key belongs to (if needed for caches).
Constructor and Description |
---|
SwapKey(Object key) |
SwapKey(Object key,
int part) |
SwapKey(Object key,
int part,
byte[] keyBytes) |
public SwapKey(Object key)
key
- Key.public SwapKey(Object key, int part)
key
- Key.part
- Partition.public SwapKey(Object 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
Apache Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015