public class VectorBlockKey extends Object implements VectorBlockKey, Externalizable, Binarylizable
VectorBlockEntry using for SparseBlockDistributedVector.| Constructor and Description |
|---|
VectorBlockKey()
Empty constructor required for
Externalizable. |
VectorBlockKey(long blockId,
UUID vectorUuid,
UUID affinityKey)
Construct vector block key.
|
| Modifier and Type | Method and Description |
|---|---|
UUID |
affinityKey() |
long |
blockId() |
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 VectorBlockKey()
Externalizable.public long blockId()
blockId in interface VectorBlockKeypublic 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