public class SmartSmallLongListSerializer extends AbstractSmartSerializer<java.util.List<java.lang.Long>>
| Constructor and Description |
|---|
SmartSmallLongListSerializer() |
SmartSmallLongListSerializer(long offset) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Long> |
read(java.io.DataInput in) |
java.util.List<java.lang.Long> |
readDataOnly(int length,
java.io.DataInput in)
Only read the data of a list, the length of the list is given as an input parameter.
|
void |
write(java.util.List<java.lang.Long> data,
java.io.DataOutput out) |
size, sizeOf, skipparseFromString, print, printToStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseFromString, print, printToStringpublic SmartSmallLongListSerializer()
public SmartSmallLongListSerializer(long offset)
public void write(@Nonnull
java.util.List<java.lang.Long> data,
java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionpublic java.util.List<java.lang.Long> readDataOnly(int length,
java.io.DataInput in)
throws java.io.IOException
length - the length of the array to read.in - the input data.java.io.IOException - if unable to write to outpublic java.util.List<java.lang.Long> read(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionCopyright © 2018. All Rights Reserved.