public class SerializerJava extends GroupSerializerObjectArray
BIG_DECIMAL, BIG_INTEGER, BOOLEAN, BYTE, BYTE_ARRAY, BYTE_ARRAY_DELTA, BYTE_ARRAY_DELTA2, BYTE_ARRAY_NOSIZE, CHAR, CHAR_ARRAY, CLASS, DATE, DOUBLE, DOUBLE_ARRAY, ELSA, FLOAT, FLOAT_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, INTEGER_DELTA, INTEGER_PACKED, JAVA, LONG, LONG_ARRAY, LONG_DELTA, LONG_PACKED, RECID, RECID_ARRAY, SHORT, SHORT_ARRAY, STRING, STRING_ASCII, STRING_DELTA, STRING_DELTA2, STRING_INTERN, STRING_NOSIZE, STRING_ORIGHASH, UUID
Constructor and Description |
---|
SerializerJava() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(DataInput2 in,
int available)
Deserializes and returns the content of the given
DataInput2 . |
void |
serialize(DataOutput2 out,
java.lang.Object value)
Serializes the content of the given value into the given
DataOutput2 . |
java.lang.Object[] |
valueArrayDeserialize(DataInput2 in,
int size) |
void |
valueArraySerialize(DataOutput2 out,
java.lang.Object vals) |
valueArrayCopyOfRange, valueArrayDeleteValue, valueArrayEmpty, valueArrayFromArray, valueArrayGet, valueArrayPut, valueArraySearch, valueArraySearch, valueArraySize, valueArrayToArray, valueArrayUpdateVal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nextValue, valueArrayBinaryGet, valueArrayBinarySearch
clone, compare, deserializeFromLong, equals, fixedSize, hashCode, isTrusted, needsAvailableSizeHint
public void serialize(DataOutput2 out, java.lang.Object value) throws java.io.IOException
Serializer
DataOutput2
.out
- DataOutput2 to save object intovalue
- Object to serializejava.io.IOException
- in case of an I/O errorpublic java.lang.Object deserialize(DataInput2 in, int available) throws java.io.IOException
Serializer
DataInput2
.in
- DataInput2 to de-serialize data fromavailable
- how many bytes that are available in the DataInput2 for
reading, may be -1 (in streams) or 0 (null).DataInput2
java.io.IOException
- in case of an I/O errorpublic java.lang.Object[] valueArrayDeserialize(DataInput2 in, int size) throws java.io.IOException
valueArrayDeserialize
in interface GroupSerializer
valueArrayDeserialize
in class GroupSerializerObjectArray
java.io.IOException
public void valueArraySerialize(DataOutput2 out, java.lang.Object vals) throws java.io.IOException
valueArraySerialize
in interface GroupSerializer
valueArraySerialize
in class GroupSerializerObjectArray
java.io.IOException
Copyright © 2018. All Rights Reserved.