Package be.bagofwords.db.methods
Class LongObjectSerializer
- java.lang.Object
-
- be.bagofwords.db.methods.LongObjectSerializer
-
- All Implemented Interfaces:
ObjectSerializer<Long>,Serializable
public class LongObjectSerializer extends Object implements ObjectSerializer<Long>
Created by koen on 23/05/17.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LongObjectSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetObjectSize()LongreadValue(DataStream ds, int size)voidwriteValue(Long obj, DataStream ds)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface be.bagofwords.db.methods.ObjectSerializer
createExecConfig
-
-
-
-
Method Detail
-
writeValue
public void writeValue(Long obj, DataStream ds)
- Specified by:
writeValuein interfaceObjectSerializer<Long>
-
readValue
public Long readValue(DataStream ds, int size)
- Specified by:
readValuein interfaceObjectSerializer<Long>
-
getObjectSize
public int getObjectSize()
- Specified by:
getObjectSizein interfaceObjectSerializer<Long>
-
-