public class SerializerRecidArray extends SerializerLongArray
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 |
---|
SerializerRecidArray() |
Modifier and Type | Method and Description |
---|---|
long[] |
deserialize(DataInput2 in,
int available)
Deserializes and returns the content of the given
DataInput2 . |
void |
serialize(DataOutput2 out,
long[] value)
Serializes the content of the given value into the given
DataOutput2 . |
compare, equals, hashCode, isTrusted, nextValue
valueArrayCopyOfRange, valueArrayDeleteValue, valueArrayDeserialize, valueArrayEmpty, valueArrayFromArray, valueArrayGet, valueArrayPut, valueArraySearch, valueArraySearch, valueArraySerialize, valueArraySize, valueArrayToArray, valueArrayUpdateVal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
valueArrayBinaryGet, valueArrayBinarySearch
clone, deserializeFromLong, fixedSize, needsAvailableSizeHint
public void serialize(DataOutput2 out, long[] value) throws java.io.IOException
Serializer
DataOutput2
.serialize
in interface Serializer<long[]>
serialize
in class SerializerLongArray
out
- DataOutput2 to save object intovalue
- Object to serializejava.io.IOException
- in case of an I/O errorpublic long[] deserialize(DataInput2 in, int available) throws java.io.IOException
Serializer
DataInput2
.deserialize
in interface Serializer<long[]>
deserialize
in class SerializerLongArray
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 errorCopyright © 2018. All Rights Reserved.