Search:

Search all manuals
Search this manual
Manual
Membase Client Library: Java
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
2 Membase Client Library: Java Method Summary
Chapter Sections
Chapters

2.3. Object Serialization (Transcoding)

All of the spymemcached methods use the default transcoder for the serialization of objects from the object type into a byte array used for storage within Membase.

You can also use a custom transcoder the serialization of objects. This can be to serialize objects in a format that is compatible with other languages or environments.

You can customize the transcoder by implementing a new Transcoder interface and then using this when storing and retrieving values. The Transcoder will be used to encode and decode objects into binary strings. All of the methods that store, retrieve or update information have a version that supports a custom transcode.