Next: DSR Persistent Objects and Slot Access, Previous: DSR Store Controllers, Up: Data Store API Reference
Data stores must initialize Class elephant:store-controller with
internal serializer functions. Packages elephant-serializer1
and elephant-serializer2
contains serialize and deserialize
methods on buffer-streams as defined in elephant-memutil
. The
elephant functions serialize
and deserialize
dispatch on
the appropriate slot values of the store-controller.
NOTE: This should perhaps become entirely the job of the data store to decide how to serialize values and for a specific version, what serializer to use. The elphant main package can define serializers for use by different data stores.
Generic interface to serialization that dispatches based on the current Elephant version
Generic interface to serialization that dispatches based on the current Elephant version
These utility functions are useful if a data store does not have the
ability to store variable length binary data. They are based on the
cl-base64
library.