public class MatrixBlockKey extends Object implements MatrixBlockKey, Externalizable, Binarylizable
MatrixBlockEntry using for SparseBlockDistributedMatrix.| Constructor and Description |
|---|
MatrixBlockKey()
Empty constructor required for
Externalizable. |
MatrixBlockKey(long rowId,
long colId,
UUID matrixUuid,
UUID affinityKey)
Construct matrix block key.
|
| Modifier and Type | Method and Description |
|---|---|
UUID |
affinityKey() |
long |
blockColId() |
long |
blockRowId() |
UUID |
dataStructureId() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
readBinary(BinaryReader reader)
Reads fields from provided reader.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
void |
writeExternal(ObjectOutput out) |
public MatrixBlockKey()
Externalizable.public long blockRowId()
blockRowId in interface MatrixBlockKeypublic long blockColId()
blockColId in interface MatrixBlockKeypublic UUID dataStructureId()
dataStructureId in interface DataStructureCacheKeypublic UUID affinityKey()
affinityKey in interface DataStructureCacheKeypublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeBinary(BinaryWriter writer) throws BinaryObjectException
writeBinary in interface Binarylizablewriter - Binary object writer.BinaryObjectException - In case of error.public void readBinary(BinaryReader reader) throws BinaryObjectException
readBinary in interface Binarylizablereader - Binary object reader.BinaryObjectException - In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018