| Constructor and Description |
|---|
LongCodec() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
decode(java.io.DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
java.lang.Long |
deepCopy(java.lang.Long source) |
void |
encode(java.lang.Long object,
java.io.DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
int |
estimatedSize(java.lang.Long object) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
boolean |
isEstimatedSizeSupported() |
public static final LongCodec INSTANCE
public void encode(java.lang.Long object,
java.io.DataOutput dataOut)
throws java.io.IOException
Codecpublic java.lang.Long decode(java.io.DataInput dataIn)
throws java.io.IOException
Codecpublic int getFixedSize()
getFixedSize in interface Codec<java.lang.Long>public java.lang.Long deepCopy(java.lang.Long source)
public boolean isDeepCopySupported()
isDeepCopySupported in interface Codec<java.lang.Long>Codec.deepCopy(Object) operations is supported.public boolean isEstimatedSizeSupported()
isEstimatedSizeSupported in interface Codec<java.lang.Long>Codec.estimatedSize(Object) operation is supported.public int estimatedSize(java.lang.Long object)
estimatedSize in interface Codec<java.lang.Long>Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.