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