Class BinaryMapper

java.lang.Object
org.rostore.mapper.BinaryMapper

public class BinaryMapper extends Object
A class to serialize and deserialize java classes to the binary stream.

It uses some properties of the rostore, e.g. the binary length of block indexes or block offset.

Depending on the parameters of the storage it can vary.

Use BlockIndex annotation to mark fields that store the block index, and BlockOffset that represents the offset within a block.