This package contains the interfaces and classes for interact with data objects using the ObjectMap API and plug-ins when they are in their serialized form.

Overview

When a DataSerializer is used with a BackingMap, the data is stored in it's serialized form and exposed to all plug-ins and APIs in this form whenever possible. Plug-ins, such as a Loader, that interact with LogElements will always receive objects that allow access to either the serialized form of the data or the native form of the data.

For keys, the object is a {@link com.ibm.websphere.objectgrid.plugins.io.dataobject.SerializedKey}, and for values, it's a {@link com.ibm.websphere.objectgrid.plugins.io.dataobject.SerializedValue}.

The ObjectMap API may also receive SerializedKey objects when using APIs that return keys such as an Index. SerializedValue object will be returned when using the CopyMode.COPY_TO_BYTES_RAW copy mode.

The DataSerializer can be used directly by applications that wish to access individual attributes of the serialized form of the entry directly. Use the {@link com.ibm.websphere.objectgrid.plugins.io.SerializerAccessor} interface to retrieve access to the DataSerializer and the default DataObjectContext.