public class PartitionKeyV2 extends VisorDataTransferObject
V1, V2, V3| Constructor and Description |
|---|
PartitionKeyV2()
Default constructor for Externalizable.
|
PartitionKeyV2(int grpId,
int partId,
String grpName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
groupId() |
String |
groupName() |
void |
groupName(String grpName) |
int |
hashCode() |
int |
partitionId() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic PartitionKeyV2(int grpId,
int partId,
String grpName)
grpId - Group id.partId - Partition id.grpName - Group name.public PartitionKeyV2()
public int groupId()
public int partitionId()
public String groupName()
public void groupName(String grpName)
grpName - Group name.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019