- All Implemented Interfaces:
Please note that this transcoder is NOT turning the value into a JSON representation, rather it is using the java object serialization which will look to the server like an opaque binary blob. It is useful though if you want to store and retrieve arbitrary java objects and use couchbase as a cache for them.
INSTANCEpublic static SerializableTranscoder INSTANCE
encodeDescription copied from interface:
TranscoderEncodes the given input into the wire representation based on the data format.
decodepublic <T> T decode
(Class<T> target, byte input, int flags)Description copied from interface:
TranscoderDecodes the wire representation into the entity based on the data format.