public class WhalinV1Transcoder extends BaseSerializingTranscoder implements Transcoder<java.lang.Object>
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPRESSED |
static int |
SERIALIZED |
static int |
SPECIAL_BOOLEAN |
static int |
SPECIAL_BYTE |
static int |
SPECIAL_CHARACTER |
static int |
SPECIAL_DATE |
static int |
SPECIAL_DOUBLE |
static int |
SPECIAL_FLOAT |
static int |
SPECIAL_INTEGER |
static int |
SPECIAL_LONG |
static int |
SPECIAL_SHORT |
static int |
SPECIAL_STRING |
static int |
SPECIAL_STRINGBUFFER |
static int |
SPECIAL_STRINGBUILDER |
charset, compressionThreshold, DEFAULT_COMPRESSION_THRESHOLD| Constructor and Description |
|---|
WhalinV1Transcoder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
decode(CachedData d)
Decode the cached object into the object it represents.
|
CachedData |
encode(java.lang.Object o)
Encode the given object for storage.
|
asyncDecode, compress, decodeString, decompress, deserialize, encodeString, getMaxSize, serialize, setCharset, setCompressionThresholdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasyncDecode, getMaxSizepublic static final int SPECIAL_BYTE
public static final int SPECIAL_BOOLEAN
public static final int SPECIAL_INTEGER
public static final int SPECIAL_LONG
public static final int SPECIAL_CHARACTER
public static final int SPECIAL_STRING
public static final int SPECIAL_STRINGBUFFER
public static final int SPECIAL_FLOAT
public static final int SPECIAL_SHORT
public static final int SPECIAL_DOUBLE
public static final int SPECIAL_DATE
public static final int SPECIAL_STRINGBUILDER
public static final int COMPRESSED
public static final int SERIALIZED
public CachedData encode(java.lang.Object o)
Transcoderencode in interface Transcoder<java.lang.Object>o - the objectpublic java.lang.Object decode(CachedData d)
Transcoderdecode in interface Transcoder<java.lang.Object>d - the dataCopyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.