public interface BinarySerializer
Binarylizable in case if the class
cannot be changed directly.
Binary serializer can be configured for all binary objects via
BinaryConfiguration.getSerializer() method, or for a specific
binary type via BinaryTypeConfiguration.getSerializer() method.
| Modifier and Type | Method and Description |
|---|---|
void |
readBinary(Object obj,
BinaryReader reader)
Reads fields from provided reader.
|
void |
writeBinary(Object obj,
BinaryWriter writer)
Writes fields to provided writer.
|
void writeBinary(Object obj, BinaryWriter writer) throws BinaryObjectException
obj - Empty object.writer - Binary object writer.BinaryObjectException - In case of error.void readBinary(Object obj, BinaryReader reader) throws BinaryObjectException
obj - Empty objectreader - Binary object reader.BinaryObjectException - In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016