IgniteDataTransferObject
instead. This class may be removed in Ignite 3.0.public abstract class VisorDataTransferObject extends Object implements Externalizable
Modifier and Type | Field and Description |
---|---|
protected static byte |
V1
Deprecated.
Version 1.
|
protected static byte |
V2
Deprecated.
Version 2.
|
protected static byte |
V3
Deprecated.
Version 3.
|
protected static byte |
V4
Deprecated.
Version 4.
|
Constructor and Description |
---|
VisorDataTransferObject()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte |
getProtocolVersion()
Deprecated.
|
void |
readExternal(ObjectInput in)
Deprecated.
|
protected abstract void |
readExternalData(byte protoVer,
ObjectInput in)
Deprecated.
Load object's specific data content.
|
protected static <T> @Nullable List<T> |
toList(Collection<T> col)
Deprecated.
|
protected static <T> @Nullable Set<T> |
toSet(Collection<T> col)
Deprecated.
|
void |
writeExternal(ObjectOutput out)
Deprecated.
|
protected abstract void |
writeExternalData(ObjectOutput out)
Deprecated.
Save object's specific data content.
|
protected static final byte V1
protected static final byte V2
protected static final byte V3
protected static final byte V4
@Nullable protected static <T> @Nullable List<T> toList(Collection<T> col)
T
- Collection type.col
- Source collection.@Nullable protected static <T> @Nullable Set<T> toSet(Collection<T> col)
T
- Collection type.col
- Source collection.public byte getProtocolVersion()
protected abstract void writeExternalData(ObjectOutput out) throws IOException
out
- Output object to write data content.IOException
- If I/O errors occur.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
protected abstract void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException
protoVer
- 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.public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021